Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915852 - 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:
Summary: media-sound/sidplayfp-2.6.2 - lld: Error relocating /usr/lib/libsidplayfp.so....
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on: 915833
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2023-10-16 15:46 UTC by ernsteiswuerfel
Modified: 2024-03-31 23:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
buildlog.log (amd64, sidplayfp-2.5.0) (sidplayfp-2.5.0:20231016-153721.log,14.15 KB, text/plain)
2023-10-16 15:46 UTC, ernsteiswuerfel
Details
buildlog.log (amd64, libsidplayfp-2.5.0) (libsidplayfp-2.5.0:20231016-153924.log,89.59 KB, text/plain)
2023-10-16 15:46 UTC, ernsteiswuerfel
Details
emerge --info (file_915852.txt,7.77 KB, text/plain)
2023-10-16 15:47 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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