Date: Sat, 15 Jan 2022 21:26:20 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [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" Message-ID: <bug-257696-12827-JbsQNcxnbi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-257696-12827@https.bugs.freebsd.org/bugzilla/> References: <bug-257696-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257696 --- 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 w= ith that GCC References: * What is _GLIBCXX_USE_NANOSLEEP all about? (Stack Overflow) =20=20 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: =E2=80=98sleep_for=E2=80=99 is not a member of =E2=80=98std::this_= thread=E2=80=99 > 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=3D__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=20 /usr/local/libexec/ccache/g++11 -DRESTRICT=3D__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 entir= ely sure if the openal-soft build is using GNU libstdc++ in the build Of course, this is probably unrelated to jackd. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257696-12827-JbsQNcxnbi>