Hello there, It isn't due to EOVERFLOW but make_file_type function in libstdc++-v3\src\filesystem\ops-common.h always returns file_type::unknown. It's because _GLIBCXX_HAVE_S_ISREG isn't defined. I found HAVE_S_ISREG at libstdc++-v3/config.h isn't set properly.
It's caused by a configure failure below to tell if S_ISREG exists on the target. gcc/arm-emit-linux-gnueabi/11.3.0/ld: error: tmp-glibc/work/cortexa9t2hf-neon-emit-linux-gnueabi/gcc-runtime/11.3.0-r0/dummylib/libstdc++.so: file is empty collect2: error: ld returned 1 exit status configure:15686: $? = 1 It complains dummylib/libstdc++.so is empty, configure failed then wrongly considered S_ISREG doesn't exist. This seems related to the following commit. https://github.com/openembedded/openembedded-core/commit/34b0edb0d3120c32063ff7e3dd52be20d60401d5 Reverting this commit rectifies this issue but not sure what's the proper fix? Any help appreciated. Thanks, Mori
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#167687): https://lists.openembedded.org/g/openembedded-core/message/167687 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] -=-=-=-=-=-=-=-=-=-=-=-