Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2012 15:53:01 -0659
From:      David Thiel <lx@freebsd.org>
To:        chromium@freebsd.org
Subject:   chromium clang build broken
Message-ID:  <20120713225237.GD32619@redundancy.redundancy.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120713225237.GD32619>