chromium clang build broken

David Thiel lx at freebsd.org
Fri Jul 13 22:56:50 UTC 2012


Hi team,

Currently the build is broken with clang, with the following types of error:

CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.o
  CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor.o
error: error: error: error: unable unableto  loadto unable  loadplugin toplugin
       load
'/usr/ports/www/chromium/work/chromium-courgette-redacted-20.0.1132.57/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so': plugin      unable'/usr/ports/www/chromium/work/chromium-courgette-redacted-20.0.1132.57/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so':


The solution is to patch build/common.gypi to have clang_use_chrome_plugins set
to 0. This should have no side effects, as it's intended for use during code
development.

I can commit this myself if you like, whatever works.

Thanks,
David


More information about the freebsd-chromium mailing list