https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-admin/fam-2.7.0_p17_p3 fails to compile with compiler-rt. Discovered on: amd64 (internal ref: tinderbox)
Created attachment 662785 [details] build.log build log and emerge --info
Possible context of error(s): /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ClientInterest.o: undefined reference to symbol '_Unwind_Resume@@GCC_3.0' clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: Listener.o: in function `Listener::create_local_client(TCP_Client&, unsigned int)': Listener.c++:(.text+0x5e9): warning: the use of `tempnam' is dangerous, better use `mkstemp' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ClientInterest.o: undefined reference to symbol '_Unwind_Resume@@GCC_3.0' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1: error adding symbols: DSO missing from command line clang-10: error: linker command failed with exit code 1 (use -v to see invocation) So the compiler (clang) is using clang/llvm internals but the linker (GNUld) is using GCC internals.
False positive.