Currently the cuda-toolkit is not compatible with gcc/14.2.0, you will need for the time being to use the version available under the gcc/13.2.0 compiler, or consider building via a conda environment.
Once this is resolved we will make this toolkit available for the gcc/14.2.0 compiler.