When I compile samurai demos with clang++, I get a linker error :
/home/sbstndbs/spack/opt/spack/linux-fedora41-skylake/gcc-14.2.1/binutils-2.43.1-k5y7eskhlyawyl2p54f67ykmteu2jnby/bin/ld: /home/sbstndbs/spack/opt/spack/linux-fedora41-skylake/gcc-14.2.1/cli11-2.4.2-ejczct7lxpacnm2txmwx4l2wk7ngjgxj/lib64/libCLI11.a(Precompile.cpp.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/home/sbstndbs/spack/opt/spack/linux-fedora41-skylake/gcc-14.2.1/binutils-2.43.1-k5y7eskhlyawyl2p54f67ykmteu2jnby/bin/ld: failed to set dynamic section sizes: bad value
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [demos/FiniteVolume/CMakeFiles/finite-volume-linear-convection.dir/build.make:104: demos/FiniteVolume/finite-volume-linear-convection] Error 1
make: *** [Makefile:239: finite-volume-linear-convection/fast] Error 2
When I compile samurai demos with clang++, I get a linker error :