Created attachment 872150 [details] build log In a clang-17[default-libcxx] environment, sys-libs/tevent-0.15.0 will fail linking during emerge with the following error message: ``` ld.lld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined ld.lld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined ld.lld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined clang: error: linker command failed with exit code 1 (use -v to see invocation) Waf: Leaving directory `/var/tmp/portage/sys-libs/tevent-0.15.0/work/tevent-0.15.0-abi_x86_64.amd64/bin/default' Build failed -> task in 'replace' failed with exit status 1: {task 129526645953200: cshlib replace.c.3.o -> libreplace-tevent.so} ``` This can be avoided by passing "-Wl,--undefined-version" to LDFLAGS. Attaching logs.
Created attachment 872151 [details] emerge --info
Confirmed this still fails as of =sys-libs/tevent-0.16.1
As in bug #914857, build succeeds with -Wl,--undefined-version in LDFLAGS.