NoPaste

dkms

von Emess

SNIPPET_TEXT:
  1. DKMS make.log for nvidia-legacy-390xx-390.151 for kernel 5.18.0-1-amd64 (x86_64)
  2. So 19. Jun 12:03:18 CEST 2022
  3. make KBUILD_OUTPUT=/lib/modules/5.18.0-1-amd64/build V=1 -C /lib/modules/5.18.0-1-amd64/source M=/var/lib/dkms/nvidia-legacy-390xx/390.151/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/5.18.0-1-amd64/source NV_KERNEL_OUTPUT=/lib/modules/5.18.0-1-amd64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
  4. make[1]: Verzeichnis „/usr/src/linux-headers-5.18.0-1-common“ wird betreten
  5. make -C /usr/src/linux-headers-5.18.0-1-amd64 -f /usr/src/linux-headers-5.18.0-1-common/Makefile modules
  6. make[2]: Verzeichnis „/usr/src/linux-headers-5.18.0-1-amd64“ wird betreten
  7. test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
  8. echo >&2;                                                       \
  9. echo >&2 "  ERROR: Kernel configuration is invalid.";           \
  10. echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
  11. echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
  12. echo >&2 ;                                                      \
  13. /bin/false)
  14. make -f /usr/src/linux-headers-5.18.0-1-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-legacy-390xx/390.151/build \
  15. single-build= \
  16. need-builtin=1 need-modorder=1
  17. NV_CONFTEST_CMD=/bin/sh /var/lib/dkms/nvidia-legacy-390xx/390.151/build/conftest.sh " gcc-11" " gcc-11" x86_64 /lib/modules/5.18.0-1-amd64/source /lib/modules/5.18.0-1-amd64/build
  18. NV_CONFTEST_CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest17413" -DKBUILD_MODNAME="#conftest17413" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/11/include -I/lib/modules/5.18.0-1-amd64/source/include/asm-x86/mach-default -I/lib/modules/5.18.0-1-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/5.18.0-1-amd64/build/include2 -I/lib/modules/5.18.0-1-amd64/build/include -include /lib/modules/5.18.0-1-amd64/build/include/generated/autoconf.h -I/lib/modules/5.18.0-1-amd64/source/include -I/lib/modules/5.18.0-1-amd64/source/include/uapi -I/lib/modules/5.18.0-1-amd64/source/include/xen -I/lib/modules/5.18.0-1-amd64/build/include/generated/uapi -I/lib/modules/5.18.0-1-amd64/source/arch/x86/include -I/lib/modules/5.18.0-1-amd64/source/arch/x86/include/uapi -I/lib/modules/5.18.0-1-amd64/build/arch/x86/include/generated -I/lib/modules/5.18.0-1-amd64/build/arch/x86/include/generated/uapi -mfentry -DCC_USING_FENTRY -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Wno-packed-not-aligned -g
  19. KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong  -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable  -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign  -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g
  20. LINUXINCLUDE=-I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h
  21. LDFLAGS=
  22. KBUILD_LDFLAGS=-m elf_x86_64
  23. ARCH=x86_64
  24.   ln -sf /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-kernel-amd64.o_binary /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-kernel.o
  25.   ln -sf /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia-modeset/nv-modeset-kernel-amd64.o_binary /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia-modeset/nv-modeset-kernel.o
  26.  CONFTEST patches.h:
  27. static struct {
  28.                 const char *short_description;
  29.                 const char *description;
  30.               } __nv_patches[] = {
  31. { NULL, NULL } };
  32.  CONFTEST headers.h:
  33. #undef NV_ASM_SYSTEM_H_PRESENT
  34. #undef NV_DRM_DRMP_H_PRESENT
  35. #define NV_DRM_DRM_AUTH_H_PRESENT
  36. #define NV_DRM_DRM_GEM_H_PRESENT
  37. #define NV_DRM_DRM_CRTC_H_PRESENT
  38. #define NV_DRM_DRM_ATOMIC_H_PRESENT
  39. #define NV_DRM_DRM_ATOMIC_HELPER_H_PRESENT
  40. #define NV_DRM_DRM_ENCODER_H_PRESENT
  41. #define NV_DRM_DRM_ATOMIC_UAPI_H_PRESENT
  42. #define NV_DRM_DRM_DRV_H_PRESENT
  43. #define NV_DRM_DRM_FRAMEBUFFER_H_PRESENT
  44. #define NV_DRM_DRM_CONNECTOR_H_PRESENT
  45. #define NV_DRM_DRM_PROBE_HELPER_H_PRESENT
  46. #define NV_DRM_DRM_PRIME_H_PRESENT
  47. #define NV_DRM_DRM_PLANE_H_PRESENT
  48. #define NV_DRM_DRM_VBLANK_H_PRESENT
  49. #define NV_DRM_DRM_FILE_H_PRESENT
  50. #define NV_DRM_DRM_IOCTL_H_PRESENT
  51. #define NV_DRM_DRM_DEVICE_H_PRESENT
  52. #define NV_GENERATED_AUTOCONF_H_PRESENT
  53. #define NV_GENERATED_COMPILE_H_PRESENT
  54. #define NV_GENERATED_UTSRELEASE_H_PRESENT
  55. #define NV_LINUX_EFI_H_PRESENT
  56. #define NV_LINUX_KCONFIG_H_PRESENT
  57. #define NV_LINUX_SCREEN_INFO_H_PRESENT
  58. #define NV_LINUX_SEMAPHORE_H_PRESENT
  59. #define NV_LINUX_PRINTK_H_PRESENT
  60. #define NV_LINUX_RATELIMIT_H_PRESENT
  61. #undef NV_LINUX_PRIO_TREE_H_PRESENT
  62. #define NV_LINUX_LOG2_H_PRESENT
  63. #define NV_LINUX_OF_H_PRESENT
  64. #define NV_LINUX_BUG_H_PRESENT
  65. #define NV_LINUX_SCHED_SIGNAL_H_PRESENT
  66. #define NV_LINUX_SCHED_TASK_H_PRESENT
  67. #define NV_LINUX_SCHED_TASK_STACK_H_PRESENT
  68. #undef NV_XEN_IOEMU_H_PRESENT
  69. #undef NV_LINUX_FENCE_H_PRESENT
  70. #define NV_LINUX_KTIME_H_PRESENT
  71. #define NV_LINUX_DMA_RESV_H_PRESENT
  72. #define NV_LINUX_DMA_MAP_OPS_H_PRESENT
  73. #define NV_LINUX_STDARG_H_PRESENT
  74. #define NV_LINUX_IOSYS_MAP_H_PRESENT
  75. #undef NV_ASM_BOOK3S_64_HASH_64K_H_PRESENT
  76. #define NV_ASM_SET_MEMORY_H_PRESENT
  77. #undef NV_ASM_POWERNV_H_PRESENT
  78. #define NV_ASM_TLBFLUSH_H_PRESENT
  79. #define NV_ASM_PGTABLE_TYPES_H_PRESENT
  80.  CONFTEST: INIT_WORK
  81.  CONFTEST: remap_pfn_range
  82.  CONFTEST: hash__remap_4k_pfn
  83.  CONFTEST: follow_pfn
  84.  CONFTEST: set_pages_uc
  85.  CONFTEST: list_is_first
  86.  CONFTEST: set_memory_uc
  87.  CONFTEST: set_memory_array_uc
  88.  CONFTEST: change_page_attr
  89.  CONFTEST: pci_get_class
  90.  CONFTEST: pci_choose_state
  91.  CONFTEST: vm_insert_page
  92.  CONFTEST: acpi_device_id
  93.  CONFTEST: acquire_console_sem
  94.  CONFTEST: console_lock
  95.  CONFTEST: kmem_cache_create
  96.  CONFTEST: on_each_cpu
  97.  CONFTEST: smp_call_function
  98.  CONFTEST: acpi_evaluate_integer
  99.  CONFTEST: ioremap_cache
  100.  CONFTEST: ioremap_wc
  101.  CONFTEST: acpi_walk_namespace
  102.  CONFTEST: pci_domain_nr
  103.  CONFTEST: pci_dma_mapping_error
  104.  CONFTEST: sg_alloc_table
  105.  CONFTEST: pci_get_domain_bus_and_slot
  106.  CONFTEST: get_num_physpages
  107.  CONFTEST: efi_enabled
  108.  CONFTEST: proc_create_data
  109.  CONFTEST: pde_data
  110.  CONFTEST: PDE_DATA
  111.  CONFTEST: proc_remove
  112.  CONFTEST: pm_vt_switch_required
  113.  CONFTEST: xen_ioemu_inject_msi
  114.  CONFTEST: phys_to_dma
  115.  CONFTEST: get_dma_ops
  116.  CONFTEST: write_cr4
  117.  CONFTEST: of_get_property
  118.  CONFTEST: of_find_node_by_phandle
  119.  CONFTEST: of_node_to_nid
  120.  CONFTEST: pnv_pci_get_npu_dev
  121.  CONFTEST: for_each_online_node
  122.  CONFTEST: node_end_pfn
  123.  CONFTEST: pci_bus_address
  124.  CONFTEST: pci_stop_and_remove_bus_device
  125.  CONFTEST: pci_remove_bus_device
  126.  CONFTEST: request_threaded_irq
  127.  CONFTEST: register_cpu_notifier
  128.  CONFTEST: cpuhp_setup_state
  129.  CONFTEST: dma_map_resource
  130.  CONFTEST: backlight_device_register
  131.  CONFTEST: register_acpi_notifier
  132.  CONFTEST: timer_setup
  133.  CONFTEST: kmem_cache_create_usercopy
  134.  CONFTEST: do_gettimeofday
  135.  CONFTEST: dma_direct_map_resource
  136.  CONFTEST: vmf_insert_pfn
  137.  CONFTEST: jiffies_to_timespec
  138.  CONFTEST: ktime_get_raw_ts64
  139.  CONFTEST: ktime_get_real_ts64
  140.  CONFTEST: ioremap_nocache
  141.  CONFTEST: vga_tryget
  142.  CONFTEST: unsafe_follow_pfn
  143.  CONFTEST: acpi_bus_get_device
  144.  CONFTEST: address_space_init_once
  145.  CONFTEST: kbasename
  146.  CONFTEST: fatal_signal_pending
  147.  CONFTEST: list_cut_position
  148.  CONFTEST: vzalloc
  149.  CONFTEST: wait_on_bit_lock_argument_count
  150.  CONFTEST: bitmap_clear
  151.  CONFTEST: usleep_range
  152.  CONFTEST: radix_tree_empty
  153.  CONFTEST: radix_tree_replace_slot
  154.  CONFTEST: drm_dev_unref
  155.  CONFTEST: drm_reinit_primary_mode_group
  156.  CONFTEST: get_user_pages_remote
  157.  CONFTEST: get_user_pages
  158.  CONFTEST: drm_gem_object_lookup
  159.  CONFTEST: drm_atomic_state_ref_counting
  160.  CONFTEST: drm_driver_has_gem_prime_res_obj
  161.  CONFTEST: drm_atomic_helper_connector_dpms
  162.  CONFTEST: drm_connector_funcs_have_mode_in_name
  163.  CONFTEST: drm_framebuffer_get
  164.  CONFTEST: drm_gem_object_get
  165.  CONFTEST: drm_dev_put
  166.  CONFTEST: drm_connector_for_each_possible_encoder
  167.  CONFTEST: drm_gem_object_put_unlocked
  168.  CONFTEST: is_export_symbol_gpl_of_node_to_nid
  169.  CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
  170.  CONFTEST: is_export_symbol_present_swiotlb_dma_ops
  171.  CONFTEST: i2c_adapter
  172.  CONFTEST: pm_message_t
  173.  CONFTEST: irq_handler_t
  174.  CONFTEST: acpi_device_ops
  175.  CONFTEST: acpi_op_remove
  176.  CONFTEST: outer_flush_all
  177.  CONFTEST: proc_dir_entry
  178.  CONFTEST: scatterlist
  179.  CONFTEST: sg_table
  180.  CONFTEST: file_operations
  181.  CONFTEST: vm_operations_struct
  182.  CONFTEST: atomic_long_type
  183.  CONFTEST: pci_save_state
  184.  CONFTEST: file_inode
  185.  CONFTEST: task_struct
  186.  CONFTEST: kuid_t
  187.  CONFTEST: dma_ops
  188.  CONFTEST: swiotlb_dma_ops
  189.  CONFTEST: dma_map_ops
  190.  CONFTEST: noncoherent_swiotlb_dma_ops
  191.  CONFTEST: vm_fault_present
  192.  CONFTEST: vm_fault_has_address
  193.  CONFTEST: kernel_write
  194.  CONFTEST: strnstr
  195.  CONFTEST: iterate_dir
  196.  CONFTEST: kstrtoull
  197.  CONFTEST: backlight_properties_type
  198.  CONFTEST: proc_ops
  199.  CONFTEST: timeval
  200.  CONFTEST: mm_has_mmap_lock
  201.  CONFTEST: kmem_cache_has_kobj_remove_work
  202.  CONFTEST: sysfs_slab_unlink
  203.  CONFTEST: vmalloc_has_pgprot_t_arg
  204.  CONFTEST: pci_dev_has_skip_bus_pm
  205.  CONFTEST: pci_channel_state
  206.  CONFTEST: fault_flags
  207.  CONFTEST: atomic64_type
  208.  CONFTEST: address_space
  209.  CONFTEST: backing_dev_info
  210.  CONFTEST: mm_context_t
  211.  CONFTEST: vm_ops_fault_removed_vma_arg
  212.  CONFTEST: vm_fault_t
  213.  CONFTEST: pnv_npu2_init_context
  214.  CONFTEST: drm_bus_present
  215.  CONFTEST: drm_bus_has_bus_type
  216.  CONFTEST: drm_bus_has_get_irq
  217.  CONFTEST: drm_bus_has_get_name
  218.  CONFTEST: drm_driver_has_device_list
  219.  CONFTEST: drm_driver_has_legacy_dev_list
  220.  CONFTEST: drm_driver_has_set_busid
  221.  CONFTEST: drm_crtc_state_has_connectors_changed
  222.  CONFTEST: drm_init_function_args
  223.  CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
  224.  CONFTEST: drm_helper_mode_fill_fb_struct
  225.  CONFTEST: drm_master_drop_has_from_release_arg
  226.  CONFTEST: drm_driver_unload_has_int_return_type
  227.  CONFTEST: kref_has_refcount_of_type_refcount_t
  228.  CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
  229.  CONFTEST: drm_mode_object_find_has_file_priv_arg
  230.  CONFTEST: drm_connector_list_iter
  231.  CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
  232.  CONFTEST: drm_driver_prime_flag_present
  233.  CONFTEST: drm_gem_prime_export_has_dev_arg
  234.  CONFTEST: drm_gem_object_has_resv
  235.  CONFTEST: drm_display_mode_has_vrefresh
  236.  CONFTEST: drm_driver_master_set_has_int_return_type
  237.  CONFTEST: drm_driver_has_gem_free_object
  238.  CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
  239.  CONFTEST: drm_driver_has_gem_prime_callbacks
  240.  CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
  241.  CONFTEST: drm_gem_object_vmap_has_map_arg
  242.  CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
  243.  CONFTEST: drm_device_has_pdev
  244.  CONFTEST: dom0_kernel_present
  245.  CONFTEST: nvidia_vgpu_kvm_build
  246.  CONFTEST: nvidia_grid_build
  247.  CONFTEST: drm_available
  248.  CONFTEST: drm_atomic_available
  249.  CONFTEST: is_export_symbol_gpl_refcount_inc
  250.  CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
  251.  CONFTEST macros.h:
  252. #define NV_INIT_WORK_PRESENT
  253. #define NV_INIT_WORK_ARGUMENT_COUNT 2
  254.  CONFTEST functions.h:
  255. #define NV_REMAP_PFN_RANGE_PRESENT
  256. #undef NV_HASH__REMAP_4K_PFN_PRESENT
  257. #define NV_FOLLOW_PFN_PRESENT
  258. #define NV_SET_PAGES_UC_PRESENT
  259. #define NV_LIST_IS_FIRST_PRESENT
  260. #define NV_SET_MEMORY_UC_PRESENT
  261. #undef NV_SET_MEMORY_ARRAY_UC_PRESENT
  262. #undef NV_CHANGE_PAGE_ATTR_PRESENT
  263. #define NV_PCI_GET_CLASS_PRESENT
  264. #define NV_PCI_CHOOSE_STATE_PRESENT
  265. #define NV_VM_INSERT_PAGE_PRESENT
  266. #define NV_ACPI_DEVICE_ID_HAS_DRIVER_DATA
  267. #undef NV_ACQUIRE_CONSOLE_SEM_PRESENT
  268. #define NV_CONSOLE_LOCK_PRESENT
  269. #define NV_KMEM_CACHE_CREATE_PRESENT
  270. #define NV_KMEM_CACHE_CREATE_ARGUMENT_COUNT 5
  271. #define NV_ON_EACH_CPU_PRESENT
  272. #define NV_ON_EACH_CPU_ARGUMENT_COUNT 3
  273. #define NV_SMP_CALL_FUNCTION_PRESENT
  274. #define NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT 3
  275. #define NV_ACPI_EVALUATE_INTEGER_PRESENT
  276. typedef unsigned long long nv_acpi_integer_t;
  277. #define NV_IOREMAP_CACHE_PRESENT
  278. #define NV_IOREMAP_WC_PRESENT
  279. #define NV_ACPI_WALK_NAMESPACE_PRESENT
  280. #define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
  281. #define NV_PCI_DOMAIN_NR_PRESENT
  282. #define NV_PCI_DMA_MAPPING_ERROR_PRESENT
  283. #define NV_PCI_DMA_MAPPING_ERROR_ARGUMENT_COUNT 2
  284. #define NV_SG_ALLOC_TABLE_PRESENT
  285. #define NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT
  286. #define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
  287. #define NV_GET_NUM_PHYSPAGES_PRESENT
  288. #define NV_EFI_ENABLED_PRESENT
  289. #define NV_EFI_ENABLED_ARGUMENT_COUNT 1
  290. #define NV_PROC_CREATE_DATA_PRESENT
  291. #define NV_PDE_DATA_PRESENT
  292. #undef NV_PDE_DATA_UPPER_CASE_PRESENT
  293. #define NV_PROC_REMOVE_PRESENT
  294. #define NV_PM_VT_SWITCH_REQUIRED_PRESENT
  295. #undef NV_XEN_IOEMU_INJECT_MSI
  296. #undef NV_PHYS_TO_DMA_PRESENT
  297. #define NV_GET_DMA_OPS_PRESENT
  298. #undef NV_WRITE_CR4_PRESENT
  299. #define NV_OF_GET_PROPERTY_PRESENT
  300. #define NV_OF_FIND_NODE_BY_PHANDLE_PRESENT
  301. #define NV_OF_NODE_TO_NID_PRESENT
  302. #undef NV_PNV_PCI_GET_NPU_DEV_PRESENT
  303. #define NV_FOR_EACH_ONLINE_NODE_PRESENT
  304. #define NV_NODE_END_PFN_PRESENT
  305. #define NV_PCI_BUS_ADDRESS_PRESENT
  306. #define NV_PCI_STOP_AND_REMOVE_BUS_DEVICE_PRESENT
  307. #undef NV_PCI_REMOVE_BUS_DEVICE_PRESENT
  308. #define NV_REQUEST_THREADED_IRQ_PRESENT
  309. #undef NV_REGISTER_CPU_NOTIFIER_PRESENT
  310. #define NV_CPUHP_SETUP_STATE_PRESENT
  311. #define NV_DMA_MAP_RESOURCE_PRESENT
  312. #define NV_BACKLIGHT_DEVICE_REGISTER_PRESENT
  313. #define NV_REGISTER_ACPI_NOTIFER_PRESENT
  314. #define NV_TIMER_SETUP_PRESENT
  315. #define NV_KMEM_CACHE_CREATE_USERCOPY_PRESENT
  316. #undef NV_DO_GETTIMEOFDAY_PRESENT
  317. #undef NV_DMA_IS_DIRECT_PRESENT
  318. #define NV_VMF_INSERT_PFN_PRESENT
  319. #undef NV_JIFFIES_TO_TIMESPEC_PRESENT
  320. #define NV_KTIME_GET_RAW_TS64_PRESENT
  321. #define NV_KTIME_GET_REAL_TS64_PRESENT
  322. #undef NV_IOREMAP_NOCACHE_PRESENT
  323. #undef NV_VGA_TRYGET_PRESENT
  324. #undef NV_UNSAFE_FOLLOW_PFN_PRESENT
  325. #undef NV_ACPI_BUS_GET_DEVICE_PRESENT
  326. #define NV_ADDRESS_SPACE_INIT_ONCE_PRESENT
  327. #define NV_KBASENAME_PRESENT
  328. #define NV_FATAL_SIGNAL_PENDING_PRESENT
  329. #define NV_LIST_CUT_POSITION_PRESENT
  330. #define NV_VZALLOC_PRESENT
  331. #define NV_WAIT_ON_BIT_LOCK_ARGUMENT_COUNT 3
  332. #define NV_BITMAP_CLEAR_PRESENT
  333. #define NV_USLEEP_RANGE_PRESENT
  334. #define NV_RADIX_TREE_EMPTY_PRESENT
  335. #define NV_RADIX_TREE_REPLACE_SLOT_PRESENT
  336. #define NV_RADIX_TREE_REPLACE_SLOT_ARGUMENT_COUNT 3
  337. #undef NV_DRM_DEV_UNREF_PRESENT
  338. #undef NV_DRM_REINIT_PRIMARY_MODE_GROUP_PRESENT
  339. #define NV_GET_USER_PAGES_REMOTE_PRESENT
  340. #undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
  341. #undef NV_GET_USER_PAGES_REMOTE_HAS_TSK_ARG
  342. #define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
  343. #undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
  344. #undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
  345. #define NV_DRM_GEM_OBJECT_LOOKUP_PRESENT
  346. #define NV_DRM_GEM_OBJECT_LOOKUP_ARGUMENT_COUNT 2
  347. #define NV_DRM_ATOMIC_STATE_REF_COUNTING_PRESENT
  348. #undef NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ
  349. #undef NV_DRM_ATOMIC_HELPER_CONNECTOR_DPMS_PRESENT
  350. #undef NV_DRM_CONNECTOR_FUNCS_HAVE_MODE_IN_NAME
  351. #define NV_DRM_FRAMEBUFFER_GET_PRESENT
  352. #define NV_DRM_GEM_OBJECT_GET_PRESENT
  353. #define NV_DRM_DEV_PUT_PRESENT
  354. #define NV_DRM_CONNECTOR_FOR_EACH_POSSIBLE_ENCODER_ARGUMENT_COUNT 2
  355. #undef NV_DRM_GEM_OBJECT_PUT_UNLOCK_PRESENT
  356.  CONFTEST symbols.h:
  357. #define NV_IS_EXPORT_SYMBOL_GPL_of_node_to_nid 0
  358. #define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_map_sg_attrs 0
  359. #define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_dma_ops 0
  360.  CONFTEST types.h:
  361. #undef NV_I2C_ADAPTER_HAS_CLIENT_REGISTER
  362. #define NV_PM_MESSAGE_T_PRESENT
  363. #define NV_PM_MESSAGE_T_HAS_EVENT
  364. #define NV_IRQ_HANDLER_T_PRESENT
  365. #define NV_IRQ_HANDLER_T_ARGUMENT_COUNT 2
  366. #undef NV_ACPI_DEVICE_OPS_HAS_MATCH
  367. #define NV_ACPI_DEVICE_OPS_REMOVE_ARGUMENT_COUNT 1
  368. #define NV_ACPI_DEVICE_ID_HAS_DRIVER_DATA
  369. #undef NV_OUTER_FLUSH_ALL_PRESENT
  370. #undef NV_PROC_DIR_ENTRY_HAS_OWNER
  371. #define NV_SCATTERLIST_HAS_PAGE_LINK
  372. #define NV_SG_TABLE_PRESENT
  373. #undef NV_FILE_OPERATIONS_HAS_IOCTL
  374. #define NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL
  375. #define NV_FILE_OPERATIONS_HAS_COMPAT_IOCTL
  376. #define NV_VM_OPERATIONS_STRUCT_HAS_FAULT
  377. #define NV_VM_OPERATIONS_STRUCT_HAS_ACCESS
  378. #define NV_ATOMIC_LONG_PRESENT
  379. #define NV_PCI_SAVE_STATE_ARGUMENT_COUNT 1
  380. #define NV_FILE_HAS_INODE
  381. #define NV_TASK_STRUCT_HAS_CRED
  382. #define NV_KUID_T_PRESENT
  383. #undef NV_DMA_OPS_PRESENT
  384. #undef NV_SWIOTLB_DMA_OPS_PRESENT
  385. #define NV_DMA_MAP_OPS_PRESENT
  386. #undef NV_NONCOHERENT_SWIOTLB_DMA_OPS_PRESENT
  387. #define NV_VM_FAULT_PRESENT
  388. #define NV_VM_FAULT_HAS_ADDRESS
  389. #define NV_KERNEL_WRITE_PRESENT
  390. #define NV_STRNSTR_PRESENT
  391. #define NV_ITERATE_DIR_PRESENT
  392. #define NV_KSTRTOULL_PRESENT
  393. #define NV_BACKLIGHT_PROPERTIES_TYPE_PRESENT
  394. #define NV_PROC_OPS_PRESENT
  395. #undef NV_TIMEVAL_PRESENT
  396. #define NV_MM_HAS_MMAP_LOCK
  397. #undef NV_KMEM_CACHE_HAS_KOBJ_REMOVE_WORK
  398. #undef NV_SYSFS_SLAB_UNLINK_PRESENT
  399. #undef NV_VMALLOC_HAS_PGPROT_T_ARG
  400. #define NV_PCI_DEV_HAS_SKIP_BUS_PM
  401. #undef NV_PCI_CHANNEL_STATE_PRESENT
  402. #define NV_FAULT_FLAG_PRESENT
  403. #define NV_ATOMIC64_PRESENT
  404. #undef NV_ADDRESS_SPACE_HAS_RWLOCK_TREE_LOCK
  405. #undef NV_ADDRESS_SPACE_HAS_BACKING_DEV_INFO
  406. #undef NV_MM_CONTEXT_T_HAS_ID
  407. #define NV_GET_USER_PAGES_REMOTE_PRESENT
  408. #undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
  409. #undef NV_GET_USER_PAGES_REMOTE_HAS_TSK_ARG
  410. #define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
  411. #undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
  412. #undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
  413. #define NV_VM_OPS_FAULT_REMOVED_VMA_ARG
  414. #define NV_VM_FAULT_T_IS_PRESENT
  415. #undef NV_PNV_NPU2_INIT_CONTEXT_PRESENT
  416. #undef NV_DRM_BUS_PRESENT
  417. #undef NV_DRM_BUS_HAS_BUS_TYPE
  418. #undef NV_DRM_BUS_HAS_GET_IRQ
  419. #undef NV_DRM_BUS_HAS_GET_NAME
  420. #undef NV_DRM_DRIVER_HAS_DEVICE_LIST
  421. #undef NV_DRM_DRIVER_HAS_LEGACY_DEV_LIST
  422. #undef NV_DRM_DRIVER_HAS_SET_BUSID
  423. #define NV_DRM_CRTC_STATE_HAS_CONNECTORS_CHANGED
  424. #define NV_DRM_CRTC_INIT_WITH_PLANES_HAS_NAME_ARG
  425. #define NV_DRM_ENCODER_INIT_HAS_NAME_ARG
  426. #define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_FORMAT_MODIFIERS_ARG
  427. #define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_NAME_ARG
  428. #undef NV_DRM_MODE_CONNECTOR_LIST_UPDATE_HAS_MERGE_TYPE_BITS_ARG
  429. #define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_DEV_ARG
  430. #define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_CONST_MODE_CMD_ARG
  431. #undef NV_DRM_MASTER_DROP_HAS_FROM_RELEASE_ARG
  432. #undef NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
  433. #define NV_KREF_HAS_REFCOUNT_OF_TYPE_REFCOUNT_T
  434. #undef NV_DRM_ATOMIC_HELPER_CRTC_DESTROY_STATE_HAS_CRTC_ARG
  435. #define NV_DRM_MODE_OBJECT_FIND_HAS_FILE_PRIV_ARG
  436. #define NV_DRM_CONNECTOR_LIST_ITER_PRESENT
  437. #define NV_DRM_CONNECTOR_LIST_ITER_BEGIN_PRESENT
  438. #define NV_DRM_ATOMIC_HELPER_SWAP_STATE_HAS_STALL_ARG
  439. #define NV_DRM_ATOMIC_HELPER_SWAP_STATE_RETURN_INT
  440. #undef NV_DRM_DRIVER_PRIME_FLAG_PRESENT
  441. #undef NV_DRM_GEM_PRIME_EXPORT_HAS_DEV_ARG
  442. #define NV_DRM_GEM_OBJECT_HAS_RESV
  443. #undef NV_DRM_DISPLAY_MODE_HAS_VREFRESH
  444. #undef NV_DRM_DRIVER_SET_MASTER_HAS_INT_RETURN_TYPE
  445. #undef NV_DRM_DRIVER_HAS_GEM_FREE_OBJECT
  446. #define NV_DRM_PRIME_PAGES_TO_SG_HAS_DRM_DEVICE_ARG
  447. #undef NV_DRM_DRIVER_HAS_GEM_PRIME_CALLBACKS
  448. #define NV_DRM_CRTC_ATOMIC_CHECK_HAS_ATOMIC_STATE_ARG
  449. #define NV_DRM_GEM_OBJECT_VMAP_HAS_MAP_ARG
  450. #define NV_DRM_PLANE_ATOMIC_CHECK_HAS_ATOMIC_STATE_ARG
  451. #undef NV_DRM_DEVICE_HAS_PDEV
  452.  CONFTEST generic.h:
  453. #undef NV_DOM0_KERNEL_PRESENT
  454. #undef NV_VGPU_KVM_BUILD
  455. #undef NV_GRID_BUILD
  456. #undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
  457. #undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
  458. #define NV_GET_USER_PAGES_REMOTE_PRESENT
  459. #undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
  460. #undef NV_GET_USER_PAGES_REMOTE_HAS_TSK_ARG
  461. #define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
  462. #define NV_LIST_CUT_POSITION_PRESENT
  463. #define NV_VM_FAULT_T_IS_PRESENT
  464. #define NV_DRM_AVAILABLE
  465. #define NV_DRM_ATOMIC_MODESET_AVAILABLE
  466. #define NV_IS_EXPORT_SYMBOL_GPL_refcount_inc 0
  467. #define NV_IS_EXPORT_SYMBOL_GPL_refcount_dec_and_test 0
  468.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-frontend.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-frontend.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-frontend.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-frontend.o
  469.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-instance.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_instance"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-instance.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-instance.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-instance.o
  470.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-gpu-numa.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_gpu_numa"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gpu-numa.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gpu-numa.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gpu-numa.o
  471.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv.o
  472.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-acpi.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.o
  473.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-chrdev.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-chrdev.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-chrdev.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-chrdev.o
  474.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-cray.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-cray.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-cray.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-cray.o
  475.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-dma.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.o
  476. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.c: In function ‘nv_acpi_methods_uninit’:
  477. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.c:681:25: warning: unused variable ‘device’ [-Wunused-variable]
  478.   681 |     struct acpi_device *device = NULL;
  479.       |                         ^~~~~~
  480. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c: In function ‘nv_dma_map_contig’:
  481. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:30:11: error: implicit declaration of function ‘pci_map_page’; did you mean ‘dma_map_page’? [-Werror=implicit-function-declaration]
  482.    30 |     *va = pci_map_page(dma_map->dev, dma_map->pages[0], 0,
  483.       |           ^~~~~~~~~~~~
  484.       |           dma_map_page
  485.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-cray.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-cray.o.cmd
  486.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-cray.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-cray.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-cray.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-cray.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-cray.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-cray.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-cray.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-cray.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-cray.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-cray.ver; fi
  487.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-gvi.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gvi.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gvi.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gvi.o
  488. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv.c: In function ‘nv_set_dma_address_size’:
  489. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv.c:2745:9: error: implicit declaration of function ‘pci_set_dma_mask’ [-Werror=implicit-function-declaration]
  490.  2745 |         pci_set_dma_mask(nvl->dev, new_mask);
  491.       |         ^~~~~~~~~~~~~~~~
  492.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-instance.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-instance.o.cmd
  493.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-instance.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-instance.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_instance"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-instance.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-instance.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-instance.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-instance.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-instance.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-instance.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-instance.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-instance.ver; fi
  494.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-chrdev.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-chrdev.o.cmd
  495.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-chrdev.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-chrdev.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-chrdev.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-chrdev.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-chrdev.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-chrdev.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-chrdev.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-chrdev.ver; fi
  496.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-i2c.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-i2c.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-i2c.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-i2c.o
  497.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-mempool.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mempool.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mempool.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mempool.o
  498. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:31:46: error: ‘PCI_DMA_BIDIRECTIONAL’ undeclared (first use in this function); did you mean ‘DMA_BIDIRECTIONAL’?
  499.    31 |             dma_map->page_count * PAGE_SIZE, PCI_DMA_BIDIRECTIONAL);
  500.       |                                              ^~~~~~~~~~~~~~~~~~~~~
  501.       |                                              DMA_BIDIRECTIONAL
  502. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:31:46: note: each undeclared identifier is reported only once for each function it appears in
  503.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-frontend.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-frontend.o.cmd
  504.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-frontend.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-frontend.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-frontend.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-frontend.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-frontend.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-frontend.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-frontend.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-frontend.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-frontend.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-frontend.ver; fi
  505.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gpu-numa.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-gpu-numa.o.cmd
  506.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gpu-numa.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-gpu-numa.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_gpu_numa"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gpu-numa.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gpu-numa.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gpu-numa.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gpu-numa.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gpu-numa.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gpu-numa.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gpu-numa.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gpu-numa.ver; fi
  507.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-mmap.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.o
  508. In file included from /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:15:
  509. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc/nv-linux.h:348:5: error: implicit declaration of function ‘pci_dma_mapping_error’; did you mean ‘dma_mapping_error’? [-Werror=implicit-function-declaration]
  510.   348 |     pci_dma_mapping_error(dev, addr)
  511.       |     ^~~~~~~~~~~~~~~~~~~~~
  512. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:32:9: note: in expansion of macro ‘NV_PCI_DMA_MAPPING_ERROR’
  513.    32 |     if (NV_PCI_DMA_MAPPING_ERROR(dma_map->dev, *va))
  514.       |         ^~~~~~~~~~~~~~~~~~~~~~~~
  515. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c: In function ‘nv_dma_unmap_contig’:
  516. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:60:5: error: implicit declaration of function ‘pci_unmap_page’; did you mean ‘dma_unmap_page’? [-Werror=implicit-function-declaration]
  517.    60 |     pci_unmap_page(dma_map->dev, dma_map->mapping.contig.dma_addr,
  518.       |     ^~~~~~~~~~~~~~
  519.       |     dma_unmap_page
  520. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:61:46: error: ‘PCI_DMA_BIDIRECTIONAL’ undeclared (first use in this function); did you mean ‘DMA_BIDIRECTIONAL’?
  521.    61 |             dma_map->page_count * PAGE_SIZE, PCI_DMA_BIDIRECTIONAL);
  522.       |                                              ^~~~~~~~~~~~~~~~~~~~~
  523.       |                                              DMA_BIDIRECTIONAL
  524. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c: In function ‘nv_map_dma_map_scatterlist’:
  525. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:169:32: error: implicit declaration of function ‘pci_map_sg’; did you mean ‘pci_map_rom’? [-Werror=implicit-function-declaration]
  526.   169 |         submap->sg_map_count = pci_map_sg(dma_map->dev,
  527.       |                                ^~~~~~~~~~
  528.       |                                pci_map_rom
  529. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:172:17: error: ‘PCI_DMA_BIDIRECTIONAL’ undeclared (first use in this function); did you mean ‘DMA_BIDIRECTIONAL’?
  530.   172 |                 PCI_DMA_BIDIRECTIONAL);
  531.       |                 ^~~~~~~~~~~~~~~~~~~~~
  532.       |                 DMA_BIDIRECTIONAL
  533.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-acpi.o.cmd
  534.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-acpi.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-acpi.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-acpi.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-acpi.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-acpi.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-acpi.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-acpi.ver; fi
  535.    gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-p2p.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-p2p.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-p2p.c  ; ./tools/objtool/objtool orc generate  --module   --no-fp   --retpoline  --uaccess   /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-p2p.o
  536. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c: In function ‘nv_unmap_dma_map_scatterlist’:
  537. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:200:9: error: implicit declaration of function ‘pci_unmap_sg’; did you mean ‘pci_unmap_rom’? [-Werror=implicit-function-declaration]
  538.   200 |         pci_unmap_sg(dma_map->dev, NV_DMA_SUBMAP_SCATTERLIST(submap),
  539.       |         ^~~~~~~~~~~~
  540.       |         pci_unmap_rom
  541. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.c:202:17: error: ‘PCI_DMA_BIDIRECTIONAL’ undeclared (first use in this function); did you mean ‘DMA_BIDIRECTIONAL’?
  542.   202 |                 PCI_DMA_BIDIRECTIONAL);
  543.       |                 ^~~~~~~~~~~~~~~~~~~~~
  544.       |                 DMA_BIDIRECTIONAL
  545. cc1: some warnings being treated as errors
  546. make[3]: *** [/usr/src/linux-headers-5.18.0-1-common/scripts/Makefile.build:293: /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-dma.o] Fehler 1
  547. make[3]: *** Es wird auf noch nicht beendete Prozesse gewartet....
  548. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
  549. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  550.   255 |             if (NV_ALLOW_CACHING(memory_type))
  551.       |                ^
  552. /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.c:257:9: note: here
  553.   257 |         default:
  554.       |         ^~~~~~~
  555.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mempool.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-mempool.o.cmd
  556.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mempool.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-mempool.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mempool.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mempool.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mempool.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mempool.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mempool.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mempool.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mempool.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mempool.ver; fi
  557.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gvi.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-gvi.o.cmd
  558.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gvi.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-gvi.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gvi.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gvi.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gvi.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gvi.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gvi.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gvi.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-gvi.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-gvi.ver; fi
  559.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-i2c.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-i2c.o.cmd
  560.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-i2c.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-i2c.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-i2c.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-i2c.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-i2c.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-i2c.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-i2c.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-i2c.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-i2c.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-i2c.ver; fi
  561.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-mmap.o.cmd
  562.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-mmap.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mmap.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mmap.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mmap.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mmap.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-mmap.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-mmap.ver; fi
  563. cc1: some warnings being treated as errors
  564. make[3]: *** [/usr/src/linux-headers-5.18.0-1-common/scripts/Makefile.build:293: /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv.o] Fehler 1
  565.    { echo ; echo '/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-p2p.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-p2p.o.cmd
  566.   if objdump -h /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-p2p.o | grep -q __ksymtab; then  gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.nv-p2p.o.d -nostdinc -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.18.0-1-common/include -I./include -I/usr/src/linux-headers-5.18.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.18.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.18.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.18.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/common/inc -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.151\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-p2p.c | scripts/genksyms/genksyms    -r /dev/null > /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-p2p.ver; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-p2p.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-p2p.o -T /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-p2p.ver; mv -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-p2p.o /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/nv-p2p.o; rm -f /var/lib/dkms/nvidia-legacy-390xx/390.151/build/nvidia/.tmp_nv-p2p.ver; fi
  567. make[2]: *** [/usr/src/linux-headers-5.18.0-1-common/Makefile:1858: /var/lib/dkms/nvidia-legacy-390xx/390.151/build] Fehler 2
  568. make[2]: Verzeichnis „/usr/src/linux-headers-5.18.0-1-amd64“ wird verlassen
  569. make[1]: *** [Makefile:231: __sub-make] Fehler 2
  570. make[1]: Verzeichnis „/usr/src/linux-headers-5.18.0-1-common“ wird verlassen
  571. make: *** [Makefile:82: modules] Fehler 2

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN