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

Bug 915852

Summary: media-sound/sidplayfp-2.6.2 - lld: Error relocating /usr/lib/libsidplayfp.so.6: __kmpc_fork_call: symbol not found Error relocating /usr/lib/libsidplayfp.so.6: __kmpc_for_static_init_4: symbol not found Error relocating /usr/lib/libsidplayfp.so.6:
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: UNCONFIRMED ---    
Severity: normal CC: erhard_f, fordfrog, jy6x2b32pie9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 915833    
Bug Blocks: 731004    
Attachments: buildlog.log (amd64, sidplayfp-2.5.0)
buildlog.log (amd64, libsidplayfp-2.5.0)
emerge --info

Description ernsteiswuerfel archtester 2023-10-16 15:46:16 UTC
Created attachment 872958 [details]
buildlog.log (amd64, sidplayfp-2.5.0)

Turns out sidplayfp-2.5.0 can be built on a musl-clang-16 system now but the binary won't work:

 $ sidplayfp
Error relocating /usr/lib/libsidplayfp.so.6: __kmpc_fork_call: symbol not found
Error relocating /usr/lib/libsidplayfp.so.6: __kmpc_for_static_init_4: symbol not found
Error relocating /usr/lib/libsidplayfp.so.6: __kmpc_for_static_fini: symbol not found

When linked with LDFLAGS="-fuse-ld=bfd -Wl,-O1 -Wl,--as-needed" the binary works just fine.
Comment 1 ernsteiswuerfel archtester 2023-10-16 15:46:44 UTC
Created attachment 872959 [details]
buildlog.log (amd64, libsidplayfp-2.5.0)
Comment 2 ernsteiswuerfel archtester 2023-10-16 15:47:57 UTC
Created attachment 872960 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-03-31 08:45:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c25ab5de93679e621cec233f9631b4e8cb60e6

commit 01c25ab5de93679e621cec233f9631b4e8cb60e6
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-03-31 08:44:33 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-03-31 08:45:33 +0000

    media-sound/sidplayfp: dropped obsolete
    
    Closes: https://bugs.gentoo.org/915852
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/sidplayfp/Manifest               |  2 --
 media-sound/sidplayfp/sidplayfp-2.5.0.ebuild | 45 ----------------------------
 media-sound/sidplayfp/sidplayfp-2.5.1.ebuild | 45 ----------------------------
 3 files changed, 92 deletions(-)
Comment 4 ernsteiswuerfel archtester 2024-03-31 09:43:19 UTC
This issue is not fixed in 2.6.2. When linking with LLD, still:

 $ sidplayfp 
Error relocating /lib/libsidplayfp.so.6: __kmpc_fork_call: symbol not found
Error relocating /lib/libsidplayfp.so.6: __kmpc_for_static_init_4: symbol not found
Error relocating /lib/libsidplayfp.so.6: __kmpc_for_static_fini: symbol not found
Comment 5 Miroslav Šulc gentoo-dev 2024-03-31 11:34:44 UTC
thanks for updating the bug
Comment 6 jy6x2b32pie9 2024-03-31 23:27:35 UTC
Issue is not resolved in 2.7.0.
In container with clang-17, musl and lld-17 still
clang-musl / # sidplayfp --version
Error relocating /lib/libsidplayfp.so.6: __kmpc_fork_call: symbol not found
Error relocating /lib/libsidplayfp.so.6: __kmpc_for_static_init_4: symbol not found
Error relocating /lib/libsidplayfp.so.6: __kmpc_for_static_fini: symbol not found