Greetings,
I am working on a Yocto project that builds a chrome browser without the use of 
an X11 window system. This work led me to the Crosswalk project.

Before moving meta-crosswalk into my custom Yocto project layer, I wanted to 
build Crosswalk with only the essential layers of Yocto. I cloned the fido 
branch of Yocto, added the meta-crosswalk layer, modified the bblayers.conf 
file to include crosswalk and attempted to bitbake crosswalk with the default 
qemux86 machine type.
I ran into a do_compiler error message, saying:
FAILED: g++ -MMD -MF obj.host/v8/src/base/v8_libbase.cpu.o.d .....
In file included from ../../v8/src/base/macros.h:11:0,
                from ../../v8/src/base/cpu.h:16,
                 from ../../v8/src/base/cpu.cc:5:
/usr/include/c++/4.8/cstring:41:28: fatal error: bits/c++config.h: No such file 
or directory

The error occurred because crosswalk is attempting to compile using my host 
build machine's file system : '/usr/include'. Crosswalk should compile using my 
native build project's sysroots directory like this : 
'/build/tmp/sysroots/qemux86/usr/include/c++/4.9.2/i586-poky-linux/bits/.'
In the crosswalk bitbake recipe, I modified the empty '-Dsysroot='' \ '  
configuration statement to ' -Dsysroot=${PKG_CONFIG_SYSROOT_DIR} \'. This 
however did not resolve the problem.
https://github.com/crosswalk-project/meta-crosswalk/blob/master/recipes-crosswalk/crosswalk/crosswalk_12.40.295.0.bb#L388

Attached to this email are the run & log files from crosswalk's configure & 
compile tasks.
Do you have any suggestions on how to modify the crosswalk recipe to compile 
from my project's native cross-compiler toolchain and not from my host 
machine's file system?
And lastly, just to verify, I have tried an older Yocto build with the 'dizzy' 
branch. I believe this version of Yocto is to date with when meta-crosswalk was 
last modified. The same error message was present.

Any input or feedback would be greatly appreciated.
Thanks for the help,
-Eric Zaluzec

Attachment: log.do_compile.2301
Description: log.do_compile.2301

Attachment: run.do_compile.2301
Description: run.do_compile.2301

Attachment: run.do_configure.30552
Description: run.do_configure.30552

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to