On 06/01/2017 03:16 PM, Samuli Piippo wrote: > On 01.06.2017 15:57, Daniel Mack wrote: >> On 06/01/2017 02:35 PM, Samuli Piippo wrote: >>> Parts of the chromium is built for the host and requires gcc-multilib to >>> be installed when building on a x64 host. I should have noted that in >>> commit message. >>> >>> My /usr/bin/cc is a symlink to gcc >> >> Hmm, same here, but that's not the case when when bitbake is executing >> it, as it modifies the PATH. >> > > OK found it. I didn't have new enough poky, so the HOSTTOOL filtering > was not used. > > We need to find proper place to add HOSTTOOLS += "cc c++" to whitelist > the needed tools for webengine.
I think I found a different solution. The PATH bitbake provides during compilation contains the hosttools directory which does not contain cc but gcc. > +--- a/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py > ++++ b/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py > +@@ -298,14 +298,14 @@ def write_gn_ninja(path, root_gen_dir, options): > + ld = os.environ.get('LD', 'link.exe') > + ar = os.environ.get('AR', 'lib.exe') > + else: > +- cc = os.environ.get('CC', 'cc') > +- cxx = os.environ.get('CXX', 'c++') > ++ cc = os.environ.get('CC_host', 'cc') > ++ cxx = os.environ.get('CXX_host', 'c++') Setting this to 'gcc' and 'g++' seems to work for me. The build is still running, but it's past the point where it failed previously (compiling gn). Thanks for your patch :) Daniel -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel