NVIDIA – GCC 14 Breaks Compile – and Fix.. (VMware OK..)
Testing Fedora 40, which now includes GCC 14, and this breaks the NVIDIA driver 550.54.14 compile: ………………….. CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-550.54.14/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-550.54.14/kernel/nvidia-drm/nvidia-drm-gem.o /home/rgadsdon/NVIDIA-Linux-x86_64-550.54.14/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of ‘int (*)(struct drm_gem_object *, struct iosys_map *)’ from incompatible pointer type ‘void * (*)(struct drm_gem_object *)’ [-Wincompatible-pointer-types] 115 | .vmap = nv_drm_gem_prime_vmap, | ^~~~~~~~~~~~~~~~~~~~~ /home/rgadsdon/NVIDIA-Linux-x86_64-550.54.14/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for ‘nv_drm_gem_funcs.vmap’) … Continue reading →