All of lore.kernel.org
 help / color / mirror / Atom feed
* libstdc++ honister -> kirkstone
@ 2022-07-01  1:14 Phil Reid
  2022-07-06  4:01 ` mfumita
  0 siblings, 1 reply; 6+ messages in thread
From: Phil Reid @ 2022-07-01  1:14 UTC (permalink / raw)
  To: openembedded-core

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



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

end of thread, other threads:[~2022-07-14  8:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-01  1:14 libstdc++ honister -> kirkstone Phil Reid
2022-07-06  4:01 ` mfumita
2022-07-08 13:05   ` [OE-core] " Richard Purdie
2022-07-12  5:23     ` Phil Reid
2022-07-13 22:13       ` Richard Purdie
2022-07-14  8:25         ` Phil Reid

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.