All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5] qtwebengine in master fails to build
@ 2015-08-12 11:04 Schrempf Frieder
  2015-08-12 18:33 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Schrempf Frieder @ 2015-08-12 11:04 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [meta-qt5] qtwebengine in master fails to build
@ 2015-01-26  8:13 Carlos Rafael Giani
  0 siblings, 0 replies; 3+ messages in thread
From: Carlos Rafael Giani @ 2015-01-26  8:13 UTC (permalink / raw)
  To: openembedded-devel

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?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-12 18:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-12 11:04 [meta-qt5] qtwebengine in master fails to build Schrempf Frieder
2015-08-12 18:33 ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2015-01-26  8:13 Carlos Rafael Giani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.