https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-sound/mixxx-2.2.4 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
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 ***