diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2019-04-18 09:38:50 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2019-04-18 09:55:22 +0000 |
commit | 07784245c1822766d54405d835ac2dc08652df1a (patch) | |
tree | ca47c014cd6762db559002b7943c11bcb5f670b7 /recipes-qt/demo-extrafiles | |
parent | 4303873091a860ce3f6dd8299f36ae7675ad716f (diff) |
qtbase: disable gold for all archs not just x86
* enabling xlib in x86_64 build was failing with:
ERROR: Feature 'xcb-xlib' was enabled, but the pre-condition 'features.xlib && libs.xcb_xlib' failed.
* the root cause is linking with full path libm.so in my case:
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.12.3+gitAUTOINC+b527725766-r0/recipe-sysroot/usr/lib/libm.so
which with gold fails with:
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.12.3+gitAUTOINC+b527725766-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.3.0/ld: error: cannot open /lib/libm.so.6: No such file or directory
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.12.3+gitAUTOINC+b527725766-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.3.0/ld: error: cannot open /usr/lib/libmvec_nonshared.a: No such file or directory
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.12.3+gitAUTOINC+b527725766-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.3.0/ld: error: cannot open /lib/libmvec.so.1: No such file or directory
collect2: error: ld returned 1 exit status
* not linking with libm at all in xcb test makes it pass, or linking
with -lm as before works as well, but to be safe lets disable gold
everywhere until it's resolved in upstream Qt
* also reported in the 5.12.2 upgrade PR:
https://github.com/meta-qt5/meta-qt5/pull/181#issuecomment-484425112
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/demo-extrafiles')
0 files changed, 0 insertions, 0 deletions