G'day All, We're just updating from honister to kirkstone branch and run into an issue with libstdc++. We're targeting a 32 bit arm device.
is_empty throws with "filesystem error: cannot check if file is empty: Operation not supported" when called on an empty directory. tracing this status is returning fs::file_type::unknown which looks to result from stat returnung EOVERFLOW. Which appears to be related to 64 / 32 bit file size limits. We are compiling our code with: -D_FILE_OFFSET_BITS=64 It does look like the builds are linking things slightly differently. preid:~/dev/kirkstone/tmp-glibc/work/cortexa9t2hf-neon-emit-linux-gnueabi/gcc-runtime/11.3.0-r0/package/usr/lib$ arm-emit-linux-gnueabi-readelf -r libstdc++.so | grep seek 0015433c 00007916 R_ARM_JUMP_SLOT 00000000 lseek@GLIBC_2.4 00154d70 0000aa16 R_ARM_JUMP_SLOT 00000000 fseek@GLIBC_2.4 preid:~/dev/kirkstone/tmp-glibc/work/cortexa9t2hf-neon-emit-linux-gnueabi/gcc-runtime/11.3.0-r0/package/usr/lib$ arm-emit-linux-gnueabi-readelf -r libstdc++.so | grep stat 0015561c 0000c016 R_ARM_JUMP_SLOT 00000000 stat64@GLIBC_2.33 00155620 00003016 R_ARM_JUMP_SLOT 00000000 statvfs64@GLIBC_2.4 preid:~/dev/honister/tmp-glibc/work/cortexa9t2hf-neon-emit-linux-gnueabi/gcc-runtime/11.2.0-r0/package/usr/lib$ arm-emit-linux-gnueabi-readelf -r libstdc++.so.6 | grep seek 00159328 00008a16 R_ARM_JUMP_SLOT 00000000 lseek64@GLIBC_2.4 00159d68 0000c616 R_ARM_JUMP_SLOT 00000000 fseeko64@GLIBC_2.4 preid:~/dev/honister/tmp-glibc/work/cortexa9t2hf-neon-emit-linux-gnueabi/gcc-runtime/11.2.0-r0/package/usr/lib$ arm-emit-linux-gnueabi-readelf -r libstdc++.so.6 | grep stat 00159334 00009f16 R_ARM_JUMP_SLOT 00000000 fstat64@GLIBC_2.33 0015a618 00006d16 R_ARM_JUMP_SLOT 00000000 statvfs64@GLIBC_2.4 0015a63c 00008816 R_ARM_JUMP_SLOT 00000000 stat64@GLIBC_2.33 0015a68c 00008016 R_ARM_JUMP_SLOT 00000000 lstat64@GLIBC_2.33 Not sure where to look to fix this... Any help appreciated. Regards Phil
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#167447): https://lists.openembedded.org/g/openembedded-core/message/167447 Mute This Topic: https://lists.openembedded.org/mt/92099905/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-