| Summary: | nVidia driver dkms does not build anymore | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Juan Magallón <waldergeist> |
| Component: | RPM Packages | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | nvidia-current-550.54.14-2.mga10.nonfree.src.rpm | CVE: | |
| Status comment: | |||
FWIW, I have built 550.67 locally, and builds and works fine. TIA. Thank you for this helpful report. Assigning to kernel/drivers. Assignee:
bugsquad =>
kernel |
With current Caludron (kernel 6.6.22, gcc-14) nVidia driver fails to build: CC [M] /usr/src/nvidia-current-550.54.14-2.mga10.nonfree/nvidia-drm/nvidia-drm-gem.o /usr/src/nvidia-current-550.54.14-2.mga10.nonfree/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, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/nvidia-current-550.54.14-2.mga10.nonfree/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for ‘nv_drm_gem_funcs.vmap’) /usr/src/nvidia-current-550.54.14-2.mga10.nonfree/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of ‘void (*)(struct drm_gem_object *, struct iosys_map *)’ from incompatible pointer type ‘void (*)(struct drm_gem_object *, void *)’ [-Wincompatible-pointer-types] 116 | .vunmap = nv_drm_gem_prime_vunmap, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/nvidia-current-550.54.14-2.mga10.nonfree/nvidia-drm/nvidia-drm-gem.c:116:16: note: (near initialization for ‘nv_drm_gem_funcs.vunmap’) make[3]: *** [scripts/Makefile.build:243: /usr/src/nvidia-current-550.54.14-2.mga10.nonfree/nvidia-drm/nvidia-drm-gem.o] Error 1 make[2]: *** [/usr/src/kernel-6.6.22-desktop-1.mga10/Makefile:1892: /usr/src/nvidia-current-550.54.14-2.mga10.nonfree] Error 2 make[1]: *** [Makefile:234: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/kernel-6.6.22-desktop-1.mga10' make: *** [Makefile:85: modules] Error 2 There is a new stable nvidia driver version (550.67). Don't know if it is worth trying to fix current or updating to new (supposing it builds...). TIA