Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 916333

Summary: app-office/libreoffice-7.5.6.2 link failed
Product: Gentoo Linux Reporter: Martin Bednar <martin>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=915067
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 912821    

Description Martin Bednar 2023-10-27 11:59:09 UTC
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
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-28 04:44:36 UTC
I guess I can backport the fix from bug 915067.
Comment 3 Larry the Git Cow gentoo-dev 2023-10-28 04:53:08 UTC
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(+)