audacity-3.3.3 will fail to link under clang-17: --- ld.lld: error: undefined symbol: typeinfo for wxNavigationEnabled<wxWindow> >>> referenced by ListNavigationPanel.cpp >>> src/CMakeFiles/Audacity.dir/ListNavigationPanel.cpp.o:(typeinfo for ListNavigationEnabled<wxWindow>) clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. --- The stopgap solution is to add "-Wl,--undefined-version" to LDFLAGS. (This is a clang[default-libcxx] environment and the openmp workaround has been applied to libsoundtouch prior) Attaching logs.
Created attachment 871946 [details] build log
Created attachment 871947 [details] emerge --info
Created attachment 871967 [details, diff] audacity-3.3.3-drop-template.patch This patch resolves the error (taken from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271094).
(In reply to ppw0 from comment #0) > The stopgap solution is to add "-Wl,--undefined-version" to LDFLAGS. And to correct myself, this doesn't actually work.
(In reply to ppw0 from comment #3) > Created attachment 871967 [details, diff] [details, diff] > audacity-3.3.3-drop-template.patch > > This patch resolves the error (taken from > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271094). This works to compile, but: > /usr/bin/audacity: symbol lookup error: /usr/bin/../lib64/audacity/lib-audio-io.so: undefined symbol: __atomic_is_lock_free
> This works to compile, but: > > > /usr/bin/audacity: symbol lookup error: /usr/bin/../lib64/audacity/lib-audio-io.so: undefined symbol: __atomic_is_lock_free I don't think that's related.