https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-fs/dwarfs-0.7.4-r3 fails to compile (GCC-14-SYSTEM). Discovered on: amd64 (internal ref: guru_tinderbox) NOTE: (GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Created attachment 882233 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: Could not find a configuration file for package "fmt" that is compatible -- Package 'fuse', required by 'virtual:world', not found -- Package 'libbrotlidec', required by 'virtual:world', not found -- Package 'libbrotlienc', required by 'virtual:world', not found -- Could NOT find LIBAIO (missing: LIBAIO_LIBRARY LIBAIO_INCLUDE_DIR) -- Could NOT find LIBDWARF (missing: LIBDWARF_LIBRARY) -- Could NOT find LIBSODIUM (missing: LIBSODIUM_LIBRARY LIBSODIUM_INCLUDE_DIR) -- Could NOT find LIBURING (missing: LIBURING_LIBRARY LIBURING_INCLUDE_DIR) -- Could NOT find ZSTD (missing: ZSTD_INCLUDE_DIR) FAILED: folly/libfolly.so.0.58.0-dev collect2: error: ld returned 1 exit status
Error seems to be at: `_ZN5folly6detail8function14FunctionTraitsIFvvEE9callSmallIPS3_EEvRNS1_4DataE' referenced in section `.data.rel.ro.local' of folly/CMakeFiles/folly_base.dir/folly/executors/EDFThreadPoolExecutor.cpp.o: defined in discarded section `.text._ZN5folly6detail8function14FunctionTraitsIFvvEE9callSmallIPS3_EEvRNS1_4DataE[_ZN5folly6detail5thunk4makeINS_18threadlocal_detail10StaticMetaIvvEEJEEEPvDpT0_]' of folly/CMakeFiles/folly_base.dir/folly/executors/EDFThreadPoolExecutor.cpp.o
I can't reproduce this on GCC 13. Does tinderbox reproduce this on GCC 13? If no I'm suspecting something to do with compiler. For the record, the symbol in question is a global weak symbol, and I see no reason it gets discarded.
Resolved as need info. Please reproduce with latest version.