On Sun, 27 Apr 2025 10:15:01 +0200, Kirill A. Korinsky <kir...@korins.ky> wrote: > > On Sun, 27 Apr 2025 09:16:58 +0200, > Kurt Mosiejczuk <k...@cranky.work> wrote: > > > > https://cranky.work/sparc64/2025-04-23/audio/openal.log > > > > undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()' > > > > I haven't got access to spark64 but follow diff may fix this and probably > multimedia/libheif issues. >
tb@ had pointed that cmake-based ports need different approach. Anyway, it can be fixed by adding into CMakeLists.txt: target_link_libraries(alsoft.fmt PRIVATE $<$<AND:$<CXX_COMPILER_ID:GNU>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,9.0>>:stdc++fs>) after that it fails with error: error: expression '<throw-expression>' is not a constant expression so, it needs gcc11 Here the diff which I was able to build on -current/amd64 by gcc11 from ports. Index: Makefile =================================================================== RCS file: /home/cvs/ports/audio/openal/Makefile,v diff -u -p -r1.68 Makefile --- Makefile 1 Feb 2025 09:56:08 -0000 1.68 +++ Makefile 27 Apr 2025 15:45:39 -0000 @@ -48,6 +48,9 @@ MODULES = devel/cmake COMPILER = base-clang ports-gcc +# gcc8: error: expression '<throw-expression>' is not a constant expression +MODGCC4_VERSION = 11 + NO_TEST = Yes pre-build: -- wbr, Kirill