Summary: | games-emulation/pcsx2-1.7.3602 fails to compile (CLANG-STRICTER-SYSTEM): x86_64-pc-linux-gnu-ld.bfd: libSoundTouch.so: undefined reference to __kmpc_for_static_fini | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | nE0sIghT <ykonotopov> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | games, ionen, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=884781 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.xz |
Description
Agostino Sarubbo
![]() Created attachment 840969 [details]
build.log.xz
build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Could NOT find Vtune (missing: VTUNE_LIBRARIES VTUNE_INCLUDE_DIRS) /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_critical' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_end_critical' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_for_static_fini' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_for_static_init_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_for_static_init_4u' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_fork_call' FAILED: pcsx2/pcsx2 clang-15: error: linker command failed with exit code 1 (use -v to see invocation) The linker references to /usr/lib64/libSoundTouch.so which is in another package. It looks like pcsx2 missing openpm library while linking with libSoundTouch. It can be pkgconf problem (if it is used) or cmake one as I understand. (In reply to nE0sIghT from comment #3) > The linker references to /usr/lib64/libSoundTouch.so which is in another > package. > It looks like pcsx2 missing openpm library while linking with libSoundTouch. > It can be pkgconf problem (if it is used) or cmake one as I understand. Given happened with another package, I suspect the issue is with SoundTouch rather than pcsx2 when using clang16/strict (not that I looked into this). On a side-note, pcsx2 no longer depends libsoundtouch outside of old stable 1.6.0. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c75f09735b89ba465ad543ec885718a77566643a commit c75f09735b89ba465ad543ec885718a77566643a Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-01-15 04:58:25 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-01-15 07:26:53 +0000 games-emulation/pcsx2: drop 1.6.0-r3 See bug #922149 for what motivated dropping it even though it's the upstream stable release. Note that this drops the x86 keyword, upstream does not support that anymore (only amd64+sse4.1 is supported). wrt bug #884825, there is no pcsx2 version left using system soundtouch. Closes: https://bugs.gentoo.org/884825 Closes: https://bugs.gentoo.org/922149 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> games-emulation/pcsx2/Manifest | 1 - .../pcsx2/files/pcsx2-1.6.0-disable-setcap.patch | 49 ---------- .../pcsx2/files/pcsx2-1.6.0-wx-config.patch | 20 ---- games-emulation/pcsx2/pcsx2-1.6.0-r3.ebuild | 105 --------------------- profiles/arch/amd64/no-multilib/package.mask | 1 - 5 files changed, 176 deletions(-) |