Hi,
the current master build seems to be broken with symbols unavailable
from the host glibc. The following is to see on the SDK built and
installed on the same host Ubuntu 18.04.5 having glibc 2.27:
$ . /tmp/poky-sdk-master-00/environment-setup-core2-64-poky-linux
$ ldd $(which $CC)
/tmp/poky-sdk-master-00/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
(required by
/tmp/poky-sdk-master-00/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc)
linux-vdso.so.1 (0x00007ffdaaca2000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007feab87eb000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007feab83fa000)
/tmp/poky-sdk-master-00/sysroots/x86_64-pokysdk-linux/lib/ld-linux-x86-64.so.2
=> /lib64/ld-linux-x86-64.so.2 (0x00007feab8b89000)
$ objdump -T $(which $CC) | grep GLIBC_2.33
objdump: warning:
/tmp/poky-sdk-master-00/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0008002
objdump: warning:
/tmp/poky-sdk-master-00/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
objdump: warning:
/tmp/poky-sdk-master-00/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
0000000000000000 DF *UND* 0000000000000000 GLIBC_2.33 lstat
0000000000000000 DF *UND* 0000000000000000 GLIBC_2.33 stat
0000000000000000 DF *UND* 0000000000000000 GLIBC_2.33 fstat
Similar issue is observer on several other binaries consuming same
symbols. This doesn't seem a uninative issue, avoiding uninative doesn't
change this. Stable branches are fine.
I was looking through the doc but couldn't find a way to enforce a
certain symbol version usage. Please advise on a proper way to fix this.
Regards
Anatol
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#148546):
https://lists.openembedded.org/g/openembedded-core/message/148546
Mute This Topic: https://lists.openembedded.org/mt/80874524/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-