Bug#1140326: nvidia-tesla-470-driver: module does not compile with Linux kernel versions 7.0.10-1, 7.0.12-2
Leandro Doctors
ldoctors at gmail.com
Thu Jun 18 11:39:44 BST 2026
Package: nvidia-tesla-470-driver
Version: 470.256.02-9
Severity: normal
X-Debbugs-Cc: ldoctors at gmail.com
Dear Maintainer,
When updating the packages linux-image-amd64, linux-headers-amd64, and
linux-base-amd64 from
version 6.19.13-1 to versions either 7.0.10-1 or 7.0.12-2, the nVIDIA tesla 470
driver module fails to build.
All patches are applied successfully, but the module fails to build.
Other modules (v4l2loopback, zfs) build successfully.
Below you will find the relevant part of the apt output for version 7.0.12-2.
I also attach both the full apt output and full build log.
Please, let me know if I can help you with this in any other way,
Thank you in advance for your help on this,
Leandro Doctors
****************************************************************************************
Failed command:
env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=7.0.12+deb14.1-amd64
Error! Bad return status for module build on kernel: 7.0.12+deb14.1-amd64
(x86_64)
Consult /var/lib/dkms/nvidia-tesla-470/470.256.02/build/make.log for more
information.
Autoinstall on 7.0.12+deb14.1-amd64 succeeded for module(s) v4l2loopback zfs.
Autoinstall on 7.0.12+deb14.1-amd64 failed for module(s) nvidia-tesla-470(10).
-------------- next part --------------
Entpacken von linux-base-amd64 (7.0.12-2) über (6.19.13-1) ...
linux-kbuild-7.0.12+deb14.1 (7.0.12-2) wird eingerichtet ...
linux-headers-7.0.12+deb14.1-common (7.0.12-2) wird eingerichtet ...
linux-base-7.0.12+deb14.1-amd64 (7.0.12-2) wird eingerichtet ...
linux-modules-7.0.12+deb14.1-amd64 (7.0.12-2) wird eingerichtet ...
linux-headers-7.0.12+deb14.1-amd64 (7.0.12-2) wird eingerichtet ...
/etc/kernel/header_postinst.d/dkms:
Sign command: /lib/modules/7.0.12+deb14.1-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Autoinstall of module nvidia-tesla-470/470.256.02 for kernel
7.0.12+deb14.1-amd64 (x86_64)
Applying patch cc_version_check-gcc5.patch... done.
Applying patch bashisms.patch... done.
Applying patch 0001-some-power-management-features-were-not-yet-in-
Linux.patch... done.
Applying patch 0023-backport-vm_area_struct_has_const_vm_flags-
changes-f.patch... done.
Applying patch 0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch...
done.
Applying patch 0034-fix-typos.patch... done.
Applying patch 0037-import-pfn_valid-w-o-GPL-rcu_read_lock-unlock-
from-v.patch... done.
Applying patch 0042-Log-an-error-message-when-nv_mem_client_init-
fails-d.patch... done.
Applying patch 0043-backport-follow_pfn-changes-from-550.90.07.patch... done.
Applying patch 0045-let-the-virt_addr_valid-macro-use-nv_pfn_valid-on-
pp.patch... done.
Applying patch 0046-backport-nv_get_kern_phys_address-changes-
from-555.4.patch... done.
Applying patch 0047-backport-drm_output_poll_changed-changes-
from-535.21.patch... done.
Applying patch 0048-backport-cmd_symlink-changes-from-550.142.patch... done.
Applying patch 0049-backport-uvm-warning-fixes-from-510.39.01.patch... done.
Applying patch 0049-backport-warning-fixes-from-525.53.patch... done.
Applying patch 0050-backport-uvm-warning-fixes-from-535.146.02.patch... done.
Applying patch 0051-backport-warning-fixes-from-535.216.01.patch... done.
Applying patch 0052-backport-uvm-warning-fixes-from-560.28.03.patch... done.
Applying patch 0053-fix-more-warnings.patch... done.
Applying patch 0054-backport-warning-fixes-from-575.51.02.patch... done.
Applying patch 0054-fix-more-uvm-warnings.patch... done.
Applying patch 0055-backport-
file_operations_fop_unsigned_offset_present.patch... done.
Applying patch 0056-backport-LD_SCRIPT-changes-from-535.230.02.patch... done.
Applying patch 0057-backport-uvm-fixes-from-535.230.02.patch... done.
Applying patch 0058-backport-warning-fixes-from-565.57.01.patch... done.
Applying patch 0059-backport-uvm-warning-fixes-from-550.90.07.patch... done.
Applying patch 0060-backport-build_cflags-changes-from-525.85.05.patch... done.
Applying patch 0061-backport-drm_gem_object_vmap_has_map_arg-changes-
fro.patch... done.
Applying patch 0063-backport-conftest.sh-comment-changes-
from-515.48.07.patch... done.
Applying patch 0063-backport-conftest.sh-comment-changes-from-525.53.patch...
done.
Applying patch 0063-backport-conftest.sh-comment-changes-
from-545.23.06.patch... done.
Applying patch 0064-backport-drm_driver_has_date-from-570.124.04.patch... done.
Applying patch 0065-backport-ccflags-y-changes-from-570.153.02.patch... done.
Applying patch 0066-backport-nv_timer_delete_sync-changes-
from-570.153.0.patch... done.
Applying patch 0067-backport-
drm_connector_helper_funcs_mode_valid_has_c.patch... done.
Applying patch 0071-backport-nv_vma_start_write-changes-from-570.169.patch...
done.
Applying patch 0074-backport-drm_fb_create_takes_format_info-changes-
fro.patch... done.
Applying patch 0075-backport-drm_print.h-changes-from-570.211.01.patch... done.
Applying patch 0076-backport-nv_in_hardirq-changes-from-580.119.02.patch...
done.
Applying patch 0077-backport-vma_flags_set_word-changes-
from-580.126.09.patch... done.
Applying patch 0078-backport-vma_flags_set_word-changes-
from-580.126.09-.patch... done.
Applying patch 0079-backport-dma_map_ops_has_map_phys-changes-
from-580.1.patch... done.
Applying patch 0080-backport-for_each_-_plane_in_state-changes-
from-580..patch... done.
Applying patch 0081-support-fallback-for-for_each_-_plane_in_state.patch...
done.
Applying patch 0082-backport-for_each_-_crtc_in_state-changes-
from-580.1.patch... done.
Applying patch 0083-support-fallback-for-for_each_-_crtc_in_state.patch...
done.
Applying patch conftest-verbose.patch... done.
Applying patch use-kbuild-compiler.patch... done.
Applying patch use-kbuild-flags.patch... done.
Applying patch conftest-prefer-arch-headers.patch... done.
Building module(s)..........(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=7.0.12+deb14.1-amd64
Error! Bad return status for module build on kernel: 7.0.12+deb14.1-amd64
(x86_64)
Consult /var/lib/dkms/nvidia-tesla-470/470.256.02/build/make.log for more
information.
Autoinstall of module v4l2loopback/0.15.3 for kernel 7.0.12+deb14.1-amd64
(x86_64)
Building module(s)... done.
Signing module /var/lib/dkms/v4l2loopback/0.15.3/build/v4l2loopback.ko
Installing /lib/modules/7.0.12+deb14.1-amd64/updates/dkms/v4l2loopback.ko.xz
Running depmod..... done.
Autoinstall of module zfs/2.4.3 for kernel 7.0.12+deb14.1-amd64 (x86_64)
Running the pre_build script...................... done.
Building module(s).......................... done.
Signing module /var/lib/dkms/zfs/2.4.3/build/module/zfs.ko
Signing module /var/lib/dkms/zfs/2.4.3/build/module/spl.ko
Running the post_build script... done.
Installing /lib/modules/7.0.12+deb14.1-amd64/updates/dkms/zfs.ko.xz
Installing /lib/modules/7.0.12+deb14.1-amd64/updates/dkms/spl.ko.xz
Running depmod..... done.
Autoinstall on 7.0.12+deb14.1-amd64 succeeded for module(s) v4l2loopback zfs.
Autoinstall on 7.0.12+deb14.1-amd64 failed for module(s) nvidia-tesla-470(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes linux-headers-7.0.12+deb14.1-amd64
(--configure):
»altes postinst-Betreuerskript des Paketes linux-
headers-7.0.12+deb14.1-amd64«-Unterprozess mit Exit-Status 1 fehlgeschlagen
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-headers-amd64:
linux-headers-amd64 hängt ab von linux-headers-7.0.12+deb14.1-amd64 (=
7.0.12-2); aber:
Paket linux-headers-7.0.12+deb14.1-amd64 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes linux-headers-amd64 (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
linux-binary-7.0.12+deb14.1-amd64 (7.0.12-2) wird eingerichtet ...
linux-base-amd64 (7.0.12-2) wird eingerichtet ...
linux-image-7.0.12+deb14.1-amd64 (7.0.12-2) wird eingerichtet ...
I: /vmlinuz is now a symlink to boot/vmlinuz-7.0.12+deb14.1-amd64
I: /initrd.img is now a symlink to boot/initrd.img-7.0.12+deb14.1-amd64
/etc/kernel/postinst.d/dkms:
Sign command: /lib/modules/7.0.12+deb14.1-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Autoinstall of module nvidia-tesla-470/470.256.02 for kernel
7.0.12+deb14.1-amd64 (x86_64)
Applying patch cc_version_check-gcc5.patch... done.
Applying patch bashisms.patch... done.
Applying patch 0001-some-power-management-features-were-not-yet-in-
Linux.patch... done.
Applying patch 0023-backport-vm_area_struct_has_const_vm_flags-
changes-f.patch... done.
Applying patch 0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch...
done.
Applying patch 0034-fix-typos.patch... done.
Applying patch 0037-import-pfn_valid-w-o-GPL-rcu_read_lock-unlock-
from-v.patch... done.
Applying patch 0042-Log-an-error-message-when-nv_mem_client_init-
fails-d.patch... done.
Applying patch 0043-backport-follow_pfn-changes-from-550.90.07.patch... done.
Applying patch 0045-let-the-virt_addr_valid-macro-use-nv_pfn_valid-on-
pp.patch... done.
Applying patch 0046-backport-nv_get_kern_phys_address-changes-
from-555.4.patch... done.
Applying patch 0047-backport-drm_output_poll_changed-changes-
from-535.21.patch... done.
Applying patch 0048-backport-cmd_symlink-changes-from-550.142.patch... done.
Applying patch 0049-backport-uvm-warning-fixes-from-510.39.01.patch... done.
Applying patch 0049-backport-warning-fixes-from-525.53.patch... done.
Applying patch 0050-backport-uvm-warning-fixes-from-535.146.02.patch... done.
Applying patch 0051-backport-warning-fixes-from-535.216.01.patch... done.
Applying patch 0052-backport-uvm-warning-fixes-from-560.28.03.patch... done.
Applying patch 0053-fix-more-warnings.patch... done.
Applying patch 0054-backport-warning-fixes-from-575.51.02.patch... done.
Applying patch 0054-fix-more-uvm-warnings.patch... done.
Applying patch 0055-backport-
file_operations_fop_unsigned_offset_present.patch... done.
Applying patch 0056-backport-LD_SCRIPT-changes-from-535.230.02.patch... done.
Applying patch 0057-backport-uvm-fixes-from-535.230.02.patch... done.
Applying patch 0058-backport-warning-fixes-from-565.57.01.patch... done.
Applying patch 0059-backport-uvm-warning-fixes-from-550.90.07.patch... done.
Applying patch 0060-backport-build_cflags-changes-from-525.85.05.patch... done.
Applying patch 0061-backport-drm_gem_object_vmap_has_map_arg-changes-
fro.patch... done.
Applying patch 0063-backport-conftest.sh-comment-changes-
from-515.48.07.patch... done.
Applying patch 0063-backport-conftest.sh-comment-changes-from-525.53.patch...
done.
Applying patch 0063-backport-conftest.sh-comment-changes-
from-545.23.06.patch... done.
Applying patch 0064-backport-drm_driver_has_date-from-570.124.04.patch... done.
Applying patch 0065-backport-ccflags-y-changes-from-570.153.02.patch... done.
Applying patch 0066-backport-nv_timer_delete_sync-changes-
from-570.153.0.patch... done.
Applying patch 0067-backport-
drm_connector_helper_funcs_mode_valid_has_c.patch... done.
Applying patch 0071-backport-nv_vma_start_write-changes-from-570.169.patch...
done.
Applying patch 0074-backport-drm_fb_create_takes_format_info-changes-
fro.patch... done.
Applying patch 0075-backport-drm_print.h-changes-from-570.211.01.patch... done.
Applying patch 0076-backport-nv_in_hardirq-changes-from-580.119.02.patch...
done.
Applying patch 0077-backport-vma_flags_set_word-changes-
from-580.126.09.patch... done.
Applying patch 0078-backport-vma_flags_set_word-changes-
from-580.126.09-.patch... done.
Applying patch 0079-backport-dma_map_ops_has_map_phys-changes-
from-580.1.patch... done.
Applying patch 0080-backport-for_each_-_plane_in_state-changes-
from-580..patch... done.
Applying patch 0081-support-fallback-for-for_each_-_plane_in_state.patch...
done.
Applying patch 0082-backport-for_each_-_crtc_in_state-changes-
from-580.1.patch... done.
Applying patch 0083-support-fallback-for-for_each_-_crtc_in_state.patch...
done.
Applying patch conftest-verbose.patch... done.
Applying patch use-kbuild-compiler.patch... done.
Applying patch use-kbuild-flags.patch... done.
Applying patch conftest-prefer-arch-headers.patch... done.
Building module(s)..........(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=7.0.12+deb14.1-amd64
Error! Bad return status for module build on kernel: 7.0.12+deb14.1-amd64
(x86_64)
Consult /var/lib/dkms/nvidia-tesla-470/470.256.02/build/make.log for more
information.
Autoinstall on 7.0.12+deb14.1-amd64 succeeded for module(s) v4l2loopback zfs.
Autoinstall on 7.0.12+deb14.1-amd64 failed for module(s) nvidia-tesla-470(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes linux-image-7.0.12+deb14.1-amd64
(--configure):
»altes postinst-Betreuerskript des Paketes linux-
image-7.0.12+deb14.1-amd64«-Unterprozess mit Exit-Status 1 fehlgeschlagen
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-amd64:
linux-image-amd64 hängt ab von linux-image-7.0.12+deb14.1-amd64 (= 7.0.12-2);
aber:
Paket linux-image-7.0.12+deb14.1-amd64 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes linux-image-amd64 (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
linux-headers-7.0.12+deb14.1-amd64
linux-headers-amd64
linux-image-7.0.12+deb14.1-amd64
linux-image-amd64
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ein Paket konnte nicht installiert werden. Wiederherstellung wird versucht:
dpkg: Fehler: dpkg-Frontend-Sperre war von Prozess /usr/sbin/synaptic mit PID
117994 gesperrt
Anmerkung: Die Sperrdatei zu entfernen ist immer falsch, und kann
den gesperrten Bereich und das gesamte System beschädigen.
Siehe <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.
-------------- next part --------------
DKMS (dkms-3.2.2) make.log for nvidia-tesla-470/470.256.02 for kernel 7.0.12+deb14.1-amd64 (x86_64)
Do 18. Jun 12:13:50 CEST 2026
Applying patch cc_version_check-gcc5.patch
# command: patch -p1 < ./patches/cc_version_check-gcc5.patch
patching file conftest.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch bashisms.patch
# command: patch -p1 < ./patches/bashisms.patch
patching file conftest.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0001-some-power-management-features-were-not-yet-in-Linux.patch
# command: patch -p1 < ./patches/0001-some-power-management-features-were-not-yet-in-Linux.patch
patching file conftest.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0023-backport-vm_area_struct_has_const_vm_flags-changes-f.patch
# command: patch -p1 < ./patches/0023-backport-vm_area_struct_has_const_vm_flags-changes-f.patch
patching file common/inc/nv-mm.h
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch
# command: patch -p1 < ./patches/0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch
patching file nvidia-modeset/nvidia-modeset-linux.c
patching file nvidia/nv.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0034-fix-typos.patch
# command: patch -p1 < ./patches/0034-fix-typos.patch
patching file nvidia-uvm/uvm.h
patching file nvidia-uvm/uvm_perf_thrashing.c
patching file nvidia/nv.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0037-import-pfn_valid-w-o-GPL-rcu_read_lock-unlock-from-v.patch
# command: patch -p1 < ./patches/0037-import-pfn_valid-w-o-GPL-rcu_read_lock-unlock-from-v.patch
patching file common/inc/nv-linux.h
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0042-Log-an-error-message-when-nv_mem_client_init-fails-d.patch
# command: patch -p1 < ./patches/0042-Log-an-error-message-when-nv_mem_client_init-fails-d.patch
patching file nvidia-peermem/nvidia-peermem.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0043-backport-follow_pfn-changes-from-550.90.07.patch
# command: patch -p1 < ./patches/0043-backport-follow_pfn-changes-from-550.90.07.patch
patching file conftest.sh
patching file nvidia/nvidia.Kbuild
patching file nvidia/os-mlock.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0045-let-the-virt_addr_valid-macro-use-nv_pfn_valid-on-pp.patch
# command: patch -p1 < ./patches/0045-let-the-virt_addr_valid-macro-use-nv_pfn_valid-on-pp.patch
patching file common/inc/nv-linux.h
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0046-backport-nv_get_kern_phys_address-changes-from-555.4.patch
# command: patch -p1 < ./patches/0046-backport-nv_get_kern_phys_address-changes-from-555.4.patch
patching file nvidia/nv-vtophys.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0047-backport-drm_output_poll_changed-changes-from-535.21.patch
# command: patch -p1 < ./patches/0047-backport-drm_output_poll_changed-changes-from-535.21.patch
patching file conftest.sh
patching file nvidia-drm/nvidia-drm-drv.c
patching file nvidia-drm/nvidia-drm.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0048-backport-cmd_symlink-changes-from-550.142.patch
# command: patch -p1 < ./patches/0048-backport-cmd_symlink-changes-from-550.142.patch
patching file Kbuild
patching file nvidia-modeset/nvidia-modeset.Kbuild
patching file nvidia/nvidia.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0049-backport-uvm-warning-fixes-from-510.39.01.patch
# command: patch -p1 < ./patches/0049-backport-uvm-warning-fixes-from-510.39.01.patch
patching file nvidia-uvm/uvm_pascal_mmu.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0049-backport-warning-fixes-from-525.53.patch
# command: patch -p1 < ./patches/0049-backport-warning-fixes-from-525.53.patch
patching file nvidia-drm/nvidia-drm-crtc.c
patching file nvidia-drm/nvidia-drm-modeset.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0050-backport-uvm-warning-fixes-from-535.146.02.patch
# command: patch -p1 < ./patches/0050-backport-uvm-warning-fixes-from-535.146.02.patch
patching file nvidia-uvm/uvm_va_range.c
patching file nvidia-uvm/uvm_va_range.h
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0051-backport-warning-fixes-from-535.216.01.patch
# command: patch -p1 < ./patches/0051-backport-warning-fixes-from-535.216.01.patch
patching file common/inc/nv-linux.h
patching file nvidia-modeset/nv-kthread-q.c
patching file nvidia-modeset/nvidia-modeset-linux.c
patching file nvidia-uvm/nv-kthread-q-selftest.c
patching file nvidia-uvm/nv-kthread-q.c
patching file nvidia/linux_nvswitch.c
patching file nvidia/nv-caps.c
patching file nvidia/nv-dma.c
patching file nvidia/nv-ibmnpu.c
patching file nvidia/nv-kthread-q.c
patching file nvidia/nv-mmap.c
patching file nvidia/nv-procfs.c
patching file nvidia/nv.c
patching file nvidia/nvlink_linux.c
patching file nvidia/os-interface.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0052-backport-uvm-warning-fixes-from-560.28.03.patch
# command: patch -p1 < ./patches/0052-backport-uvm-warning-fixes-from-560.28.03.patch
patching file nvidia-uvm/uvm_kepler_mmu.c
patching file nvidia-uvm/uvm_page_tree_test.c
patching file nvidia-uvm/uvm_pascal_fault_buffer.c
patching file nvidia-uvm/uvm_pascal_mmu.c
patching file nvidia-uvm/uvm_tools.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0053-fix-more-warnings.patch
# command: patch -p1 < ./patches/0053-fix-more-warnings.patch
patching file common/inc/nv-linux.h
patching file nvidia-drm/nvidia-drm-crtc.c
patching file nvidia-modeset/nvidia-modeset-linux.c
patching file nvidia/nv-dma.c
patching file nvidia/nv-frontend.c
patching file nvidia/nv-frontend.h
patching file nvidia/nv-mmap.c
patching file nvidia/nv.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0054-backport-warning-fixes-from-575.51.02.patch
# command: patch -p1 < ./patches/0054-backport-warning-fixes-from-575.51.02.patch
patching file common/inc/nv-proto.h
patching file nvidia-uvm/uvm_gpu_access_counters.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0054-fix-more-uvm-warnings.patch
# command: patch -p1 < ./patches/0054-fix-more-uvm-warnings.patch
patching file nvidia-uvm/uvm_channel_test.c
patching file nvidia-uvm/uvm_gpu.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0055-backport-file_operations_fop_unsigned_offset_present.patch
# command: patch -p1 < ./patches/0055-backport-file_operations_fop_unsigned_offset_present.patch
patching file conftest.sh
patching file nvidia-drm/nvidia-drm-drv.c
patching file nvidia-drm/nvidia-drm.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0056-backport-LD_SCRIPT-changes-from-535.230.02.patch
# command: patch -p1 < ./patches/0056-backport-LD_SCRIPT-changes-from-535.230.02.patch
patching file Makefile
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0057-backport-uvm-fixes-from-535.230.02.patch
# command: patch -p1 < ./patches/0057-backport-uvm-fixes-from-535.230.02.patch
patching file nvidia-uvm/uvm_kvmalloc.c
patching file nvidia-uvm/uvm_mmu.h
patching file nvidia-uvm/uvm_pmm_gpu.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0058-backport-warning-fixes-from-565.57.01.patch
# command: patch -p1 < ./patches/0058-backport-warning-fixes-from-565.57.01.patch
patching file nvidia/nvlink_proto.h
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0059-backport-uvm-warning-fixes-from-550.90.07.patch
# command: patch -p1 < ./patches/0059-backport-uvm-warning-fixes-from-550.90.07.patch
patching file nvidia-uvm/uvm_map_external.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0060-backport-build_cflags-changes-from-525.85.05.patch
# command: patch -p1 < ./patches/0060-backport-build_cflags-changes-from-525.85.05.patch
patching file conftest.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0061-backport-drm_gem_object_vmap_has_map_arg-changes-fro.patch
# command: patch -p1 < ./patches/0061-backport-drm_gem_object_vmap_has_map_arg-changes-fro.patch
patching file conftest.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0063-backport-conftest.sh-comment-changes-from-515.48.07.patch
# command: patch -p1 < ./patches/0063-backport-conftest.sh-comment-changes-from-515.48.07.patch
patching file conftest.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0063-backport-conftest.sh-comment-changes-from-525.53.patch
# command: patch -p1 < ./patches/0063-backport-conftest.sh-comment-changes-from-525.53.patch
patching file conftest.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0063-backport-conftest.sh-comment-changes-from-545.23.06.patch
# command: patch -p1 < ./patches/0063-backport-conftest.sh-comment-changes-from-545.23.06.patch
patching file conftest.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0064-backport-drm_driver_has_date-from-570.124.04.patch
# command: patch -p1 < ./patches/0064-backport-drm_driver_has_date-from-570.124.04.patch
patching file conftest.sh
patching file nvidia-drm/nvidia-drm-drv.c
patching file nvidia-drm/nvidia-drm.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0065-backport-ccflags-y-changes-from-570.153.02.patch
# command: patch -p1 < ./patches/0065-backport-ccflags-y-changes-from-570.153.02.patch
patching file Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0066-backport-nv_timer_delete_sync-changes-from-570.153.0.patch
# command: patch -p1 < ./patches/0066-backport-nv_timer_delete_sync-changes-from-570.153.0.patch
patching file common/inc/nv-timer.h
patching file nvidia-modeset/nvidia-modeset-linux.c
patching file nvidia-modeset/nvidia-modeset.Kbuild
patching file nvidia/nv.c
patching file nvidia/nvidia.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0067-backport-drm_connector_helper_funcs_mode_valid_has_c.patch
# command: patch -p1 < ./patches/0067-backport-drm_connector_helper_funcs_mode_valid_has_c.patch
patching file conftest.sh
patching file nvidia-drm/nvidia-drm-connector.c
patching file nvidia-drm/nvidia-drm.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0071-backport-nv_vma_start_write-changes-from-570.169.patch
# command: patch -p1 < ./patches/0071-backport-nv_vma_start_write-changes-from-570.169.patch
patching file common/inc/nv-mm.h
patching file nvidia-drm/nvidia-drm.Kbuild
patching file nvidia/nv-mmap.c
patching file nvidia/nvidia.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0074-backport-drm_fb_create_takes_format_info-changes-fro.patch
# command: patch -p1 < ./patches/0074-backport-drm_fb_create_takes_format_info-changes-fro.patch
patching file conftest.sh
patching file nvidia-drm/nvidia-drm-drv.c
patching file nvidia-drm/nvidia-drm-fb.c
patching file nvidia-drm/nvidia-drm-fb.h
patching file nvidia-drm/nvidia-drm.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0075-backport-drm_print.h-changes-from-570.211.01.patch
# command: patch -p1 < ./patches/0075-backport-drm_print.h-changes-from-570.211.01.patch
patching file Kbuild
patching file nvidia-drm/nvidia-drm-priv.h
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0076-backport-nv_in_hardirq-changes-from-580.119.02.patch
# command: patch -p1 < ./patches/0076-backport-nv_in_hardirq-changes-from-580.119.02.patch
patching file common/inc/nv-time.h
patching file nvidia/os-interface.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0077-backport-vma_flags_set_word-changes-from-580.126.09.patch
# command: patch -p1 < ./patches/0077-backport-vma_flags_set_word-changes-from-580.126.09.patch
patching file common/inc/nv-mm.h
patching file conftest.sh
patching file nvidia-drm/nvidia-drm.Kbuild
patching file nvidia/nvidia.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0078-backport-vma_flags_set_word-changes-from-580.126.09-.patch
# command: patch -p1 < ./patches/0078-backport-vma_flags_set_word-changes-from-580.126.09-.patch
patching file nvidia-uvm/nvidia-uvm.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0079-backport-dma_map_ops_has_map_phys-changes-from-580.1.patch
# command: patch -p1 < ./patches/0079-backport-dma_map_ops_has_map_phys-changes-from-580.1.patch
patching file conftest.sh
patching file nvidia/nv-dma.c
patching file nvidia/nvidia.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0080-backport-for_each_-_plane_in_state-changes-from-580..patch
# command: patch -p1 < ./patches/0080-backport-for_each_-_plane_in_state-changes-from-580..patch
patching file nvidia-drm/nvidia-drm-helper.c
patching file nvidia-drm/nvidia-drm-modeset.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0081-support-fallback-for-for_each_-_plane_in_state.patch
# command: patch -p1 < ./patches/0081-support-fallback-for-for_each_-_plane_in_state.patch
patching file nvidia-drm/nvidia-drm-helper.c
patching file nvidia-drm/nvidia-drm-helper.h
patching file nvidia-drm/nvidia-drm-modeset.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0082-backport-for_each_-_crtc_in_state-changes-from-580.1.patch
# command: patch -p1 < ./patches/0082-backport-for_each_-_crtc_in_state-changes-from-580.1.patch
patching file nvidia-drm/nvidia-drm-crtc.c
patching file nvidia-drm/nvidia-drm-modeset.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch 0083-support-fallback-for-for_each_-_crtc_in_state.patch
# command: patch -p1 < ./patches/0083-support-fallback-for-for_each_-_crtc_in_state.patch
patching file nvidia-drm/nvidia-drm-crtc.c
patching file nvidia-drm/nvidia-drm-helper.h
patching file nvidia-drm/nvidia-drm-modeset.c
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch conftest-verbose.patch
# command: patch -p1 < ./patches/conftest-verbose.patch
patching file Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch use-kbuild-compiler.patch
# command: patch -p1 < ./patches/use-kbuild-compiler.patch
patching file Makefile
patching file Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch use-kbuild-flags.patch
# command: patch -p1 < ./patches/use-kbuild-flags.patch
patching file Kbuild
patching file nvidia/nvidia.Kbuild
patching file Makefile
patching file nvidia-modeset/nvidia-modeset.Kbuild
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Applying patch conftest-prefer-arch-headers.patch
# command: patch -p1 < ./patches/conftest-prefer-arch-headers.patch
patching file conftest.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Building module(s)
# command: env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=7.0.12+deb14.1-amd64
make KBUILD_OUTPUT=/lib/modules/7.0.12+deb14.1-amd64/build V=1 -C /lib/modules/7.0.12+deb14.1-amd64/source M=/var/lib/dkms/nvidia-tesla-470/470.256.02/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/7.0.12+deb14.1-amd64/source NV_KERNEL_OUTPUT=/lib/modules/7.0.12+deb14.1-amd64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm nvidia-peermem" INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
make[1]: Verzeichnis „/usr/src/linux-headers-7.0.12+deb14.1-common“ wird betreten
make -C /var/lib/dkms/nvidia-tesla-470/470.256.02/build \
-f /usr/src/linux-headers-7.0.12+deb14.1-common/Makefile modules
make[2]: Verzeichnis „/var/lib/dkms/nvidia-tesla-470/470.256.02/build“ wird betreten
make --no-print-directory -C /var/lib/dkms/nvidia-tesla-470/470.256.02/build \
-f /usr/src/linux-headers-7.0.12+deb14.1-common/Makefile modules
make -f /usr/src/linux-headers-7.0.12+deb14.1-common/scripts/Makefile.build obj=. need-builtin=1 need-modorder=1
uname -a
# cmd_mod nvidia.mod
printf '%s
' nvidia/nv.o nvidia/nv-pci.o nvidia/nv-acpi.o nvidia/nv-cray.o nvidia/nv-dma.o nvidia/nv-i2c.o nvidia/nv-mmap.o nvidia/nv-p2p.o nvidia/nv-pat.o nvidia/nv-procfs.o nvidia/nv-procfs-utils.o nvidia/nv-usermap.o nvidia/nv-vm.o nvidia/nv-vtophys.o nvidia/os-interface.o nvidia/os-mlock.o nvidia/os-pci.o nvidia/os-registry.o nvidia/os-usermap.o nvidia/nv-modeset-interface.o nvidia/nv-pci-table.o nvidia/nv-kthread-q.o nvidia/nv-memdbg.o nvidia/nv-ibmnpu.o nvidia/nv-report-err.o nvidia/nv-rsync.o nvidia/nv-msi.o nvidia/nv-caps.o nvidia/nv-frontend.o nvidia/nv_uvm_interface.o nvidia/nvlink_linux.o nvidia/nvlink_caps.o nvidia/linux_nvswitch.o nvidia/procfs_nvswitch.o nvidia/i2c_nvswitch.o nvidia/nv-kernel.o | awk '!x[$0]++ { print("./"$0) }' > nvidia.mod
Linux berlin 6.19.13+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.19.13-1 (2026-04-18) x86_64 GNU/Linux
NV_CONFTEST_CMD=/bin/sh ././conftest.sh "x86_64-linux-gnu-gcc-15" x86_64 /lib/modules/7.0.12+deb14.1-amd64/source /lib/modules/7.0.12+deb14.1-amd64/build
NV_CONFTEST_CFLAGS=-std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest156099" -DKBUILD_MODNAME="#conftest156099" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/15/include -Wno-implicit-function-declaration -Wno-strict-prototypes -I/lib/modules/7.0.12+deb14.1-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/7.0.12+deb14.1-amd64/source/include/asm-x86/mach-default -I/lib/modules/7.0.12+deb14.1-amd64/build/include2 -I/lib/modules/7.0.12+deb14.1-amd64/build/include -include /lib/modules/7.0.12+deb14.1-amd64/build/include/generated/autoconf.h -I/lib/modules/7.0.12+deb14.1-amd64/source/arch/x86/include -I/lib/modules/7.0.12+deb14.1-amd64/source/arch/x86/include/uapi -I/lib/modules/7.0.12+deb14.1-amd64/build/arch/x86/include/generated -I/lib/modules/7.0.12+deb14.1-amd64/build/arch/x86/include/generated/uapi -I/lib/modules/7.0.12+deb14.1-amd64/source/include -I/lib/modules/7.0.12+deb14.1-amd64/source/include/uapi -I/lib/modules/7.0.12+deb14.1-amd64/source/include/xen -I/lib/modules/7.0.12+deb14.1-amd64/build/include/generated/uapi -mfentry -DCC_USING_FENTRY -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -fno-pie
# SYMLINK nvidia/nv-kernel.o
ln -sf /var/lib/dkms/nvidia-tesla-470/470.256.02/build/nvidia/nv-kernel.o_binary nvidia/nv-kernel.o
KBUILD_CFLAGS=-std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g
# cmd_mod nvidia-uvm.mod
printf '%s
' nvidia-uvm/uvm_common.o nvidia-uvm/uvm_linux.o nvidia-uvm/nvstatus.o nvidia-uvm/nvCpuUuid.o nvidia-uvm/nv-kthread-q.o nvidia-uvm/nv-kthread-q-selftest.o nvidia-uvm/uvm.o nvidia-uvm/uvm_tools.o nvidia-uvm/uvm_global.o nvidia-uvm/uvm_gpu.o nvidia-uvm/uvm_gpu_isr.o nvidia-uvm/uvm_procfs.o nvidia-uvm/uvm_va_space.o nvidia-uvm/uvm_va_space_mm.o nvidia-uvm/uvm_gpu_semaphore.o nvidia-uvm/uvm_mem.o nvidia-uvm/uvm_rm_mem.o nvidia-uvm/uvm_channel.o nvidia-uvm/uvm_lock.o nvidia-uvm/uvm_hal.o nvidia-uvm/uvm_range_tree.o nvidia-uvm/uvm_rb_tree.o nvidia-uvm/uvm_range_allocator.o nvidia-uvm/uvm_va_range.o nvidia-uvm/uvm_va_block.o nvidia-uvm/uvm_range_group.o nvidia-uvm/uvm_gpu_replayable_faults.o nvidia-uvm/uvm_gpu_non_replayable_faults.o nvidia-uvm/uvm_gpu_access_counters.o nvidia-uvm/uvm_perf_events.o nvidia-uvm/uvm_perf_module.o nvidia-uvm/uvm_mmu.o nvidia-uvm/uvm_pte_batch.o nvidia-uvm/uvm_tlb_batch.o nvidia-uvm/uvm_push.o nvidia-uvm/uvm_pushbuffer.o nvidia-uvm/uvm_thread_context.o nvidia-uvm/uvm_tracker.o nvidia-uvm/uvm_kepler.o nvidia-uvm/uvm_kepler_ce.o nvidia-uvm/uvm_kepler_host.o nvidia-uvm/uvm_kepler_mmu.o nvidia-uvm/uvm_kepler_fault_buffer.o nvidia-uvm/uvm_kepler_access_counter_buffer.o nvidia-uvm/uvm_maxwell.o nvidia-uvm/uvm_maxwell_host.o nvidia-uvm/uvm_pascal.o nvidia-uvm/uvm_pascal_ce.o nvidia-uvm/uvm_pascal_host.o nvidia-uvm/uvm_pascal_mmu.o nvidia-uvm/uvm_pascal_fault_buffer.o nvidia-uvm/uvm_volta_host.o nvidia-uvm/uvm_volta_mmu.o nvidia-uvm/uvm_volta.o nvidia-uvm/uvm_volta_fault_buffer.o nvidia-uvm/uvm_volta_access_counter_buffer.o nvidia-uvm/uvm_turing.o nvidia-uvm/uvm_turing_access_counter_buffer.o nvidia-uvm/uvm_turing_fault_buffer.o nvidia-uvm/uvm_turing_mmu.o nvidia-uvm/uvm_turing_host.o nvidia-uvm/uvm_ampere.o nvidia-uvm/uvm_ampere_ce.o nvidia-uvm/uvm_ampere_host.o nvidia-uvm/uvm_ampere_mmu.o nvidia-uvm/uvm_policy.o nvidia-uvm/uvm_perf_utils.o nvidia-uvm/uvm_kvmalloc.o nvidia-uvm/uvm_pmm_sysmem.o nvidia-uvm/uvm_pmm_gpu.o nvidia-uvm/uvm_migrate.o nvidia-uvm/uvm_populate_pageable.o nvidia-uvm/uvm_migrate_pageable.o nvidia-uvm/uvm_map_external.o nvidia-uvm/uvm_user_channel.o nvidia-uvm/uvm_hmm.o nvidia-uvm/uvm_perf_heuristics.o nvidia-uvm/uvm_perf_thrashing.o nvidia-uvm/uvm_perf_prefetch.o nvidia-uvm/uvm_ats_ibm.o nvidia-uvm/uvm_ats_faults.o nvidia-uvm/uvm_test.o nvidia-uvm/uvm_test_rng.o nvidia-uvm/uvm_range_tree_test.o nvidia-uvm/uvm_range_allocator_test.o nvidia-uvm/uvm_gpu_semaphore_test.o nvidia-uvm/uvm_mem_test.o nvidia-uvm/uvm_rm_mem_test.o nvidia-uvm/uvm_page_tree_test.o nvidia-uvm/uvm_tracker_test.o nvidia-uvm/uvm_push_test.o nvidia-uvm/uvm_channel_test.o nvidia-uvm/uvm_ce_test.o nvidia-uvm/uvm_host_test.o nvidia-uvm/uvm_lock_test.o nvidia-uvm/uvm_perf_utils_test.o nvidia-uvm/uvm_kvmalloc_test.o nvidia-uvm/uvm_pmm_test.o nvidia-uvm/uvm_pmm_sysmem_test.o nvidia-uvm/uvm_perf_events_test.o nvidia-uvm/uvm_perf_module_test.o nvidia-uvm/uvm_get_rm_ptes_test.o nvidia-uvm/uvm_fault_buffer_flush_test.o nvidia-uvm/uvm_mmu_test.o nvidia-uvm/uvm_peer_identity_mappings_test.o nvidia-uvm/uvm_va_block_test.o nvidia-uvm/uvm_range_group_tree_test.o nvidia-uvm/uvm_thread_context_test.o nvidia-uvm/uvm_rb_tree_test.o | awk '!x[$0]++ { print("./"$0) }' > nvidia-uvm.mod
LINUXINCLUDE=-I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h
# cmd_mod nvidia-modeset.mod
printf '%s
' nvidia-modeset/nvidia-modeset-linux.o nvidia-modeset/nv-kthread-q.o nvidia-modeset/nv-modeset-kernel.o | awk '!x[$0]++ { print("./"$0) }' > nvidia-modeset.mod
LDFLAGS=
# SYMLINK nvidia-modeset/nv-modeset-kernel.o
ln -sf /var/lib/dkms/nvidia-tesla-470/470.256.02/build/nvidia-modeset/nv-modeset-kernel.o_binary nvidia-modeset/nv-modeset-kernel.o
KBUILD_LDFLAGS=-m elf_x86_64 -z noexecstack --no-warn-rwx-segments
# cmd_mod nvidia-drm.mod
printf '%s
' nvidia-drm/nvidia-drm.o nvidia-drm/nvidia-drm-drv.o nvidia-drm/nvidia-drm-utils.o nvidia-drm/nvidia-drm-crtc.o nvidia-drm/nvidia-drm-encoder.o nvidia-drm/nvidia-drm-connector.o nvidia-drm/nvidia-drm-gem.o nvidia-drm/nvidia-drm-fb.o nvidia-drm/nvidia-drm-modeset.o nvidia-drm/nvidia-drm-prime-fence.o nvidia-drm/nvidia-drm-linux.o nvidia-drm/nvidia-drm-helper.o nvidia-drm/nv-pci-table.o nvidia-drm/nvidia-drm-gem-nvkms-memory.o nvidia-drm/nvidia-drm-gem-user-memory.o nvidia-drm/nvidia-drm-gem-dma-buf.o nvidia-drm/nvidia-drm-format.o | awk '!x[$0]++ { print("./"$0) }' > nvidia-drm.mod
ARCH=x86_64
# cmd_mod nvidia-peermem.mod
printf '%s
' nvidia-peermem/nvidia-peermem.o | awk '!x[$0]++ { print("./"$0) }' > nvidia-peermem.mod
CONFTEST: cc_sanity_check
CONFTEST: cc_version_check
CONFTEST: dom0_sanity_check
CONFTEST: xen_sanity_check
CONFTEST: preempt_rt_sanity_check
CONFTEST: vgpu_kvm_sanity_check
CONFTEST: module_symvers_sanity_check
CONFTEST: asm/system.h
CONFTEST: drm/drmP.h
CONFTEST: drm/drm_print.h
CONFTEST: drm/drm_auth.h
CONFTEST: drm/drm_gem.h
CONFTEST: drm/drm_crtc.h
CONFTEST: drm/drm_atomic.h
CONFTEST: drm/drm_atomic_helper.h
CONFTEST: drm/drm_encoder.h
CONFTEST: drm/drm_atomic_uapi.h
CONFTEST: drm/drm_drv.h
CONFTEST: drm/drm_framebuffer.h
CONFTEST: drm/drm_connector.h
CONFTEST: drm/drm_probe_helper.h
CONFTEST: drm/drm_blend.h
CONFTEST: drm/drm_fourcc.h
CONFTEST: drm/drm_prime.h
CONFTEST: drm/drm_plane.h
CONFTEST: drm/drm_vblank.h
CONFTEST: drm/drm_file.h
CONFTEST: drm/drm_ioctl.h
CONFTEST: drm/drm_device.h
CONFTEST: drm/drm_mode_config.h
CONFTEST: dt-bindings/interconnect/tegra_icc_id.h
CONFTEST: generated/autoconf.h
CONFTEST: generated/compile.h
CONFTEST: generated/utsrelease.h
CONFTEST: linux/efi.h
CONFTEST: linux/kconfig.h
CONFTEST: linux/platform/tegra/mc_utils.h
CONFTEST: linux/semaphore.h
CONFTEST: linux/printk.h
CONFTEST: linux/ratelimit.h
CONFTEST: linux/prio_tree.h
CONFTEST: linux/log2.h
CONFTEST: linux/of.h
CONFTEST: linux/bug.h
CONFTEST: linux/sched/signal.h
CONFTEST: linux/sched/task.h
CONFTEST: linux/sched/task_stack.h
CONFTEST: xen/ioemu.h
CONFTEST: linux/fence.h
CONFTEST: linux/dma-resv.h
CONFTEST: soc/tegra/chip-id.h
CONFTEST: soc/tegra/fuse.h
CONFTEST: soc/tegra/tegra_bpmp.h
CONFTEST: video/nv_internal.h
CONFTEST: linux/platform/tegra/dce/dce-client-ipc.h
CONFTEST: linux/nvhost.h
CONFTEST: linux/nvhost_t194.h
CONFTEST: asm/book3s/64/hash-64k.h
CONFTEST: asm/set_memory.h
CONFTEST: asm/prom.h
CONFTEST: asm/powernv.h
CONFTEST: linux/atomic.h
CONFTEST: asm/barrier.h
CONFTEST: asm/opal-api.h
CONFTEST: sound/hdaudio.h
CONFTEST: asm/pgtable_types.h
CONFTEST: asm/page.h
CONFTEST: linux/stringhash.h
CONFTEST: linux/dma-map-ops.h
CONFTEST: rdma/peer_mem.h
CONFTEST: sound/hda_codec.h
CONFTEST: linux/dma-buf.h
CONFTEST: linux/time.h
CONFTEST: linux/stdarg.h
CONFTEST: linux/iosys-map.h
CONFTEST: asm/coco.h
CONFTEST macros.h:
CONFTEST patches.h:
static struct {
const char *short_description;
const char *description;
} __nv_patches[] = {
{ NULL, NULL } };
CONFTEST headers.h:
#undef NV_ASM_SYSTEM_H_PRESENT
#undef NV_DRM_DRMP_H_PRESENT
#define NV_DRM_DRM_PRINT_H_PRESENT
#define NV_DRM_DRM_AUTH_H_PRESENT
#define NV_DRM_DRM_GEM_H_PRESENT
#define NV_DRM_DRM_CRTC_H_PRESENT
#define NV_DRM_DRM_ATOMIC_H_PRESENT
#define NV_DRM_DRM_ATOMIC_HELPER_H_PRESENT
#define NV_DRM_DRM_ENCODER_H_PRESENT
#define NV_DRM_DRM_ATOMIC_UAPI_H_PRESENT
#define NV_DRM_DRM_DRV_H_PRESENT
#define NV_DRM_DRM_FRAMEBUFFER_H_PRESENT
#define NV_DRM_DRM_CONNECTOR_H_PRESENT
#define NV_DRM_DRM_PROBE_HELPER_H_PRESENT
#define NV_DRM_DRM_BLEND_H_PRESENT
#define NV_DRM_DRM_FOURCC_H_PRESENT
#define NV_DRM_DRM_PRIME_H_PRESENT
#define NV_DRM_DRM_PLANE_H_PRESENT
#define NV_DRM_DRM_VBLANK_H_PRESENT
#define NV_DRM_DRM_FILE_H_PRESENT
#define NV_DRM_DRM_IOCTL_H_PRESENT
#define NV_DRM_DRM_DEVICE_H_PRESENT
#define NV_DRM_DRM_MODE_CONFIG_H_PRESENT
#undef NV_DT_BINDINGS_INTERCONNECT_TEGRA_ICC_ID_H_PRESENT
#define NV_GENERATED_AUTOCONF_H_PRESENT
#define NV_GENERATED_COMPILE_H_PRESENT
#define NV_GENERATED_UTSRELEASE_H_PRESENT
#define NV_LINUX_EFI_H_PRESENT
#define NV_LINUX_KCONFIG_H_PRESENT
#undef NV_LINUX_PLATFORM_TEGRA_MC_UTILS_H_PRESENT
#define NV_LINUX_SEMAPHORE_H_PRESENT
#define NV_LINUX_PRINTK_H_PRESENT
#define NV_LINUX_RATELIMIT_H_PRESENT
#undef NV_LINUX_PRIO_TREE_H_PRESENT
#define NV_LINUX_LOG2_H_PRESENT
#define NV_LINUX_OF_H_PRESENT
#define NV_LINUX_BUG_H_PRESENT
#define NV_LINUX_SCHED_SIGNAL_H_PRESENT
#define NV_LINUX_SCHED_TASK_H_PRESENT
#define NV_LINUX_SCHED_TASK_STACK_H_PRESENT
#undef NV_XEN_IOEMU_H_PRESENT
#undef NV_LINUX_FENCE_H_PRESENT
#define NV_LINUX_DMA_RESV_H_PRESENT
#undef NV_SOC_TEGRA_CHIP_ID_H_PRESENT
#define NV_SOC_TEGRA_FUSE_H_PRESENT
#undef NV_SOC_TEGRA_TEGRA_BPMP_H_PRESENT
#undef NV_VIDEO_NV_INTERNAL_H_PRESENT
#undef NV_LINUX_PLATFORM_TEGRA_DCE_DCE_CLIENT_IPC_H_PRESENT
#undef NV_LINUX_NVHOST_H_PRESENT
#undef NV_LINUX_NVHOST_T194_H_PRESENT
#undef NV_ASM_BOOK3S_64_HASH_64K_H_PRESENT
#define NV_ASM_SET_MEMORY_H_PRESENT
#define NV_ASM_PROM_H_PRESENT
#undef NV_ASM_POWERNV_H_PRESENT
#define NV_LINUX_ATOMIC_H_PRESENT
#define NV_ASM_BARRIER_H_PRESENT
#undef NV_ASM_OPAL_API_H_PRESENT
#define NV_SOUND_HDAUDIO_H_PRESENT
#define NV_ASM_PGTABLE_TYPES_H_PRESENT
#define NV_ASM_PAGE_H_PRESENT
#define NV_LINUX_STRINGHASH_H_PRESENT
#define NV_LINUX_DMA_MAP_OPS_H_PRESENT
#undef NV_RDMA_PEER_MEM_H_PRESENT
#define NV_SOUND_HDA_CODEC_H_PRESENT
#define NV_LINUX_DMA_BUF_H_PRESENT
#define NV_LINUX_TIME_H_PRESENT
#define NV_LINUX_STDARG_H_PRESENT
#define NV_LINUX_IOSYS_MAP_H_PRESENT
#define NV_ASM_COCO_H_PRESENT
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: set_pages_array_uc
CONFTEST: acquire_console_sem
CONFTEST: console_lock
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: acpi_walk_namespace
CONFTEST: sg_alloc_table
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: efi_enabled
CONFTEST: pde_data
CONFTEST: PDE_DATA
CONFTEST: proc_remove
CONFTEST: pm_vt_switch_required
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: dma_attr_macros
CONFTEST: dma_map_page_attrs
CONFTEST: write_cr4
CONFTEST: of_get_property
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: of_get_ibm_chip_id
CONFTEST: node_end_pfn
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_remove_bus_device
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: backlight_device_register
CONFTEST: get_backlight_device_by_name
CONFTEST: timer_setup
CONFTEST: pci_enable_msix_range
CONFTEST: kernel_read_has_pointer_pos_arg
CONFTEST: kernel_write
CONFTEST: kthread_create_on_node
CONFTEST: of_find_matching_node
CONFTEST: dev_is_pci
CONFTEST: dma_direct_map_resource
CONFTEST: tegra_get_platform
CONFTEST: tegra_bpmp_send_receive
CONFTEST: flush_cache_all
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: full_name_hash
CONFTEST: hlist_for_each_entry
CONFTEST: pci_enable_atomic_ops_to_root
CONFTEST: pgprot_decrypted
CONFTEST: vga_tryget
CONFTEST: cc_mkdec
CONFTEST: iterate_fd
CONFTEST: seq_read_iter
CONFTEST: sg_page_iter_page
CONFTEST: follow_pfn
CONFTEST: drm_gem_object_get
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: set_close_on_exec
CONFTEST: dma_set_coherent_mask
CONFTEST: acpi_bus_get_device
CONFTEST: dma_map_ops_has_map_phys
CONFTEST: get_task_ioprio
CONFTEST: vma_flags_set_word
CONFTEST: vm_flags_set
CONFTEST: address_space_init_once
CONFTEST: kbasename
CONFTEST: vzalloc
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: bitmap_clear
CONFTEST: usleep_range
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: pnv_npu2_init_context
CONFTEST: cpumask_of_node
CONFTEST: acpi_video_backlight_use_native
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_ref_counting
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: drm_framebuffer_get
CONFTEST: drm_dev_put
CONFTEST: drm_format_num_planes
CONFTEST: drm_connector_for_each_possible_encoder
CONFTEST: drm_rotation_available
CONFTEST: drm_vma_offset_exact_lookup_locked
CONFTEST: is_export_symbol_gpl_of_node_to_nid
CONFTEST: is_export_symbol_gpl_sme_active
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
CONFTEST: is_export_symbol_present_swiotlb_dma_ops
CONFTEST: is_export_symbol_present___close_fd
CONFTEST: is_export_symbol_present_close_fd
CONFTEST: is_export_symbol_present_get_unused_fd
CONFTEST: is_export_symbol_present_get_unused_fd_flags
CONFTEST: is_export_symbol_present_nvhost_get_default_device
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture
CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv
CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk
CONFTEST: is_export_symbol_present_get_dram_num_channels
CONFTEST: is_export_symbol_present_tegra_dram_types
CONFTEST: is_export_symbol_gpl_screen_info
CONFTEST: is_export_symbol_present_screen_info
CONFTEST: is_export_symbol_present_timer_delete_sync
CONFTEST: is_export_symbol_gpl___vma_start_write
CONFTEST: is_export_symbol_present_kthread_create_on_node
CONFTEST: acpi_op_remove
CONFTEST: file_operations
CONFTEST: file_inode
CONFTEST: kuid_t
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_has_address
CONFTEST: backlight_properties_type
CONFTEST: vm_insert_pfn_prot
CONFTEST: vmf_insert_pfn_prot
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: vmbus_channel_has_ringbuffer_page
CONFTEST: device_driver_of_match_table
CONFTEST: device_of_node
CONFTEST: node_states_n_memory
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: sysfs_slab_unlink
CONFTEST: proc_ops
CONFTEST: timespec64
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: acpi_fadt_low_power_s0
CONFTEST: mm_has_mmap_lock
CONFTEST: pci_channel_state
CONFTEST: num_registered_fb
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: vm_fault_t
CONFTEST: mmu_notifier_ops_invalidate_range
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_device_list
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: dma_buf_owner
CONFTEST: drm_connector_list_iter
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: drm_gem_object_has_resv
CONFTEST: drm_crtc_state_has_async_flip
CONFTEST: drm_crtc_state_has_pageflip_flags
CONFTEST: drm_format_modifiers_present
CONFTEST: drm_vma_node_is_allowed_has_tag_arg
CONFTEST: drm_vma_offset_node_has_readonly
CONFTEST: drm_display_mode_has_vrefresh
CONFTEST: drm_driver_master_set_has_int_return_type
CONFTEST: drm_driver_has_gem_free_object
CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
CONFTEST: drm_driver_has_gem_prime_callbacks
CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
CONFTEST: drm_gem_object_vmap_has_map_arg
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
CONFTEST: drm_device_has_pdev
CONFTEST: drm_mode_config_has_allow_fb_modifiers
CONFTEST: dma_resv_add_fence
CONFTEST: dma_resv_reserve_fences
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: drm_connector_has_override_edid
CONFTEST: drm_driver_has_dumb_destroy
CONFTEST: drm_unlocked_ioctl_flag_present
CONFTEST: drm_output_poll_changed
CONFTEST: drm_driver_has_date
CONFTEST: file_operations_fop_unsigned_offset_present
CONFTEST: drm_connector_helper_funcs_mode_valid_has_const_mode_arg
CONFTEST: drm_fb_create_takes_format_info
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: nvidia_grid_csp_build
CONFTEST: pm_runtime_available
CONFTEST: pci_class_multimedia_hd_audio
CONFTEST: drm_available
CONFTEST: drm_atomic_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CONFTEST functions.h:
#undef NV_HASH__REMAP_4K_PFN_PRESENT
#define NV_SET_PAGES_UC_PRESENT
#define NV_LIST_IS_FIRST_PRESENT
#define NV_SET_MEMORY_UC_PRESENT
#undef NV_SET_MEMORY_ARRAY_UC_PRESENT
#define NV_SET_PAGES_ARRAY_UC_PRESENT
#undef NV_ACQUIRE_CONSOLE_SEM_PRESENT
#define NV_CONSOLE_LOCK_PRESENT
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#define NV_ACPI_WALK_NAMESPACE_PRESENT
#define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
#define NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT
#define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
#define NV_GET_NUM_PHYSPAGES_PRESENT
#define NV_EFI_ENABLED_PRESENT
#define NV_EFI_ENABLED_ARGUMENT_COUNT 1
#define NV_PDE_DATA_PRESENT
#undef NV_PDE_DATA_UPPER_CASE_PRESENT
#define NV_PROC_REMOVE_PRESENT
#define NV_PM_VT_SWITCH_REQUIRED_PRESENT
#undef NV_XEN_IOEMU_INJECT_MSI
#undef NV_PHYS_TO_DMA_PRESENT
#define NV_GET_DMA_OPS_PRESENT
#define NV_DMA_ATTR_SKIP_CPU_SYNC_PRESENT
#define NV_DMA_MAP_PAGE_ATTRS_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_GET_PROPERTY_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_FIND_NODE_BY_PHANDLE_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_NODE_TO_NID_PRESENT
#undef NV_PNV_PCI_GET_NPU_DEV_PRESENT
#undef NV_OF_GET_IBM_CHIP_ID_PRESENT
#define NV_NODE_END_PFN_PRESENT
#define NV_PCI_BUS_ADDRESS_PRESENT
#define NV_PCI_STOP_AND_REMOVE_BUS_DEVICE_PRESENT
#undef NV_PCI_REMOVE_BUS_DEVICE_PRESENT
#undef NV_REGISTER_CPU_NOTIFIER_PRESENT
#define NV_CPUHP_SETUP_STATE_PRESENT
#define NV_DMA_MAP_RESOURCE_PRESENT
#define NV_BACKLIGHT_DEVICE_REGISTER_PRESENT
#undef NV_GET_BACKLIGHT_DEVICE_BY_NAME_PRESENT
#define NV_TIMER_SETUP_PRESENT
#define NV_PCI_ENABLE_MSIX_RANGE_PRESENT
#define NV_KERNEL_READ_HAS_POINTER_POS_ARG
#define NV_KERNEL_WRITE_PRESENT
#define NV_KERNEL_WRITE_HAS_POINTER_POS_ARG
#define NV_KTHREAD_CREATE_ON_NODE_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_FIND_MATCHING_NODE_PRESENT
#define NV_DEV_IS_PCI_PRESENT
#undef NV_DMA_IS_DIRECT_PRESENT
#define NV_TEGRA_GET_PLATFORM_PRESENT
#undef NV_TEGRA_BPMP_SEND_RECEIVE
#define NV_FLUSH_CACHE_ALL_PRESENT
#define NV_VMF_INSERT_PFN_PRESENT
#undef NV_JIFFIES_TO_TIMESPEC_PRESENT
#define NV_KTIME_GET_RAW_TS64_PRESENT
#define NV_KTIME_GET_REAL_TS64_PRESENT
#define NV_FULL_NAME_HASH_ARGUMENT_COUNT 3
#define NV_HLIST_FOR_EACH_ENTRY_ARGUMENT_COUNT 3
#define NV_PCI_ENABLE_ATOMIC_OPS_TO_ROOT_PRESENT
#undef NV_VGA_TRYGET_PRESENT
#define NV_PGPROT_DECRYPTED_PRESENT
#define NV_CC_MKDEC_PRESENT
#define NV_ITERATE_FD_PRESENT
#define NV_SEQ_READ_ITER_PRESENT
#define NV_SG_PAGE_ITER_PAGE_PRESENT
#undef NV_FOLLOW_PFN_PRESENT
#define NV_DRM_GEM_OBJECT_GET_PRESENT
#undef NV_DRM_GEM_OBJECT_PUT_UNLOCK_PRESENT
#undef NV_SET_CLOSE_ON_EXEC_PRESENT
#define NV_DMA_SET_COHERENT_MASK_PRESENT
#undef NV_ACPI_BUS_GET_DEVICE_PRESENT
#define NV_DMA_MAP_OPS_HAS_MAP_PHYS
#define NV_GET_TASK_IOPRIO_PRESENT
#define NV_VMA_FLAGS_SET_WORD_PRESENT
#define NV_VM_FLAGS_SET_PRESENT
#define NV_ADDRESS_SPACE_INIT_ONCE_PRESENT
#define NV_KBASENAME_PRESENT
#define NV_VZALLOC_PRESENT
#define NV_WAIT_ON_BIT_LOCK_ARGUMENT_COUNT 3
#define NV_BITMAP_CLEAR_PRESENT
#define NV_USLEEP_RANGE_PRESENT
#define NV_RADIX_TREE_EMPTY_PRESENT
#define NV_RADIX_TREE_REPLACE_SLOT_PRESENT
#define NV_RADIX_TREE_REPLACE_SLOT_ARGUMENT_COUNT 3
#undef NV_PNV_NPU2_INIT_CONTEXT_PRESENT
#undef NV_PNV_NPU2_INIT_CONTEXT_CALLBACK_RETURNS_VOID
#define NV_CPUMASK_OF_NODE_PRESENT
#define NV_ACPI_VIDEO_BACKLIGHT_USE_NATIVE
#undef NV_DRM_DEV_UNREF_PRESENT
#undef NV_DRM_REINIT_PRIMARY_MODE_GROUP_PRESENT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_LOCKED_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED_VMAS
#define NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED
#undef NV_GET_USER_PAGES_HAS_ARGS_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_FLAGS_VMAS
#define NV_GET_USER_PAGES_HAS_ARGS_FLAGS
#define NV_DRM_GEM_OBJECT_LOOKUP_ARGUMENT_COUNT 2
#define NV_DRM_ATOMIC_STATE_REF_COUNTING_PRESENT
#undef NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ
#undef NV_DRM_ATOMIC_HELPER_CONNECTOR_DPMS_PRESENT
#undef NV_DRM_CONNECTOR_FUNCS_HAVE_MODE_IN_NAME
#define NV_DRM_FRAMEBUFFER_GET_PRESENT
#define NV_DRM_DEV_PUT_PRESENT
#undef NV_DRM_FORMAT_NUM_PLANES_PRESENT
#define NV_DRM_CONNECTOR_FOR_EACH_POSSIBLE_ENCODER_ARGUMENT_COUNT 2
#define NV_DRM_ROTATION_AVAILABLE
#define NV_DRM_VMA_OFFSET_EXACT_LOOKUP_LOCKED_PRESENT
CONFTEST symbols.h:
#define NV_IS_EXPORT_SYMBOL_GPL_of_node_to_nid 0
#define NV_IS_EXPORT_SYMBOL_GPL_sme_active 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_map_sg_attrs 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_dma_ops 0
#define NV_IS_EXPORT_SYMBOL_PRESENT___close_fd 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_close_fd 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_unused_fd 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_unused_fd_flags 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_nvhost_get_default_device 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_nvhost_syncpt_unit_interface_get_byte_offset 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_nvhost_syncpt_unit_interface_get_aperture 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dce_register_ipc_client 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dce_unregister_ipc_client 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dce_client_ipc_send_recv 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_dram_clk_to_mc_clk 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_dram_num_channels 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dram_types 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_screen_info 0
#define NV_IS_EXPORT_SYMBOL_GPL_screen_info 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_timer_delete_sync 1
#define NV_IS_EXPORT_SYMBOL_GPL___vma_start_write 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_kthread_create_on_node 1
CONFTEST types.h:
#undef NV_ACPI_DEVICE_OPS_REMOVE_ARGUMENT_COUNT
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_HAS_INODE
#define NV_KUID_T_PRESENT
#undef NV_DMA_OPS_PRESENT
#undef NV_SWIOTLB_DMA_OPS_PRESENT
#undef NV_NONCOHERENT_SWIOTLB_DMA_OPS_PRESENT
#define NV_VM_FAULT_HAS_ADDRESS
#define NV_BACKLIGHT_PROPERTIES_TYPE_PRESENT
#undef NV_VM_INSERT_PFN_PROT_PRESENT
#define NV_VMF_INSERT_PFN_PROT_PRESENT
#define NV_ADDRESS_SPACE_INIT_ONCE_PRESENT
#define NV_VM_OPS_FAULT_REMOVED_VMA_ARG
#define NV_VMBUS_CHANNEL_HAS_RING_BUFFER_PAGE
#define NV_DEVICE_DRIVER_OF_MATCH_TABLE_PRESENT
#define NV_DEVICE_OF_NODE_PRESENT
#define NV_NODE_STATES_N_MEMORY_PRESENT
#undef NV_KMEM_CACHE_HAS_KOBJ_REMOVE_WORK
#undef NV_SYSFS_SLAB_UNLINK_PRESENT
#define NV_PROC_OPS_PRESENT
#define NV_TIMESPEC64_PRESENT
#undef NV_VMALLOC_HAS_PGPROT_T_ARG
#define NV_ACPI_FADT_LOW_POWER_S0_FLAG_PRESENT
#define NV_MM_HAS_MMAP_LOCK
#undef NV_PCI_CHANNEL_STATE_PRESENT
#undef NV_NUM_REGISTERED_FB_PRESENT
#undef NV_ADDRESS_SPACE_HAS_RWLOCK_TREE_LOCK
#undef NV_ADDRESS_SPACE_HAS_BACKING_DEV_INFO
#undef NV_MM_CONTEXT_T_HAS_ID
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_LOCKED_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED_VMAS
#define NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED
#undef NV_GET_USER_PAGES_HAS_ARGS_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_FLAGS_VMAS
#define NV_GET_USER_PAGES_HAS_ARGS_FLAGS
#define NV_VM_FAULT_T_IS_PRESENT
#undef NV_MMU_NOTIFIER_OPS_HAS_INVALIDATE_RANGE
#undef NV_DRM_BUS_PRESENT
#undef NV_DRM_BUS_HAS_BUS_TYPE
#undef NV_DRM_BUS_HAS_GET_IRQ
#undef NV_DRM_BUS_HAS_GET_NAME
#undef NV_DRM_DRIVER_HAS_DEVICE_LIST
#undef NV_DRM_DRIVER_HAS_LEGACY_DEV_LIST
#undef NV_DRM_DRIVER_HAS_SET_BUSID
#define NV_DRM_CRTC_STATE_HAS_CONNECTORS_CHANGED
#define NV_DRM_CRTC_INIT_WITH_PLANES_HAS_NAME_ARG
#define NV_DRM_ENCODER_INIT_HAS_NAME_ARG
#define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_FORMAT_MODIFIERS_ARG
#define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_NAME_ARG
#define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_DEV_ARG
#define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_CONST_MODE_CMD_ARG
#undef NV_DRM_MASTER_DROP_HAS_FROM_RELEASE_ARG
#undef NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
#undef NV_DRM_ATOMIC_HELPER_CRTC_DESTROY_STATE_HAS_CRTC_ARG
#undef NV_DRM_ATOMIC_HELPER_PLANE_DESTROY_STATE_HAS_PLANE_ARG
#define NV_DRM_MODE_OBJECT_FIND_HAS_FILE_PRIV_ARG
#define NV_DMA_BUF_OWNER_PRESENT
#undef NV_DRM_CONNECTOR_LIST_ITER_PRESENT
#define NV_DRM_CONNECTOR_LIST_ITER_BEGIN_PRESENT
#define NV_DRM_ATOMIC_HELPER_SWAP_STATE_HAS_STALL_ARG
#define NV_DRM_ATOMIC_HELPER_SWAP_STATE_RETURN_INT
#undef NV_DRM_DRIVER_PRIME_FLAG_PRESENT
#define NV_DRM_GEM_OBJECT_HAS_RESV
#define NV_DRM_CRTC_STATE_HAS_ASYNC_FLIP
#undef NV_DRM_CRTC_STATE_HAS_PAGEFLIP_FLAGS
#define NV_DRM_FORMAT_MODIFIERS_PRESENT
#define NV_DRM_VMA_NODE_IS_ALLOWED_HAS_TAG_ARG
#undef NV_DRM_VMA_OFFSET_NODE_HAS_READONLY
#undef NV_DRM_DISPLAY_MODE_HAS_VREFRESH
#undef NV_DRM_DRIVER_SET_MASTER_HAS_INT_RETURN_TYPE
#undef NV_DRM_DRIVER_HAS_GEM_FREE_OBJECT
#define NV_DRM_PRIME_PAGES_TO_SG_HAS_DRM_DEVICE_ARG
#undef NV_DRM_DRIVER_HAS_GEM_PRIME_CALLBACKS
#define NV_DRM_CRTC_ATOMIC_CHECK_HAS_ATOMIC_STATE_ARG
#define NV_DRM_GEM_OBJECT_VMAP_HAS_MAP_ARG
#define NV_DRM_PLANE_ATOMIC_CHECK_HAS_ATOMIC_STATE_ARG
#undef NV_DRM_DEVICE_HAS_PDEV
#undef NV_DRM_MODE_CONFIG_HAS_ALLOW_FB_MODIFIERS
#define NV_DMA_RESV_ADD_FENCE_PRESENT
#define NV_DMA_RESV_RESERVE_FENCES_PRESENT
#undef NV_RESERVATION_OBJECT_RESERVE_SHARED_HAS_NUM_FENCES_ARG
#undef NV_DRM_CONNECTOR_HAS_OVERRIDE_EDID
#undef NV_DRM_DRIVER_HAS_DUMB_DESTROY
#undef NV_DRM_UNLOCKED_IOCTL_FLAG_PRESENT
#undef NV_DRM_OUTPUT_POLL_CHANGED_PRESENT
#undef NV_DRM_DRIVER_HAS_DATE
#define NV_FILE_OPERATIONS_FOP_UNSIGNED_OFFSET_PRESENT
#define NV_DRM_CONNECTOR_HELPER_FUNCS_MODE_VALID_HAS_CONST_MODE_ARG
#define NV_DRM_FB_CREATE_TAKES_FORMAT_INFO
CONFTEST generic.h:
#undef NV_DOM0_KERNEL_PRESENT
#undef NV_VGPU_KVM_BUILD
#undef NV_GRID_BUILD
#undef NV_GRID_BUILD_CSP
#undef NV_GET_USER_PAGES_HAS_ARGS_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_FLAGS_VMAS
#define NV_GET_USER_PAGES_HAS_ARGS_FLAGS
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_LOCKED_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED_VMAS
#define NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED
#define NV_PM_RUNTIME_AVAILABLE
#define NV_VM_FAULT_T_IS_PRESENT
#define NV_PCI_CLASS_MULTIMEDIA_HD_AUDIO_PRESENT
#define NV_DRM_AVAILABLE
#define NV_DRM_ATOMIC_MODESET_AVAILABLE
#define NV_IS_EXPORT_SYMBOL_GPL_refcount_inc 0
#define NV_IS_EXPORT_SYMBOL_GPL_refcount_dec_and_test 0
#define NV_DRM_ALPHA_BLENDING_AVAILABLE
#define NV_IS_EXPORT_SYMBOL_PRESENT_drm_gem_prime_fd_to_handle 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_drm_gem_prime_handle_to_fd 1
#define NV_IS_EXPORT_SYMBOL_GPL___vma_start_write 1
#undef NV_MLNX_IB_PEER_MEM_SYMBOLS_PRESENT
# CC [M] nvidia/nv.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv.o nvidia/nv.c
# CC [M] nvidia/nv-pci.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-pci.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_pci"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-pci.o nvidia/nv-pci.c
# CC [M] nvidia/nv-acpi.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-acpi.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-acpi.o nvidia/nv-acpi.c
# CC [M] nvidia/nv-cray.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-cray.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-cray.o nvidia/nv-cray.c
# CC [M] nvidia/nv-dma.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-dma.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-dma.o nvidia/nv-dma.c
# CC [M] nvidia/nv-i2c.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-i2c.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-i2c.o nvidia/nv-i2c.c
# CC [M] nvidia/nv-mmap.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-mmap.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-mmap.o nvidia/nv-mmap.c
# CC [M] nvidia/nv-p2p.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-p2p.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-p2p.o nvidia/nv-p2p.c
# CC [M] nvidia/nv-pat.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-pat.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-pat.o nvidia/nv-pat.c
# CC [M] nvidia/nv-procfs.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-procfs.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-procfs.o nvidia/nv-procfs.c
# CC [M] nvidia/nv-procfs-utils.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-procfs-utils.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_procfs_utils"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-procfs-utils.o nvidia/nv-procfs-utils.c
# CC [M] nvidia/nv-usermap.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-usermap.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-usermap.o nvidia/nv-usermap.c
# CC [M] nvidia/nv-vm.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-vm.o.d -nostdinc -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.12+deb14.1-common/include -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include -I/usr/src/linux-headers-7.0.12+deb14.1-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-common/include/uapi -I/usr/src/linux-headers-7.0.12+deb14.1-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.256.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-vm.o nvidia/nv-vm.c
nvidia/nv-mmap.c: In function ‘nv_vma_enter_locked’:
nvidia/nv-mmap.c:805:24: error: ‘VMA_LOCK_OFFSET’ undeclared (first use in this function); did you mean ‘VGA_CRTC_OFFSET’?
805 | NvU32 tgt_refcnt = VMA_LOCK_OFFSET;
| ^~~~~~~~~~~~~~~
| VGA_CRTC_OFFSET
nvidia/nv-mmap.c:805:24: note: each undeclared identifier is reported only once for each function it appears in
nvidia/nv-mmap.c: In function ‘nv_vma_start_write’:
nvidia/nv-mmap.c:857:9: error: too many arguments to function ‘__is_vma_write_locked’; expected 1, have 2
857 | if (__is_vma_write_locked(vma, &mm_lock_seq))
| ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
In file included from /usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/mm.h:18,
from ././common/inc/nv-pgprot.h:17,
from ././common/inc/nv-linux.h:20,
from nvidia/nv-mmap.c:14:
/usr/src/linux-headers-7.0.12+deb14.1-common/include/linux/mmap_lock.h:282:20: note: declared here
282 | static inline bool __is_vma_write_locked(struct vm_area_struct *vma)
| ^~~~~~~~~~~~~~~~~~~~~
nvidia/nv-mmap.c:866:42: error: ‘VMA_LOCK_OFFSET’ undeclared (first use in this function); did you mean ‘VGA_CRTC_OFFSET’?
866 | detached = refcount_sub_and_test(VMA_LOCK_OFFSET, &vma->vm_refcnt);
| ^~~~~~~~~~~~~~~
| VGA_CRTC_OFFSET
make[4]: *** [/usr/src/linux-headers-7.0.12+deb14.1-common/scripts/Makefile.build:294: nvidia/nv-mmap.o] Fehler 1
make[4]: *** Es wird auf noch nicht beendete Prozesse gewartet …
make[3]: *** [/usr/src/linux-headers-7.0.12+deb14.1-common/Makefile:2134: .] Fehler 2
make[2]: *** [/usr/src/linux-headers-7.0.12+deb14.1-common/Makefile:260: __sub-make] Fehler 2
make[2]: Verzeichnis „/var/lib/dkms/nvidia-tesla-470/470.256.02/build“ wird verlassen
make[1]: *** [Makefile:260: __sub-make] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-7.0.12+deb14.1-common“ wird verlassen
make: *** [Makefile:90: modules] Fehler 2
# exit code: 2
# elapsed time: 00:00:22
----------------------------------------------------------------
More information about the pkg-nvidia-devel
mailing list