Skip to contentSkip to conversation

qtwebengine in master fails to build

meta-qt5 Schrempf Frieder 2 participants 2 messages Aug 12, 2015

lore
Share & tools
lore
#0 lore raw

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:

Quoted 31 lines

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++

(quoted diff) +0 -5
-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?

#1 lore raw
Quoted 8 lines · Schrempf Frieder

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.

there could be few things. Try to add CLEANBROKEN = “1” to the recipe and see if it helps secondly it could be a parallel make race condition so you might want to disable parallel make for tests.

Quoted 37 lines

Carlos Rafael Giani, on Mon Jan 26 08:13:45 UTC 2015:

Quoted 25 lines

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++

(quoted diff) +0 -5
-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

Quoted 6 lines

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?

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel