Summary: | sci-mathematics/lcalc-2.1.0 - [llvm] ld.lld: error: non-exported symbol _muldc3 in /.../libclang_rt.builtins-x86_64.a(muldc3.c.o) is referenced by DSO ../.../libLfunction | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Michael Orlitzky <mjo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | frp.bissey, llvm, mjo, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=932504 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz sci-mathematics:lcalc-2.1.0:20250406-233309.log temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 923754 [details]
emerge-info.txt
Created attachment 923755 [details]
emerge-history.txt
Created attachment 923756 [details]
environment
Created attachment 923757 [details]
etc.clang.tar.xz
Created attachment 923758 [details]
etc.portage.tar.xz
Created attachment 923759 [details]
logs.tar.xz
Created attachment 923760 [details]
qlist-info.txt.xz
Created attachment 923761 [details]
sci-mathematics:lcalc-2.1.0:20250406-233309.log
Created attachment 923762 [details]
temp.tar.xz
I tried with LLVM 20 and it built OK. Can you reproduce this? If so, can you run "objdump -t" on /usr/lib/llvm/20/bin/../../../../lib/clang/20/lib/linux/libclang_rt.builtins-x86_64.a and check for __muldc3 and __divdc3? In mine they are hidden but it causes no problems, e.g.: 0000000000000000 g F .text 0000000000000810 .hidden __divdc3 This looks like the same issue as bug 932504 but there's no explanation for that one either. CC llvm@ in case there's some C++/LLD quirk here that I wouldn't know about. Try `elibtoolize` (see bug 914068). The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c97c57985dee6abdf0f101ca96b7347b03afaae7 commit c97c57985dee6abdf0f101ca96b7347b03afaae7 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2025-04-18 04:15:10 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2025-04-18 04:15:52 +0000 sci-mathematics/lcalc: try elibtoolize to fix bug 953363 Bug: https://bugs.gentoo.org/953363 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> .../lcalc/{lcalc-2.1.0.ebuild => lcalc-2.1.0-r1.ebuild} | 9 +++++++++ 1 file changed, 9 insertions(+) (In reply to Sam James from comment #11) > Try `elibtoolize` (see bug 914068). Sure, thanks. Toralf, please test the -r1 to see if it works for you since I wasn't able to reproduce the problem on my machine. (In reply to Michael Orlitzky from comment #13) > (In reply to Sam James from comment #11) > > Try `elibtoolize` (see bug 914068). > > Sure, thanks. Toralf, please test the -r1 to see if it works for you since I > wasn't able to reproduce the problem on my machine. works cool, thank you both |