Hi, since some time I cant build Cuda kernels anymore.
Compiling CUDA kernel ...
"/usr/local/cuda/bin/nvcc" -arch=sm_75 --cubin "/home/user/blender-git/build_linux/bin/3.1/scripts/addons/cycles/source/kernel/device/cuda/kernel.cu" -o "/home/user/.cache/cycles/kernels/c
ycles_kernel_sm_75_B8A2925333FA08CDC1235824636A4E87.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"/user/pepo/blender-git/build_linux/bin/3.1/scripts/addons/cycles/source" -DWI
TH_NANOVDB
/usr/include/stdio.h(183): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(195): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(217): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(254): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(279): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(288): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(297): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(303): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(309): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(824): error: attribute "__malloc__" does not take arguments
/usr/include/stdlib.h(565): error: attribute "__malloc__" does not take arguments
/usr/include/stdlib.h(569): error: attribute "__malloc__" does not take arguments
/usr/include/stdlib.h(797): error: attribute "__malloc__" does not take arguments
13 errors detected in the compilation of "/home/user/blender-git/build_linux/bin/3.1/scripts/addons/cycles/source/kernel/device/cuda/kernel.cu".
Failed to execute compilation command, see console for details.
gcc (SUSE Linux) 11.2.1
Toolkit 11.4
Optix 7.3.0
If you need more information I will try to add it.
I would be grateful for help, mib
EDIT:
CMakeCache.txt (139.9 KB)