I am having problems building the current WebEngine. Initially, it builds some tools. It seems that it does so by using the cross compiler, and not the host one, which could explain the problem I experience:

Once GN is built:

[321/330] CC base/third_party/superfasthash/superfasthash.o
[322/330] CC base/third_party/dynamic_annotations/dynamic_annotations.o
[323/330] AR dynamic_annotations.a
[324/330] CXX tools/gn/command_clean.o
[325/330] CXX tools/gn/loader.o
[326/330] CXX tools/gn/gn_main.o
[327/330] CXX tools/gn/bundle_data_target_generator.o
[328/330] CXX tools/gn/desc_builder.o
[329/330] AR gn_lib.a
[330/330] LINK gn
Building gn manually in a temporary directory for bootstrapping...
Building gn using itself to out/Release...


I get this error:

OSError: [Errno 8] Exec format error
Project ERROR: GN build error!


Running "file" on build/src/3rdparty/chromium/tools/gn/out/Release/gn indeed shows that this was built with the wrong compiler:

build/src/3rdparty/chromium/tools/gn/out/Release/gn: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked


So, anybody experienced the same problem?

--
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to