Hi, trying to build on a Gentoo based system, GCC fails due to missing the graphite flag.
I try to build it with LLVM/CLANG 15, still fails.
Now, I have two LLVM/CLANG versions, 14 & 15.
How would I make DT build with LLVM/CLANG 14 instead of the latest detected version (15)?
MocaccinoOS (https://www.mocaccino.org/).
We avoided graphite, as this brings some complications and DT is the only one needing that flag.
Anyway, now we moved to LLVM/CLANG 15, but we try to use 14 along with it, as a test.
Under CLANG 15 DT build fails with clang-15: error: linker command failed with exit code 1.
I think the relevant part is:
`fast_surface_blur.ifunc' referenced in section `.text' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o: defined in discarded section `.text.fast_surface_blur.resolver[fast_surface_blur.resolver]' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o
`interpolate_bilinear.ifunc' referenced in section `.text' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o: defined in discarded section `.text.interpolate_bilinear.resolver[interpolate_bilinear.resolver]' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o
`quantize.ifunc' referenced in section `.text' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o: defined in discarded section `.text.quantize.resolver[quantize.resolver]' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o
`variance_analyse.ifunc' referenced in section `.text' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o: defined in discarded section `.text.variance_analyse.resolver[variance_analyse.resolver]' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o
`apply_linear_blending.ifunc' referenced in section `.text' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o: defined in discarded section `.text.apply_linear_blending.resolver[apply_linear_blending.resolver]' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o
`apply_linear_blending_w_geomean.ifunc' referenced in section `.text' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o: defined in discarded section `.text.apply_linear_blending_w_geomean.resolver[apply_linear_blending_w_geomean.resolver]' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o
`fast_clamp.ifunc' referenced in section `.text' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o: defined in discarded section `.text.fast_clamp.resolver[fast_clamp.resolver]' of bin/CMakeFiles/lib_darktable.dir/views/view.c.o
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Any other packages that use this profile build successfully. What makes DT not to?
But, to go to the original question, if there are both installed at a time, 14 & 15, is there a way to select only one? I see DT detects the latest all the time, which is 15, while I’d like to try 14.