[oe] [meta-qt5] qtwebengine in master fails to build

Schrempf Frieder frieder.schrempf at exceet.de
Wed Aug 12 11:04:52 UTC 2015


I have the same problem on a current fido build.
Can anyone with some knowledge about this have a look?
Ridiculously it works on a clean build for me and the error only occurs while rebuilding.


Carlos Rafael Giani, on Mon Jan 26 08:13:45 UTC 2015:
> Hello,
>
> I tried to build qtwebengine, but there is a linker error:
>
> [6/6694] LINK genmacro
> FAILED:
> /home/dv/misc/yocto-fsl-setup-0002/poky/build/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++
> -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9
> --sysroot=/home/dv/misc/yocto-fsl-setup-0002/poky/build/tmp/sysroots/cubox-i
> -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro
> -Wl,--fatal-warnings -pthread -Wl,-z,noexecstack -fPIC
> -Wl,--disable-new-dtags -Wl,--gc-sections -o genmacro -Wl,--start-group
> obj.host/src/3rdparty/chromium/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.genmacro.o
> -Wl,--end-group
> obj.host/src/3rdparty/chromium/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.genmacro.o:
> file not recognized: File format not recognized
> collect2: error: ld returned 1 exit status
>
> Looking at the ninja
> fileqtwebengine-opensource-src-5.4.0/src/core/Release/obj.host/src/3rdparty/chromium/third_party/yasm/genmacro.ninja
> , apparently this part is causing problems:
>
> build genmacro: link $
> obj.host/src/3rdparty/chromium/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.genmacro.o
>
> It is linking with arm-poky-linux-gnueabi-g++ , but the object file is
> built with the host's compiler. Considering the name "genmacro", I
> suspect this is some kind of generator tool that is supposed to be run
> as part of the build process, so therefore the linker should be the host
> one. But I have no knowledge about ninja or the webengine internals, so
> I do not know how to fix that. Any suggestions?


More information about the Openembedded-devel mailing list