Link failed with ld.lld: error: version script assignment of 'PRIVATE_1.4' to symbol '_ZN3sal13backtrace_getEm' failed: symbol not defined ld.lld: error: version script assignment of 'GLIBCXX_3.4' to symbol '_ZNSs4_Rep20_S_empty_rep_storageE' failed: symbol not defined x86_64-pc-linux-gnu-clang++: error: linker command failed with exit code 1 (use -v to see invocation) clang++ version is: clang version 17.0.3 Target: x86_64-pc-linux-gnu Thread model: posix Found FreeBSD bug with identical error: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274697
See also: https://github.com/LibreOffice/core/commit/baddc742c3fe260d20d7924ab134f0fbf179fd85
I guess I can backport the fix from bug 915067.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275a3af1b2d6af3da05f7a0ba6a1f11bb5dee198 commit 275a3af1b2d6af3da05f7a0ba6a1f11bb5dee198 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-28 04:45:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-28 04:52:39 +0000 app-office/libreoffice: backport lld 17 workaround Closes: https://bugs.gentoo.org/916333 Bug: https://bugs.gentoo.org/915067 Signed-off-by: Sam James <sam@gentoo.org> app-office/libreoffice/libreoffice-7.5.6.2.ebuild | 3 +++ 1 file changed, 3 insertions(+)