With lld 17, samba-4.19.0 fails to build, in the linking phase. Reproducible: Always Steps to Reproduce: 1. On llvm profile, be on llvm:17 2. Emerge net-fs/samba-4.19.0 Actual Results: 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) Expected Results: Build completes
Created attachment 871689 [details] Build log and emerge --info
Created attachment 871690 [details, diff] For now this workaround works
I can confirm this patch works at samba-4.19.4. Using regular profile with clang as default compiler and lld as default linker