CUDA on fedora43 release

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

Fedora 43 has not been officially released yet! Are you using a Beta version?

Hello,

Yes. I had some problems with the touch pad and I had to install the latest version I could get may hands on. I am very new to fedora, but I thin kthis issues might come other linux distros soon, so I hoping that someone know a workaround , before cuda toolkit 14 comes out :).

Cristian

Fedora 43 is not supported by any CUDA version at the current time. This topic may be of interest, as this appears to be an issue with GLIBC version support.

Is there some way to skip those functions without modifying the math_functions.h header?The laptop is for doing just development and check for functions.

Thanks for the suggestion. I will try the header patch, in the end I can always make copy of it.

Cristian