Summary: | media-sound/mixxx-2.2.4-r1: when linking with ld.lld - error: /usr/lib64/libSoundTouch.so: undefined reference to __kmpc_for_static_fini | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | fordfrog, kripton |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=740310 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.xz |
Description
Agostino Sarubbo
2020-09-04 15:08:49 UTC
Created attachment 658404 [details]
build.log.xz
build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
this is the same issue as with audacity, the executable cannot be linked because of undefined reference related to /usr/lib64/libSoundTouch.so: ld.lld: [0;31merror: [0m/usr/lib64/libSoundTouch.so: undefined reference to __kmpc_for_static_fini ld.lld: [0;31merror: [0m/usr/lib64/libSoundTouch.so: undefined reference to __kmpc_for_static_init_4 ld.lld: [0;31merror: [0m/usr/lib64/libSoundTouch.so: undefined reference to __kmpc_for_static_init_4u ld.lld: [0;31merror: [0m/usr/lib64/libSoundTouch.so: undefined reference to __kmpc_fork_call ld.lld: [0;31merror: [0m/usr/lib64/libSoundTouch.so: undefined reference to __kmpc_critical ld.lld: [0;31merror: [0m/usr/lib64/libSoundTouch.so: undefined reference to __kmpc_end_critical Looking forward to meaningful summaries. tinderbox has reproduced this issue with version 2.2.4-r1 - Updating summary. Try compiling media-libs/libsoundtouch with CXXFLAGS="-O2 -fopenmp=libomp" i.e. /etc/portage/env/openmp.conf: CXXFLAGS="-O2 -march=x86-64-v2 -fopenmp=libomp" grep "libsoundtouch" /etc/portage/package.env: media-libs/libsoundtouch openmp.conf This solved the undefined references for me when compiling audacity. Cheers! *** This bug has been marked as a duplicate of bug 740310 *** |