Guest User

nvidia-armv7l-kernel-module-build-fail-log

a guest
Oct 21st, 2020
160
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Wed Oct 21 23:32:04 2020
  3. installer version: 390.138
  4.  
  5. PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  6.  
  7. nvidia-installer command line:
  8. ./nvidia-installer
  9. --kernel-source-path
  10. /usr/src/linux-headers-5.4.51-v7l+
  11.  
  12. Using: nvidia-installer ncurses v6 user interface
  13. -> Detected 4 CPUs online; setting concurrency level to 4.
  14. -> Installing NVIDIA driver version 390.138.
  15. -> Performing CC sanity check with CC="/usr/bin/cc".
  16. -> Using the kernel source path '/usr/src/linux-headers-5.4.51-v7l+' as specified by the '--kernel-source-path' commandline option.
  17. -> Kernel source path: '/usr/src/linux-headers-5.4.51-v7l+'
  18. -> Kernel output path: '/usr/src/linux-headers-5.4.51-v7l+'
  19. -> Performing Compiler check.
  20. -> Performing Dom0 check.
  21. -> Performing Xen check.
  22. -> Performing PREEMPT_RT check.
  23. -> Performing vgpu_kvm check.
  24. -> Cleaning kernel module build directory.
  25. executing: 'cd ./kernel; /usr/bin/make -k -j4 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/usr/src/linux-headers-5.4.51-v7l+" SYSOUT="/usr/src/linux-headers-5.4.51-v7l+"'...
  26. rm -f -r conftest
  27. make[1]: Entering directory '/usr/src/linux-headers-5.4.51-v7l+'
  28. make[1]: Leaving directory '/usr/src/linux-headers-5.4.51-v7l+'
  29. -> Building kernel modules
  30. executing: 'cd ./kernel; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/usr/src/linux-headers-5.4.51-v7l+" SYSOUT="/usr/src/linux-headers-5.4.51-v7l+"'...
  31. make[1]: Entering directory '/usr/src/linux-headers-5.4.51-v7l+'
  32. SYMLINK /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-kernel.o
  33. SYMLINK /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nv-modeset-kernel.o
  34. CONFTEST: INIT_WORK
  35. CONFTEST: remap_pfn_range
  36. CONFTEST: hash__remap_4k_pfn
  37. CONFTEST: follow_pfn
  38. CONFTEST: vmap
  39. CONFTEST: set_pages_uc
  40. CONFTEST: list_is_first
  41. CONFTEST: set_memory_uc
  42. CONFTEST: set_memory_array_uc
  43. CONFTEST: change_page_attr
  44. CONFTEST: pci_get_class
  45. CONFTEST: pci_choose_state
  46. CONFTEST: vm_insert_page
  47. CONFTEST: acpi_device_id
  48. CONFTEST: acquire_console_sem
  49. CONFTEST: console_lock
  50. CONFTEST: kmem_cache_create
  51. CONFTEST: on_each_cpu
  52. CONFTEST: smp_call_function
  53. CONFTEST: acpi_evaluate_integer
  54. CONFTEST: ioremap_cache
  55. CONFTEST: ioremap_wc
  56. CONFTEST: acpi_walk_namespace
  57. CONFTEST: pci_domain_nr
  58. CONFTEST: pci_dma_mapping_error
  59. CONFTEST: sg_alloc_table
  60. CONFTEST: sg_init_table
  61. CONFTEST: pci_get_domain_bus_and_slot
  62. CONFTEST: get_num_physpages
  63. CONFTEST: efi_enabled
  64. CONFTEST: proc_create_data
  65. CONFTEST: pde_data
  66. CONFTEST: proc_remove
  67. CONFTEST: pm_vt_switch_required
  68. CONFTEST: xen_ioemu_inject_msi
  69. CONFTEST: phys_to_dma
  70. CONFTEST: get_dma_ops
  71. CONFTEST: write_cr4
  72. CONFTEST: of_get_property
  73. CONFTEST: of_find_node_by_phandle
  74. CONFTEST: of_node_to_nid
  75. CONFTEST: pnv_pci_get_npu_dev
  76. CONFTEST: for_each_online_node
  77. CONFTEST: node_end_pfn
  78. CONFTEST: pci_bus_address
  79. CONFTEST: pci_stop_and_remove_bus_device
  80. CONFTEST: pci_remove_bus_device
  81. CONFTEST: request_threaded_irq
  82. CONFTEST: register_cpu_notifier
  83. CONFTEST: cpuhp_setup_state
  84. CONFTEST: dma_map_resource
  85. CONFTEST: backlight_device_register
  86. CONFTEST: register_acpi_notifier
  87. CONFTEST: timer_setup
  88. CONFTEST: kmem_cache_create_usercopy
  89. CONFTEST: do_gettimeofday
  90. CONFTEST: dma_direct_map_resource
  91. CONFTEST: vmf_insert_pfn
  92. CONFTEST: jiffies_to_timespec
  93. CONFTEST: ktime_get_raw_ts64
  94. CONFTEST: ktime_get_real_ts64
  95. CONFTEST: ioremap_nocache
  96. CONFTEST: drm_dev_unref
  97. CONFTEST: drm_reinit_primary_mode_group
  98. CONFTEST: get_user_pages_remote
  99. CONFTEST: get_user_pages
  100. CONFTEST: drm_gem_object_lookup
  101. CONFTEST: drm_atomic_state_ref_counting
  102. CONFTEST: drm_driver_has_gem_prime_res_obj
  103. CONFTEST: drm_atomic_helper_connector_dpms
  104. CONFTEST: drm_connector_funcs_have_mode_in_name
  105. CONFTEST: drm_framebuffer_get
  106. CONFTEST: drm_gem_object_get
  107. CONFTEST: drm_dev_put
  108. CONFTEST: drm_connector_for_each_possible_encoder
  109. CONFTEST: is_export_symbol_gpl_of_node_to_nid
  110. CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
  111. CONFTEST: is_export_symbol_present_swiotlb_dma_ops
  112. CONFTEST: i2c_adapter
  113. CONFTEST: pm_message_t
  114. CONFTEST: irq_handler_t
  115. CONFTEST: acpi_device_ops
  116. CONFTEST: acpi_op_remove
  117. CONFTEST: outer_flush_all
  118. CONFTEST: proc_dir_entry
  119. CONFTEST: scatterlist
  120. CONFTEST: sg_table
  121. CONFTEST: file_operations
  122. CONFTEST: vm_operations_struct
  123. CONFTEST: atomic_long_type
  124. CONFTEST: pci_save_state
  125. CONFTEST: file_inode
  126. CONFTEST: task_struct
  127. CONFTEST: kuid_t
  128. CONFTEST: dma_ops
  129. CONFTEST: swiotlb_dma_ops
  130. CONFTEST: dma_map_ops
  131. CONFTEST: noncoherent_swiotlb_dma_ops
  132. CONFTEST: vm_fault_present
  133. CONFTEST: vm_fault_has_address
  134. CONFTEST: kernel_write
  135. CONFTEST: strnstr
  136. CONFTEST: iterate_dir
  137. CONFTEST: kstrtoull
  138. CONFTEST: backlight_properties_type
  139. CONFTEST: proc_ops
  140. CONFTEST: timeval
  141. CONFTEST: kmem_cache_has_kobj_remove_work
  142. CONFTEST: sysfs_slab_unlink
  143. CONFTEST: pci_dev_has_skip_bus_pm
  144. CONFTEST: drm_bus_present
  145. CONFTEST: drm_bus_has_bus_type
  146. CONFTEST: drm_bus_has_get_irq
  147. CONFTEST: drm_bus_has_get_name
  148. CONFTEST: drm_driver_has_legacy_dev_list
  149. CONFTEST: drm_driver_has_set_busid
  150. CONFTEST: drm_crtc_state_has_connectors_changed
  151. CONFTEST: drm_init_function_args
  152. CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
  153. CONFTEST: drm_helper_mode_fill_fb_struct
  154. CONFTEST: drm_master_drop_has_from_release_arg
  155. CONFTEST: drm_driver_unload_has_int_return_type
  156. CONFTEST: vm_ops_fault_removed_vma_arg
  157. CONFTEST: kref_has_refcount_of_type_refcount_t
  158. CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
  159. CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
  160. CONFTEST: drm_mode_object_find_has_file_priv_arg
  161. CONFTEST: drm_connector_list_iter
  162. CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
  163. CONFTEST: drm_driver_prime_flag_present
  164. CONFTEST: drm_gem_prime_export_has_dev_arg
  165. CONFTEST: vm_fault_t
  166. CONFTEST: drm_gem_object_has_resv
  167. CONFTEST: dom0_kernel_present
  168. CONFTEST: nvidia_vgpu_kvm_build
  169. CONFTEST: nvidia_grid_build
  170. CONFTEST: list_cut_position
  171. CONFTEST: drm_available
  172. CONFTEST: drm_atomic_available
  173. CONFTEST: is_export_symbol_gpl_refcount_inc
  174. CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
  175. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-frontend.o
  176. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-instance.o
  177. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-gpu-numa.o
  178. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv.o
  179. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-acpi.o
  180. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-chrdev.o
  181. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-cray.o
  182. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-dma.o
  183. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-gvi.o
  184. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-i2c.o
  185. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mempool.o
  186. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mmap.o
  187. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-p2p.o
  188. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-pat.o
  189. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-procfs.o
  190. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
  191. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  192. if (NV_ALLOW_CACHING(memory_type))
  193. ^
  194. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mmap.c:257:9: note: here
  195. default:
  196. ^~~~~~~
  197. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-usermap.o
  198. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-vm.o
  199. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-vtophys.o
  200. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.o
  201. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-mlock.o
  202. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-pci.o
  203. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c: In function 'os_map_kernel_space':
  204. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:844:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  205. vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
  206. ^
  207. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:844:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  208. vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
  209. ^
  210. In file included from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:15:
  211. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c: In function 'os_flush_cpu_write_combine_buffer':
  212. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/common/inc/nv-linux.h:464:43: error: implicit declaration of function 'outer_sync'; did you mean 'outer_resume'? [-Werror=implicit-function-declaration]
  213. #define WRITE_COMBINE_FLUSH() { dsb(); outer_sync(); }
  214. ^~~~~~~~~~
  215. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:946:5: note: in expansion of macro 'WRITE_COMBINE_FLUSH'
  216. WRITE_COMBINE_FLUSH();
  217. ^~~~~~~~~~~~~~~~~~~
  218. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-registry.o
  219. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-usermap.o
  220. cc1: some warnings being treated as errors
  221. make[2]: *** [scripts/Makefile.build:266: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.o] Error 1
  222. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-modeset-interface.o
  223. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-pci-table.o
  224. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-kthread-q.o
  225. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-kthread-q-selftest.o
  226. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-memdbg.o
  227. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-ibmnpu.o
  228. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-report-err.o
  229. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv_uvm_interface.o
  230. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nvlink_linux.o
  231. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.o
  232. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm.o
  233. In file included from ./arch/arm/include/asm/div64.h:127,
  234. from ./include/linux/kernel.h:18,
  235. from ./include/linux/list.h:9,
  236. from ./include/linux/module.h:9,
  237. from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:11:
  238. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function 'NVKMS_USECS_TO_JIFFIES':
  239. ./include/asm-generic/div64.h:226:28: warning: comparison of distinct pointer types lacks a cast
  240. (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \
  241. ^~
  242. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:72:5: note: in expansion of macro 'do_div'
  243. do_div(result, 1000000);
  244. ^~~~~~
  245. In file included from ./include/linux/kernel.h:11,
  246. from ./include/linux/list.h:9,
  247. from ./include/linux/module.h:9,
  248. from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:11:
  249. ./include/asm-generic/div64.h:239:25: warning: right shift count >= width of type [-Wshift-count-overflow]
  250. } else if (likely(((n) >> 32) == 0)) { \
  251. ^~
  252. ./include/linux/compiler.h:77:40: note: in definition of macro 'likely'
  253. # define likely(x) __builtin_expect(!!(x), 1)
  254. ^
  255. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:72:5: note: in expansion of macro 'do_div'
  256. do_div(result, 1000000);
  257. ^~~~~~
  258. In file included from ./arch/arm/include/asm/div64.h:127,
  259. from ./include/linux/kernel.h:18,
  260. from ./include/linux/list.h:9,
  261. from ./include/linux/module.h:9,
  262. from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:11:
  263. ./include/asm-generic/div64.h:243:22: error: passing argument 1 of '__div64_32' from incompatible pointer type [-Werror=incompatible-pointer-types]
  264. __rem = __div64_32(&(n), __base); \
  265. ^~~~
  266. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:72:5: note: in expansion of macro 'do_div'
  267. do_div(result, 1000000);
  268. ^~~~~~
  269. In file included from ./include/linux/kernel.h:18,
  270. from ./include/linux/list.h:9,
  271. from ./include/linux/module.h:9,
  272. from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:11:
  273. ./arch/arm/include/asm/div64.h:33:45: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'long unsigned int *'
  274. static inline uint32_t __div64_32(uint64_t *n, uint32_t base)
  275. ~~~~~~~~~~^
  276. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-drv.o
  277. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-utils.o
  278. cc1: some warnings being treated as errors
  279. make[2]: *** [scripts/Makefile.build:266: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.o] Error 1
  280. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-crtc.o
  281. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-encoder.o
  282. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-connector.o
  283. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-gem.o
  284. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-fb.o
  285. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-modeset.o
  286. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-prime-fence.o
  287. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.o
  288. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-helper.o
  289. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nv-pci-table.o
  290. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.c: In function 'nv_drm_write_combine_flush':
  291. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.c:78:45: error: implicit declaration of function 'outer_sync'; did you mean 'outer_resume'? [-Werror=implicit-function-declaration]
  292. #define WRITE_COMBINE_FLUSH() { dsb(); outer_sync(); }
  293. ^~~~~~~~~~
  294. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.c:88:5: note: in expansion of macro 'WRITE_COMBINE_FLUSH'
  295. WRITE_COMBINE_FLUSH();
  296. ^~~~~~~~~~~~~~~~~~~
  297. cc1: some warnings being treated as errors
  298. make[2]: *** [scripts/Makefile.build:266: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.o] Error 1
  299. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
  300. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
  301. make[2]: Target '__build' not remade because of errors.
  302. make[1]: *** [Makefile:1709: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel] Error 2
  303. make[1]: Target 'modules' not remade because of errors.
  304. make[1]: Leaving directory '/usr/src/linux-headers-5.4.51-v7l+'
  305. make: *** [Makefile:81: modules] Error 2
  306. -> Error.
  307. ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
  308. -> The command `cd ./kernel; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/usr/src/linux-headers-5.4.51-v7l+" SYSOUT="/usr/src/linux-headers-5.4.51-v7l+"` failed with the following output:
  309.  
  310. make[1]: Entering directory '/usr/src/linux-headers-5.4.51-v7l+'
  311. SYMLINK /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-kernel.o
  312. SYMLINK /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nv-modeset-kernel.o
  313. CONFTEST: INIT_WORK
  314. CONFTEST: remap_pfn_range
  315. CONFTEST: hash__remap_4k_pfn
  316. CONFTEST: follow_pfn
  317. CONFTEST: vmap
  318. CONFTEST: set_pages_uc
  319. CONFTEST: list_is_first
  320. CONFTEST: set_memory_uc
  321. CONFTEST: set_memory_array_uc
  322. CONFTEST: change_page_attr
  323. CONFTEST: pci_get_class
  324. CONFTEST: pci_choose_state
  325. CONFTEST: vm_insert_page
  326. CONFTEST: acpi_device_id
  327. CONFTEST: acquire_console_sem
  328. CONFTEST: console_lock
  329. CONFTEST: kmem_cache_create
  330. CONFTEST: on_each_cpu
  331. CONFTEST: smp_call_function
  332. CONFTEST: acpi_evaluate_integer
  333. CONFTEST: ioremap_cache
  334. CONFTEST: ioremap_wc
  335. CONFTEST: acpi_walk_namespace
  336. CONFTEST: pci_domain_nr
  337. CONFTEST: pci_dma_mapping_error
  338. CONFTEST: sg_alloc_table
  339. CONFTEST: sg_init_table
  340. CONFTEST: pci_get_domain_bus_and_slot
  341. CONFTEST: get_num_physpages
  342. CONFTEST: efi_enabled
  343. CONFTEST: proc_create_data
  344. CONFTEST: pde_data
  345. CONFTEST: proc_remove
  346. CONFTEST: pm_vt_switch_required
  347. CONFTEST: xen_ioemu_inject_msi
  348. CONFTEST: phys_to_dma
  349. CONFTEST: get_dma_ops
  350. CONFTEST: write_cr4
  351. CONFTEST: of_get_property
  352. CONFTEST: of_find_node_by_phandle
  353. CONFTEST: of_node_to_nid
  354. CONFTEST: pnv_pci_get_npu_dev
  355. CONFTEST: for_each_online_node
  356. CONFTEST: node_end_pfn
  357. CONFTEST: pci_bus_address
  358. CONFTEST: pci_stop_and_remove_bus_device
  359. CONFTEST: pci_remove_bus_device
  360. CONFTEST: request_threaded_irq
  361. CONFTEST: register_cpu_notifier
  362. CONFTEST: cpuhp_setup_state
  363. CONFTEST: dma_map_resource
  364. CONFTEST: backlight_device_register
  365. CONFTEST: register_acpi_notifier
  366. CONFTEST: timer_setup
  367. CONFTEST: kmem_cache_create_usercopy
  368. CONFTEST: do_gettimeofday
  369. CONFTEST: dma_direct_map_resource
  370. CONFTEST: vmf_insert_pfn
  371. CONFTEST: jiffies_to_timespec
  372. CONFTEST: ktime_get_raw_ts64
  373. CONFTEST: ktime_get_real_ts64
  374. CONFTEST: ioremap_nocache
  375. CONFTEST: drm_dev_unref
  376. CONFTEST: drm_reinit_primary_mode_group
  377. CONFTEST: get_user_pages_remote
  378. CONFTEST: get_user_pages
  379. CONFTEST: drm_gem_object_lookup
  380. CONFTEST: drm_atomic_state_ref_counting
  381. CONFTEST: drm_driver_has_gem_prime_res_obj
  382. CONFTEST: drm_atomic_helper_connector_dpms
  383. CONFTEST: drm_connector_funcs_have_mode_in_name
  384. CONFTEST: drm_framebuffer_get
  385. CONFTEST: drm_gem_object_get
  386. CONFTEST: drm_dev_put
  387. CONFTEST: drm_connector_for_each_possible_encoder
  388. CONFTEST: is_export_symbol_gpl_of_node_to_nid
  389. CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
  390. CONFTEST: is_export_symbol_present_swiotlb_dma_ops
  391. CONFTEST: i2c_adapter
  392. CONFTEST: pm_message_t
  393. CONFTEST: irq_handler_t
  394. CONFTEST: acpi_device_ops
  395. CONFTEST: acpi_op_remove
  396. CONFTEST: outer_flush_all
  397. CONFTEST: proc_dir_entry
  398. CONFTEST: scatterlist
  399. CONFTEST: sg_table
  400. CONFTEST: file_operations
  401. CONFTEST: vm_operations_struct
  402. CONFTEST: atomic_long_type
  403. CONFTEST: pci_save_state
  404. CONFTEST: file_inode
  405. CONFTEST: task_struct
  406. CONFTEST: kuid_t
  407. CONFTEST: dma_ops
  408. CONFTEST: swiotlb_dma_ops
  409. CONFTEST: dma_map_ops
  410. CONFTEST: noncoherent_swiotlb_dma_ops
  411. CONFTEST: vm_fault_present
  412. CONFTEST: vm_fault_has_address
  413. CONFTEST: kernel_write
  414. CONFTEST: strnstr
  415. CONFTEST: iterate_dir
  416. CONFTEST: kstrtoull
  417. CONFTEST: backlight_properties_type
  418. CONFTEST: proc_ops
  419. CONFTEST: timeval
  420. CONFTEST: kmem_cache_has_kobj_remove_work
  421. CONFTEST: sysfs_slab_unlink
  422. CONFTEST: pci_dev_has_skip_bus_pm
  423. CONFTEST: drm_bus_present
  424. CONFTEST: drm_bus_has_bus_type
  425. CONFTEST: drm_bus_has_get_irq
  426. CONFTEST: drm_bus_has_get_name
  427. CONFTEST: drm_driver_has_legacy_dev_list
  428. CONFTEST: drm_driver_has_set_busid
  429. CONFTEST: drm_crtc_state_has_connectors_changed
  430. CONFTEST: drm_init_function_args
  431. CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
  432. CONFTEST: drm_helper_mode_fill_fb_struct
  433. CONFTEST: drm_master_drop_has_from_release_arg
  434. CONFTEST: drm_driver_unload_has_int_return_type
  435. CONFTEST: vm_ops_fault_removed_vma_arg
  436. CONFTEST: kref_has_refcount_of_type_refcount_t
  437. CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
  438. CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
  439. CONFTEST: drm_mode_object_find_has_file_priv_arg
  440. CONFTEST: drm_connector_list_iter
  441. CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
  442. CONFTEST: drm_driver_prime_flag_present
  443. CONFTEST: drm_gem_prime_export_has_dev_arg
  444. CONFTEST: vm_fault_t
  445. CONFTEST: drm_gem_object_has_resv
  446. CONFTEST: dom0_kernel_present
  447. CONFTEST: nvidia_vgpu_kvm_build
  448. CONFTEST: nvidia_grid_build
  449. CONFTEST: list_cut_position
  450. CONFTEST: drm_available
  451. CONFTEST: drm_atomic_available
  452. CONFTEST: is_export_symbol_gpl_refcount_inc
  453. CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
  454. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-frontend.o
  455. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-instance.o
  456. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-gpu-numa.o
  457. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv.o
  458. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-acpi.o
  459. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-chrdev.o
  460. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-cray.o
  461. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-dma.o
  462. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-gvi.o
  463. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-i2c.o
  464. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mempool.o
  465. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mmap.o
  466. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-p2p.o
  467. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-pat.o
  468. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-procfs.o
  469. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
  470. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  471. if (NV_ALLOW_CACHING(memory_type))
  472. ^
  473. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-mmap.c:257:9: note: here
  474. default:
  475. ^~~~~~~
  476. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-usermap.o
  477. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-vm.o
  478. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-vtophys.o
  479. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.o
  480. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-mlock.o
  481. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-pci.o
  482. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c: In function 'os_map_kernel_space':
  483. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:844:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  484. vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
  485. ^
  486. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:844:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  487. vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
  488. ^
  489. In file included from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:15:
  490. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c: In function 'os_flush_cpu_write_combine_buffer':
  491. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/common/inc/nv-linux.h:464:43: error: implicit declaration of function 'outer_sync'; did you mean 'outer_resume'? [-Werror=implicit-function-declaration]
  492. #define WRITE_COMBINE_FLUSH() { dsb(); outer_sync(); }
  493. ^~~~~~~~~~
  494. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:946:5: note: in expansion of macro 'WRITE_COMBINE_FLUSH'
  495. WRITE_COMBINE_FLUSH();
  496. ^~~~~~~~~~~~~~~~~~~
  497. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-registry.o
  498. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-usermap.o
  499. cc1: some warnings being treated as errors
  500. make[2]: *** [scripts/Makefile.build:266: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.o] Error 1
  501. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-modeset-interface.o
  502. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-pci-table.o
  503. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-kthread-q.o
  504. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-kthread-q-selftest.o
  505. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-memdbg.o
  506. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-ibmnpu.o
  507. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv-report-err.o
  508. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nv_uvm_interface.o
  509. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/nvlink_linux.o
  510. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.o
  511. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm.o
  512. In file included from ./arch/arm/include/asm/div64.h:127,
  513. from ./include/linux/kernel.h:18,
  514. from ./include/linux/list.h:9,
  515. from ./include/linux/module.h:9,
  516. from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:11:
  517. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function 'NVKMS_USECS_TO_JIFFIES':
  518. ./include/asm-generic/div64.h:226:28: warning: comparison of distinct pointer types lacks a cast
  519. (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \
  520. ^~
  521. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:72:5: note: in expansion of macro 'do_div'
  522. do_div(result, 1000000);
  523. ^~~~~~
  524. In file included from ./include/linux/kernel.h:11,
  525. from ./include/linux/list.h:9,
  526. from ./include/linux/module.h:9,
  527. from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:11:
  528. ./include/asm-generic/div64.h:239:25: warning: right shift count >= width of type [-Wshift-count-overflow]
  529. } else if (likely(((n) >> 32) == 0)) { \
  530. ^~
  531. ./include/linux/compiler.h:77:40: note: in definition of macro 'likely'
  532. # define likely(x) __builtin_expect(!!(x), 1)
  533. ^
  534. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:72:5: note: in expansion of macro 'do_div'
  535. do_div(result, 1000000);
  536. ^~~~~~
  537. In file included from ./arch/arm/include/asm/div64.h:127,
  538. from ./include/linux/kernel.h:18,
  539. from ./include/linux/list.h:9,
  540. from ./include/linux/module.h:9,
  541. from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:11:
  542. ./include/asm-generic/div64.h:243:22: error: passing argument 1 of '__div64_32' from incompatible pointer type [-Werror=incompatible-pointer-types]
  543. __rem = __div64_32(&(n), __base); \
  544. ^~~~
  545. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:72:5: note: in expansion of macro 'do_div'
  546. do_div(result, 1000000);
  547. ^~~~~~
  548. In file included from ./include/linux/kernel.h:18,
  549. from ./include/linux/list.h:9,
  550. from ./include/linux/module.h:9,
  551. from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.c:11:
  552. ./arch/arm/include/asm/div64.h:33:45: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'long unsigned int *'
  553. static inline uint32_t __div64_32(uint64_t *n, uint32_t base)
  554. ~~~~~~~~~~^
  555. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-drv.o
  556. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-utils.o
  557. cc1: some warnings being treated as errors
  558. make[2]: *** [scripts/Makefile.build:266: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-modeset/nvidia-modeset-linux.o] Error 1
  559. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-crtc.o
  560. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-encoder.o
  561. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-connector.o
  562. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-gem.o
  563. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-fb.o
  564. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-modeset.o
  565. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-prime-fence.o
  566. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.o
  567. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-helper.o
  568. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nv-pci-table.o
  569. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.c: In function 'nv_drm_write_combine_flush':
  570. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.c:78:45: error: implicit declaration of function 'outer_sync'; did you mean 'outer_resume'? [-Werror=implicit-function-declaration]
  571. #define WRITE_COMBINE_FLUSH() { dsb(); outer_sync(); }
  572. ^~~~~~~~~~
  573. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.c:88:5: note: in expansion of macro 'WRITE_COMBINE_FLUSH'
  574. WRITE_COMBINE_FLUSH();
  575. ^~~~~~~~~~~~~~~~~~~
  576. cc1: some warnings being treated as errors
  577. make[2]: *** [scripts/Makefile.build:266: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-linux.o] Error 1
  578. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
  579. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
  580. make[2]: Target '__build' not remade because of errors.
  581. make[1]: *** [Makefile:1709: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel] Error 2
  582. make[1]: Target 'modules' not remade because of errors.
  583. make[1]: Leaving directory '/usr/src/linux-headers-5.4.51-v7l+'
  584. make: *** [Makefile:81: modules] Error 2
  585. -> Checking to see whether the nvidia kernel module was successfully built
  586. executing: 'cd ./kernel; /usr/bin/make -k -j4 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/usr/src/linux-headers-5.4.51-v7l+" SYSOUT="/usr/src/linux-headers-5.4.51-v7l+"'...
  587. make[1]: Entering directory '/usr/src/linux-headers-5.4.51-v7l+'
  588. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.o
  589. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c: In function 'os_map_kernel_space':
  590. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:844:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  591. vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
  592. ^
  593. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:844:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  594. vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
  595. ^
  596. In file included from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:15:
  597. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c: In function 'os_flush_cpu_write_combine_buffer':
  598. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/common/inc/nv-linux.h:464:43: error: implicit declaration of function 'outer_sync'; did you mean 'outer_resume'? [-Werror=implicit-function-declaration]
  599. #define WRITE_COMBINE_FLUSH() { dsb(); outer_sync(); }
  600. ^~~~~~~~~~
  601. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:946:5: note: in expansion of macro 'WRITE_COMBINE_FLUSH'
  602. WRITE_COMBINE_FLUSH();
  603. ^~~~~~~~~~~~~~~~~~~
  604. cc1: some warnings being treated as errors
  605. make[2]: *** [scripts/Makefile.build:265: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.o] Error 1
  606. make[2]: Target '__build' not remade because of errors.
  607. make[1]: *** [Makefile:1709: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel] Error 2
  608. make[1]: Target 'modules' not remade because of errors.
  609. make[1]: Leaving directory '/usr/src/linux-headers-5.4.51-v7l+'
  610. make: *** [Makefile:81: modules] Error 2
  611. -> Error.
  612. ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details.
  613. -> The command `cd ./kernel; /usr/bin/make -k -j4 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/usr/src/linux-headers-5.4.51-v7l+" SYSOUT="/usr/src/linux-headers-5.4.51-v7l+"` failed with the following output:
  614.  
  615. make[1]: Entering directory '/usr/src/linux-headers-5.4.51-v7l+'
  616. CC [M] /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.o
  617. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c: In function 'os_map_kernel_space':
  618. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:844:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  619. vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
  620. ^
  621. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:844:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  622. vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
  623. ^
  624. In file included from /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:15:
  625. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c: In function 'os_flush_cpu_write_combine_buffer':
  626. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/common/inc/nv-linux.h:464:43: error: implicit declaration of function 'outer_sync'; did you mean 'outer_resume'? [-Werror=implicit-function-declaration]
  627. #define WRITE_COMBINE_FLUSH() { dsb(); outer_sync(); }
  628. ^~~~~~~~~~
  629. /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.c:946:5: note: in expansion of macro 'WRITE_COMBINE_FLUSH'
  630. WRITE_COMBINE_FLUSH();
  631. ^~~~~~~~~~~~~~~~~~~
  632. cc1: some warnings being treated as errors
  633. make[2]: *** [scripts/Makefile.build:265: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel/nvidia/os-interface.o] Error 1
  634. make[2]: Target '__build' not remade because of errors.
  635. make[1]: *** [Makefile:1709: /tmp/selfgz1694/NVIDIA-Linux-armv7l-gnueabihf-390.138/kernel] Error 2
  636. make[1]: Target 'modules' not remade because of errors.
  637. make[1]: Leaving directory '/usr/src/linux-headers-5.4.51-v7l+'
  638. make: *** [Makefile:81: modules] Error 2
  639. ERROR: The nvidia kernel module was not created.
  640. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
RAW Paste Data