Created attachment 872152 [details] build log In a clang-17[default-libcxx] environment, sys-libs:ldb-2.8.0 will fail to link 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/ldb-2.8.0/work/ldb-2.8.0-abi_x86_64.amd64/bin/default' Build failed -> task in 'replace' failed with exit status 1: {task 124820684176112: cshlib replace.c.3.o -> libreplace-ldb.so} ``` This can be avoided by passing "-Wl,--undefined-version" to LDFLAGS. Attaching logs.
Created attachment 872153 [details] emerge --info
Can confirm this error still exists as of =sys-libs/ldb-2.9.0
Can confirm the same error still exist as of 2.9.1