[Bug 257696] audio/openal-soft: Fails to link with JACK enabled: ERROR: ld-elf.so.1: /usr/local/lib/libopenal.so.1: Undefined symbol "jack_error_callback"
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 257696] audio/openal-soft Undefined symbol"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jan 2022 21:26:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257696
--- Comment #14 from Sean Champ <lab+bsd@thinkum.space> ---
re: the build failure with GCC 11, I've tried a GCC 11 build with
--enable-libstdcxx-time added to CONFIGURE_ARGS then building openal-soft with
that GCC
References:
* What is _GLIBCXX_USE_NANOSLEEP all about? (Stack Overflow)
https://stackoverflow.com/questions/12523122/what-is-glibcxx-use-nanosleep-all-about
* std::this_thread::sleep_for() and GCC (Stack Overflow)
https://stackoverflow.com/questions/4438084/stdthis-threadsleep-for-and-gcc
vis a vis, at the second reference:
> error: ‘sleep_for’ is not a member of ‘std::this_thread’
> I looked in header 'thread'.
> sleep_for() is protected with _GLIBCXX_USE_NANOSLEEP
The build still fails under this compiler configuration. The build failure is
essentially the same as in that attached build log. Excerpt:
~~~~
[ 13% 15/107] /usr/local/libexec/ccache/g++11 -DRESTRICT=__restrict
-I/wrkdirs/usr/ports/audio/openal-soft/work/.build
-I/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/utils -I>
FAILED: CMakeFiles/makemhr.dir/utils/makemhr/loadsofa.cpp.o
/usr/local/libexec/ccache/g++11 -DRESTRICT=__restrict
-I/wrkdirs/usr/ports/audio/openal-soft/work/.build
-I/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/utils
-I/wrkdirs/usr/p>
../openal-soft-1.21.1/utils/makemhr/loadsofa.cpp: In function 'bool
LoadSofaFile(const char*, uint, uint, uint, ChannelModeT, HrirDataT*)':
../openal-soft-1.21.1/utils/makemhr/loadsofa.cpp:554:27: error: 'sleep_for' is
not a member of 'std::this_thread'
554 | std::this_thread::sleep_for(std::chrono::milliseconds{50});
| ^~~~~~~~~
~~~~
Though the gcc build has that added configure arg now, and may have some
additional features under related defines in the source tree, I'm not entirely
sure if the openal-soft build is using GNU libstdc++ in the build
Of course, this is probably unrelated to jackd.
--
You are receiving this mail because:
You are the assignee for the bug.