Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2012 12:18:43 +0300
From:      George Liaskos <geo.liaskos@gmail.com>
To:        David Thiel <lx@freebsd.org>
Cc:        chromium@freebsd.org
Subject:   Re: chromium clang build broken
Message-ID:  <CANcjpOBxnqQ-FXLKWO5FV5vvQ_8L5YZerh6p8kx62_RTQKV3aA@mail.gmail.com>
In-Reply-To: <20120713225237.GD32619@redundancy.redundancy.org>
References:  <20120713225237.GD32619@redundancy.redundancy.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 14, 2012 at 1:52 AM, David Thiel <lx@freebsd.org> wrote:
> Hi team,
>
> Currently the build is broken with clang, with the following types of err=
or:
>
> CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/proto=
buf/src/google/protobuf/stubs/structurally_valid.o
>   CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/pro=
tobuf/src/google/protobuf/descriptor.o
> error: error: error: error: unable unableto  loadto unable  loadplugin to=
plugin
>        load
> '/usr/ports/www/chromium/work/chromium-courgette-redacted-20.0.1132.57/to=
ols/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFi=
ndBadConstructs.so': plugin      unable'/usr/ports/www/chromium/work/chromi=
um-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_plugi=
ns set
> to 0. This should have no side effects, as it's intended for use during c=
ode
> development.
>
> I can commit this myself if you like, whatever works.
>
> Thanks,
> David

No need to patch common.gypi, just set the variable in gyp_defines.
http://www.freebsd.org/cgi/query-pr.cgi?pr=3D169816

Someone should commit this and close the PR, rene@ is off for holidays.



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