On Tue, 28 Jul 2026 12:54:16 +0200, Emilio Pozuelo Monfort wrote:
>
> Hi,
>
> nvidia-cuda-toolkit depends on gcc-13, which won't be shipped in forky.
> Please update to 15 or 16, or ideally use the default version (currently
> GCC 15).

Hi Emilio,

CUDA's 12.4 nvcc refuses anything newer than gcc-13.  crt/host_config.h:143:

  #if __GNUC__ > 13
  #error -- unsupported GNU version! gcc versions later than 13 are not
  supported! ...
  #endif

You could probably patch it out or overwrite it
by defining __NV_NO_HOST_COMPILER_CHECK
but it is not recommended by upstream.

The minimal valid configuration to fix the bug is probably driver 580
and CUDA 12.9 (with gcc-14 support).
To be safe, I would go with driver 580 and CUDA 13.0 (with gcc-15
support). Pre-Turing GPUs still run on 580, but CUDA 13.0 dropped
compilation support.
But Forky should probably ship something newer (e.g. To better support
local AIs etc ...)

Best
-Dominique

Reply via email to