Hello,
Last year in October I managed to install cuda 12.6 with the gcc 11.2 using spack on a laptop with fedora.
This installation worked without issues for a while.
Then cuda was not used a few months and some upgrades were done. While the original fedora was 41, now the release in the /etc folder states it is feodora43.
With the same installation I get this kind of errors:
/usr/include/bits/mathcalls.h(79): error: exception specification is incompatible with that of previous function "cospi" (declared at line 2595 of /home/elder/spack/opt/spack/linux-fedora42-skylake/gcc-11.2.0/cuda-12.6.0-petn5vxhyge4ryy4oceri3wwvtwpaqf4/bin/../targets/x86_64-linux/include/crt/math_functions.h)
extern double cospi (double __x) noexcept (true); extern double __cospi (double __x) noexcept (true);
I also tried cuda 13.0 (gcc seemed to be supported even if the official supported release is 42) and I still get the same errors.
Is there some workaround to this or at least some tutorial to use docker or some other something similarly?
Cristian