Created attachment 895886 [details] emerge --info ld.lld: error: undefined symbol: typeinfo for wxNavigationEnabled<wxWindow> >>> referenced by ListNavigationPanel.cpp >>> src/CMakeFiles/Audacity.dir/ListNavigationPanel.cpp.o:(typeinfo for ListNavigationEnabled<wxWindow>) ld.lld: error: undefined reference due to --no-allow-shlib-undefined: __kmpc_fork_call >>> referenced by /usr/lib/libSoundTouch.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: __kmpc_for_static_init_4u >>> referenced by /usr/lib/libSoundTouch.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: __kmpc_for_static_fini >>> referenced by /usr/lib/libSoundTouch.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: __kmpc_for_static_init_4 >>> referenced by /usr/lib/libSoundTouch.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: __kmpc_end_critical >>> referenced by /usr/lib/libSoundTouch.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: __kmpc_critical >>> referenced by /usr/lib/libSoundTouch.so clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Created attachment 895887 [details] audacity-3.4.2-r1 build.log
Fixed for me by rebuilding /usr/lib/libSoundTouch.so (media-libs/libsoundtouch) with CXXFLAGS+=" -fopenmp=libomp" My env: clang-19 ThinLTO libc++ ld.lld See also https://bugs.gentoo.org/740310
I am having the exact same issue for media-sound/audacity-3.7.1. I am a bit confused on how specifying -fopenmp=libomp in CXXFLAGS for libsoundtouch fixes things. Could you elaborate?