Summary: | media-sound/audacity-3.3.3 fails to build with clang-17: ld.lld: error: undefined symbol: typeinfo for wxNavigationEnabled<wxWindow> | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ppw0 |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ppw0, StormByte, waltercool |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271094 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 912821 | ||
Attachments: |
build log
emerge --info audacity-3.3.3-drop-template.patch |
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.
|
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.