milomak

nvidia kernel 4.0.0 fail

May 1st, 2015
288
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DKMS make.log for nvidia-current-340.76 for kernel 4.0.0 (x86_64)
  2. Fri May 1 13:10:41 SAST 2015
  3. make: Entering directory '/var/lib/dkms/nvidia-current/340.76/build'
  4. make KBUILD_VERBOSE=1 -C /lib/modules/4.0.0/build M=/var/lib/dkms/nvidia-current/340.76/build modules
  5. make[1]: Entering directory '/data/ext/kernel/debian/linux-4.0'
  6. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  7. echo >&2; \
  8. echo >&2 " ERROR: Kernel configuration is invalid."; \
  9. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  10. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  11. echo >&2 ; \
  12. /bin/false)
  13. mkdir -p /var/lib/dkms/nvidia-current/340.76/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-current/340.76/build/.tmp_versions/*
  14. make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/340.76/build
  15. /bin/sh /var/lib/dkms/nvidia-current/340.76/build/conftest.sh "gcc" "gcc" x86 /lib/modules/4.0.0/build /lib/modules/4.0.0/build compile_tests remap_pfn_range vmap set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_op_remove acpi_device_id acquire_console_sem console_lock kmem_cache_create outer_flush_all on_each_cpu smp_call_function nvmap_support acpi_evaluate_integer ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace scatterlist pci_domain_nr pci_dma_mapping_error file_operations sg_alloc_table sg_init_table pci_get_domain_bus_and_slot get_num_physpages efi_enabled dom0_kernel_present drm_available proc_create_data pde_data proc_remove sg_table pm_vt_switch_required pci_save_state file_inode drm_pci_set_busid
  16. echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-current/340.76/build/nv_compiler.h
  17. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv.o /var/lib/dkms/nvidia-current/340.76/build/nv.c
  18. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  19. from /var/lib/dkms/nvidia-current/340.76/build/nv.c:13:
  20. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  21. #warning "The nvidia module is incompatible with nvidiafb!"
  22. ^
  23. In file included from include/uapi/linux/stddef.h:1:0,
  24. from include/linux/stddef.h:4,
  25. from ./include/uapi/linux/posix_types.h:4,
  26. from include/uapi/linux/types.h:13,
  27. from include/linux/types.h:5,
  28. from include/uapi/linux/capability.h:16,
  29. from include/linux/capability.h:15,
  30. from include/linux/sched.h:15,
  31. from include/linux/utsname.h:5,
  32. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  33. from /var/lib/dkms/nvidia-current/340.76/build/nv.c:13:
  34. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  35. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  36. cnts, cnts | _QW_LOCKED) == cnts);
  37. ^
  38. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  39. # define likely(x) __builtin_expect(!!(x), 1)
  40. ^
  41. In file included from include/uapi/linux/stddef.h:1:0,
  42. from include/linux/stddef.h:4,
  43. from ./include/uapi/linux/posix_types.h:4,
  44. from include/uapi/linux/types.h:13,
  45. from include/linux/types.h:5,
  46. from include/uapi/linux/capability.h:16,
  47. from include/linux/capability.h:15,
  48. from include/linux/sched.h:15,
  49. from include/linux/utsname.h:5,
  50. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  51. from /var/lib/dkms/nvidia-current/340.76/build/nv.c:13:
  52. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  53. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  54. if (likely(sz < 0 || sz >= n))
  55. ^
  56. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  57. # define likely(x) __builtin_expect(!!(x), 1)
  58. ^
  59. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  60. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  61. if (likely(sz < 0 || sz >= n))
  62. ^
  63. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  64. # define likely(x) __builtin_expect(!!(x), 1)
  65. ^
  66. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-current/340.76/build/nv-acpi.c
  67. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  68. from /var/lib/dkms/nvidia-current/340.76/build/nv-acpi.c:15:
  69. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  70. #warning "The nvidia module is incompatible with nvidiafb!"
  71. ^
  72. In file included from include/uapi/linux/stddef.h:1:0,
  73. from include/linux/stddef.h:4,
  74. from ./include/uapi/linux/posix_types.h:4,
  75. from include/uapi/linux/types.h:13,
  76. from include/linux/types.h:5,
  77. from include/uapi/linux/capability.h:16,
  78. from include/linux/capability.h:15,
  79. from include/linux/sched.h:15,
  80. from include/linux/utsname.h:5,
  81. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  82. from /var/lib/dkms/nvidia-current/340.76/build/nv-acpi.c:15:
  83. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  84. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  85. cnts, cnts | _QW_LOCKED) == cnts);
  86. ^
  87. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  88. # define likely(x) __builtin_expect(!!(x), 1)
  89. ^
  90. In file included from include/uapi/linux/stddef.h:1:0,
  91. from include/linux/stddef.h:4,
  92. from ./include/uapi/linux/posix_types.h:4,
  93. from include/uapi/linux/types.h:13,
  94. from include/linux/types.h:5,
  95. from include/uapi/linux/capability.h:16,
  96. from include/linux/capability.h:15,
  97. from include/linux/sched.h:15,
  98. from include/linux/utsname.h:5,
  99. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  100. from /var/lib/dkms/nvidia-current/340.76/build/nv-acpi.c:15:
  101. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  102. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  103. if (likely(sz < 0 || sz >= n))
  104. ^
  105. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  106. # define likely(x) __builtin_expect(!!(x), 1)
  107. ^
  108. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  109. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  110. if (likely(sz < 0 || sz >= n))
  111. ^
  112. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  113. # define likely(x) __builtin_expect(!!(x), 1)
  114. ^
  115. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-current/340.76/build/nv-chrdev.c
  116. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  117. from /var/lib/dkms/nvidia-current/340.76/build/nv-chrdev.c:15:
  118. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  119. #warning "The nvidia module is incompatible with nvidiafb!"
  120. ^
  121. In file included from include/uapi/linux/stddef.h:1:0,
  122. from include/linux/stddef.h:4,
  123. from ./include/uapi/linux/posix_types.h:4,
  124. from include/uapi/linux/types.h:13,
  125. from include/linux/types.h:5,
  126. from include/uapi/linux/capability.h:16,
  127. from include/linux/capability.h:15,
  128. from include/linux/sched.h:15,
  129. from include/linux/utsname.h:5,
  130. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  131. from /var/lib/dkms/nvidia-current/340.76/build/nv-chrdev.c:15:
  132. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  133. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  134. cnts, cnts | _QW_LOCKED) == cnts);
  135. ^
  136. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  137. # define likely(x) __builtin_expect(!!(x), 1)
  138. ^
  139. In file included from include/uapi/linux/stddef.h:1:0,
  140. from include/linux/stddef.h:4,
  141. from ./include/uapi/linux/posix_types.h:4,
  142. from include/uapi/linux/types.h:13,
  143. from include/linux/types.h:5,
  144. from include/uapi/linux/capability.h:16,
  145. from include/linux/capability.h:15,
  146. from include/linux/sched.h:15,
  147. from include/linux/utsname.h:5,
  148. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  149. from /var/lib/dkms/nvidia-current/340.76/build/nv-chrdev.c:15:
  150. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  151. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  152. if (likely(sz < 0 || sz >= n))
  153. ^
  154. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  155. # define likely(x) __builtin_expect(!!(x), 1)
  156. ^
  157. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  158. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  159. if (likely(sz < 0 || sz >= n))
  160. ^
  161. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  162. # define likely(x) __builtin_expect(!!(x), 1)
  163. ^
  164. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-current/340.76/build/nv-cray.c
  165. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  166. from /var/lib/dkms/nvidia-current/340.76/build/nv-cray.c:15:
  167. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  168. #warning "The nvidia module is incompatible with nvidiafb!"
  169. ^
  170. In file included from include/uapi/linux/stddef.h:1:0,
  171. from include/linux/stddef.h:4,
  172. from ./include/uapi/linux/posix_types.h:4,
  173. from include/uapi/linux/types.h:13,
  174. from include/linux/types.h:5,
  175. from include/uapi/linux/capability.h:16,
  176. from include/linux/capability.h:15,
  177. from include/linux/sched.h:15,
  178. from include/linux/utsname.h:5,
  179. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  180. from /var/lib/dkms/nvidia-current/340.76/build/nv-cray.c:15:
  181. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  182. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  183. cnts, cnts | _QW_LOCKED) == cnts);
  184. ^
  185. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  186. # define likely(x) __builtin_expect(!!(x), 1)
  187. ^
  188. In file included from include/uapi/linux/stddef.h:1:0,
  189. from include/linux/stddef.h:4,
  190. from ./include/uapi/linux/posix_types.h:4,
  191. from include/uapi/linux/types.h:13,
  192. from include/linux/types.h:5,
  193. from include/uapi/linux/capability.h:16,
  194. from include/linux/capability.h:15,
  195. from include/linux/sched.h:15,
  196. from include/linux/utsname.h:5,
  197. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  198. from /var/lib/dkms/nvidia-current/340.76/build/nv-cray.c:15:
  199. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  200. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  201. if (likely(sz < 0 || sz >= n))
  202. ^
  203. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  204. # define likely(x) __builtin_expect(!!(x), 1)
  205. ^
  206. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  207. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  208. if (likely(sz < 0 || sz >= n))
  209. ^
  210. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  211. # define likely(x) __builtin_expect(!!(x), 1)
  212. ^
  213. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_dma)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-dma.o /var/lib/dkms/nvidia-current/340.76/build/nv-dma.c
  214. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  215. from /var/lib/dkms/nvidia-current/340.76/build/nv-dma.c:15:
  216. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  217. #warning "The nvidia module is incompatible with nvidiafb!"
  218. ^
  219. In file included from include/uapi/linux/stddef.h:1:0,
  220. from include/linux/stddef.h:4,
  221. from ./include/uapi/linux/posix_types.h:4,
  222. from include/uapi/linux/types.h:13,
  223. from include/linux/types.h:5,
  224. from include/uapi/linux/capability.h:16,
  225. from include/linux/capability.h:15,
  226. from include/linux/sched.h:15,
  227. from include/linux/utsname.h:5,
  228. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  229. from /var/lib/dkms/nvidia-current/340.76/build/nv-dma.c:15:
  230. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  231. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  232. cnts, cnts | _QW_LOCKED) == cnts);
  233. ^
  234. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  235. # define likely(x) __builtin_expect(!!(x), 1)
  236. ^
  237. In file included from include/uapi/linux/stddef.h:1:0,
  238. from include/linux/stddef.h:4,
  239. from ./include/uapi/linux/posix_types.h:4,
  240. from include/uapi/linux/types.h:13,
  241. from include/linux/types.h:5,
  242. from include/uapi/linux/capability.h:16,
  243. from include/linux/capability.h:15,
  244. from include/linux/sched.h:15,
  245. from include/linux/utsname.h:5,
  246. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  247. from /var/lib/dkms/nvidia-current/340.76/build/nv-dma.c:15:
  248. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  249. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  250. if (likely(sz < 0 || sz >= n))
  251. ^
  252. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  253. # define likely(x) __builtin_expect(!!(x), 1)
  254. ^
  255. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  256. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  257. if (likely(sz < 0 || sz >= n))
  258. ^
  259. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  260. # define likely(x) __builtin_expect(!!(x), 1)
  261. ^
  262. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-current/340.76/build/nv-drm.c
  263. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  264. from /var/lib/dkms/nvidia-current/340.76/build/nv-drm.c:15:
  265. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  266. #warning "The nvidia module is incompatible with nvidiafb!"
  267. ^
  268. In file included from include/uapi/linux/stddef.h:1:0,
  269. from include/linux/stddef.h:4,
  270. from ./include/uapi/linux/posix_types.h:4,
  271. from include/uapi/linux/types.h:13,
  272. from include/linux/types.h:5,
  273. from include/uapi/linux/capability.h:16,
  274. from include/linux/capability.h:15,
  275. from include/linux/sched.h:15,
  276. from include/linux/utsname.h:5,
  277. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  278. from /var/lib/dkms/nvidia-current/340.76/build/nv-drm.c:15:
  279. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  280. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  281. cnts, cnts | _QW_LOCKED) == cnts);
  282. ^
  283. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  284. # define likely(x) __builtin_expect(!!(x), 1)
  285. ^
  286. In file included from include/uapi/linux/stddef.h:1:0,
  287. from include/linux/stddef.h:4,
  288. from ./include/uapi/linux/posix_types.h:4,
  289. from include/uapi/linux/types.h:13,
  290. from include/linux/types.h:5,
  291. from include/uapi/linux/capability.h:16,
  292. from include/linux/capability.h:15,
  293. from include/linux/sched.h:15,
  294. from include/linux/utsname.h:5,
  295. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  296. from /var/lib/dkms/nvidia-current/340.76/build/nv-drm.c:15:
  297. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  298. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  299. if (likely(sz < 0 || sz >= n))
  300. ^
  301. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  302. # define likely(x) __builtin_expect(!!(x), 1)
  303. ^
  304. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  305. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  306. if (likely(sz < 0 || sz >= n))
  307. ^
  308. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  309. # define likely(x) __builtin_expect(!!(x), 1)
  310. ^
  311. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-current/340.76/build/nv-gvi.c
  312. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  313. from /var/lib/dkms/nvidia-current/340.76/build/nv-gvi.c:15:
  314. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  315. #warning "The nvidia module is incompatible with nvidiafb!"
  316. ^
  317. In file included from include/uapi/linux/stddef.h:1:0,
  318. from include/linux/stddef.h:4,
  319. from ./include/uapi/linux/posix_types.h:4,
  320. from include/uapi/linux/types.h:13,
  321. from include/linux/types.h:5,
  322. from include/uapi/linux/capability.h:16,
  323. from include/linux/capability.h:15,
  324. from include/linux/sched.h:15,
  325. from include/linux/utsname.h:5,
  326. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  327. from /var/lib/dkms/nvidia-current/340.76/build/nv-gvi.c:15:
  328. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  329. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  330. cnts, cnts | _QW_LOCKED) == cnts);
  331. ^
  332. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  333. # define likely(x) __builtin_expect(!!(x), 1)
  334. ^
  335. In file included from include/uapi/linux/stddef.h:1:0,
  336. from include/linux/stddef.h:4,
  337. from ./include/uapi/linux/posix_types.h:4,
  338. from include/uapi/linux/types.h:13,
  339. from include/linux/types.h:5,
  340. from include/uapi/linux/capability.h:16,
  341. from include/linux/capability.h:15,
  342. from include/linux/sched.h:15,
  343. from include/linux/utsname.h:5,
  344. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  345. from /var/lib/dkms/nvidia-current/340.76/build/nv-gvi.c:15:
  346. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  347. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  348. if (likely(sz < 0 || sz >= n))
  349. ^
  350. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  351. # define likely(x) __builtin_expect(!!(x), 1)
  352. ^
  353. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  354. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  355. if (likely(sz < 0 || sz >= n))
  356. ^
  357. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  358. # define likely(x) __builtin_expect(!!(x), 1)
  359. ^
  360. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-current/340.76/build/nv-i2c.c
  361. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  362. from /var/lib/dkms/nvidia-current/340.76/build/nv-i2c.c:15:
  363. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  364. #warning "The nvidia module is incompatible with nvidiafb!"
  365. ^
  366. In file included from include/uapi/linux/stddef.h:1:0,
  367. from include/linux/stddef.h:4,
  368. from ./include/uapi/linux/posix_types.h:4,
  369. from include/uapi/linux/types.h:13,
  370. from include/linux/types.h:5,
  371. from include/uapi/linux/capability.h:16,
  372. from include/linux/capability.h:15,
  373. from include/linux/sched.h:15,
  374. from include/linux/utsname.h:5,
  375. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  376. from /var/lib/dkms/nvidia-current/340.76/build/nv-i2c.c:15:
  377. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  378. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  379. cnts, cnts | _QW_LOCKED) == cnts);
  380. ^
  381. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  382. # define likely(x) __builtin_expect(!!(x), 1)
  383. ^
  384. In file included from include/uapi/linux/stddef.h:1:0,
  385. from include/linux/stddef.h:4,
  386. from ./include/uapi/linux/posix_types.h:4,
  387. from include/uapi/linux/types.h:13,
  388. from include/linux/types.h:5,
  389. from include/uapi/linux/capability.h:16,
  390. from include/linux/capability.h:15,
  391. from include/linux/sched.h:15,
  392. from include/linux/utsname.h:5,
  393. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  394. from /var/lib/dkms/nvidia-current/340.76/build/nv-i2c.c:15:
  395. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  396. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  397. if (likely(sz < 0 || sz >= n))
  398. ^
  399. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  400. # define likely(x) __builtin_expect(!!(x), 1)
  401. ^
  402. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  403. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  404. if (likely(sz < 0 || sz >= n))
  405. ^
  406. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  407. # define likely(x) __builtin_expect(!!(x), 1)
  408. ^
  409. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-current/340.76/build/nv-mempool.c
  410. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  411. from /var/lib/dkms/nvidia-current/340.76/build/nv-mempool.c:15:
  412. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  413. #warning "The nvidia module is incompatible with nvidiafb!"
  414. ^
  415. In file included from include/uapi/linux/stddef.h:1:0,
  416. from include/linux/stddef.h:4,
  417. from ./include/uapi/linux/posix_types.h:4,
  418. from include/uapi/linux/types.h:13,
  419. from include/linux/types.h:5,
  420. from include/uapi/linux/capability.h:16,
  421. from include/linux/capability.h:15,
  422. from include/linux/sched.h:15,
  423. from include/linux/utsname.h:5,
  424. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  425. from /var/lib/dkms/nvidia-current/340.76/build/nv-mempool.c:15:
  426. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  427. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  428. cnts, cnts | _QW_LOCKED) == cnts);
  429. ^
  430. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  431. # define likely(x) __builtin_expect(!!(x), 1)
  432. ^
  433. In file included from include/uapi/linux/stddef.h:1:0,
  434. from include/linux/stddef.h:4,
  435. from ./include/uapi/linux/posix_types.h:4,
  436. from include/uapi/linux/types.h:13,
  437. from include/linux/types.h:5,
  438. from include/uapi/linux/capability.h:16,
  439. from include/linux/capability.h:15,
  440. from include/linux/sched.h:15,
  441. from include/linux/utsname.h:5,
  442. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  443. from /var/lib/dkms/nvidia-current/340.76/build/nv-mempool.c:15:
  444. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  445. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  446. if (likely(sz < 0 || sz >= n))
  447. ^
  448. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  449. # define likely(x) __builtin_expect(!!(x), 1)
  450. ^
  451. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  452. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  453. if (likely(sz < 0 || sz >= n))
  454. ^
  455. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  456. # define likely(x) __builtin_expect(!!(x), 1)
  457. ^
  458. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-current/340.76/build/nv-mmap.c
  459. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  460. from /var/lib/dkms/nvidia-current/340.76/build/nv-mmap.c:15:
  461. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  462. #warning "The nvidia module is incompatible with nvidiafb!"
  463. ^
  464. In file included from include/uapi/linux/stddef.h:1:0,
  465. from include/linux/stddef.h:4,
  466. from ./include/uapi/linux/posix_types.h:4,
  467. from include/uapi/linux/types.h:13,
  468. from include/linux/types.h:5,
  469. from include/uapi/linux/capability.h:16,
  470. from include/linux/capability.h:15,
  471. from include/linux/sched.h:15,
  472. from include/linux/utsname.h:5,
  473. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  474. from /var/lib/dkms/nvidia-current/340.76/build/nv-mmap.c:15:
  475. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  476. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  477. cnts, cnts | _QW_LOCKED) == cnts);
  478. ^
  479. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  480. # define likely(x) __builtin_expect(!!(x), 1)
  481. ^
  482. In file included from include/uapi/linux/stddef.h:1:0,
  483. from include/linux/stddef.h:4,
  484. from ./include/uapi/linux/posix_types.h:4,
  485. from include/uapi/linux/types.h:13,
  486. from include/linux/types.h:5,
  487. from include/uapi/linux/capability.h:16,
  488. from include/linux/capability.h:15,
  489. from include/linux/sched.h:15,
  490. from include/linux/utsname.h:5,
  491. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  492. from /var/lib/dkms/nvidia-current/340.76/build/nv-mmap.c:15:
  493. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  494. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  495. if (likely(sz < 0 || sz >= n))
  496. ^
  497. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  498. # define likely(x) __builtin_expect(!!(x), 1)
  499. ^
  500. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  501. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  502. if (likely(sz < 0 || sz >= n))
  503. ^
  504. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  505. # define likely(x) __builtin_expect(!!(x), 1)
  506. ^
  507. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_p2p)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-current/340.76/build/nv-p2p.c
  508. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  509. from /var/lib/dkms/nvidia-current/340.76/build/nv-p2p.c:15:
  510. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  511. #warning "The nvidia module is incompatible with nvidiafb!"
  512. ^
  513. In file included from include/uapi/linux/stddef.h:1:0,
  514. from include/linux/stddef.h:4,
  515. from ./include/uapi/linux/posix_types.h:4,
  516. from include/uapi/linux/types.h:13,
  517. from include/linux/types.h:5,
  518. from include/uapi/linux/capability.h:16,
  519. from include/linux/capability.h:15,
  520. from include/linux/sched.h:15,
  521. from include/linux/utsname.h:5,
  522. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  523. from /var/lib/dkms/nvidia-current/340.76/build/nv-p2p.c:15:
  524. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  525. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  526. cnts, cnts | _QW_LOCKED) == cnts);
  527. ^
  528. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  529. # define likely(x) __builtin_expect(!!(x), 1)
  530. ^
  531. In file included from include/uapi/linux/stddef.h:1:0,
  532. from include/linux/stddef.h:4,
  533. from ./include/uapi/linux/posix_types.h:4,
  534. from include/uapi/linux/types.h:13,
  535. from include/linux/types.h:5,
  536. from include/uapi/linux/capability.h:16,
  537. from include/linux/capability.h:15,
  538. from include/linux/sched.h:15,
  539. from include/linux/utsname.h:5,
  540. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  541. from /var/lib/dkms/nvidia-current/340.76/build/nv-p2p.c:15:
  542. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  543. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  544. if (likely(sz < 0 || sz >= n))
  545. ^
  546. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  547. # define likely(x) __builtin_expect(!!(x), 1)
  548. ^
  549. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  550. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  551. if (likely(sz < 0 || sz >= n))
  552. ^
  553. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  554. # define likely(x) __builtin_expect(!!(x), 1)
  555. ^
  556. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  557. from /var/lib/dkms/nvidia-current/340.76/build/nv-p2p.c:15:
  558. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  559. #warning "The nvidia module is incompatible with nvidiafb!"
  560. ^
  561. gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.76\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pat)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c
  562. In file included from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:15:0,
  563. from /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c:15:
  564. /var/lib/dkms/nvidia-current/340.76/build/conftest.h:18:2: warning: #warning "The nvidia module is incompatible with nvidiafb!" [-Wcpp]
  565. #warning "The nvidia module is incompatible with nvidiafb!"
  566. ^
  567. In file included from include/uapi/linux/stddef.h:1:0,
  568. from include/linux/stddef.h:4,
  569. from ./include/uapi/linux/posix_types.h:4,
  570. from include/uapi/linux/types.h:13,
  571. from include/linux/types.h:5,
  572. from include/uapi/linux/capability.h:16,
  573. from include/linux/capability.h:15,
  574. from include/linux/sched.h:15,
  575. from include/linux/utsname.h:5,
  576. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  577. from /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c:15:
  578. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  579. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  580. cnts, cnts | _QW_LOCKED) == cnts);
  581. ^
  582. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  583. # define likely(x) __builtin_expect(!!(x), 1)
  584. ^
  585. In file included from include/uapi/linux/stddef.h:1:0,
  586. from include/linux/stddef.h:4,
  587. from ./include/uapi/linux/posix_types.h:4,
  588. from include/uapi/linux/types.h:13,
  589. from include/linux/types.h:5,
  590. from include/uapi/linux/capability.h:16,
  591. from include/linux/capability.h:15,
  592. from include/linux/sched.h:15,
  593. from include/linux/utsname.h:5,
  594. from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  595. from /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c:15:
  596. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  597. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  598. if (likely(sz < 0 || sz >= n))
  599. ^
  600. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  601. # define likely(x) __builtin_expect(!!(x), 1)
  602. ^
  603. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  604. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  605. if (likely(sz < 0 || sz >= n))
  606. ^
  607. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  608. # define likely(x) __builtin_expect(!!(x), 1)
  609. ^
  610. /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c: In function ‘nv_disable_caches’:
  611. /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c:38:12: error: implicit declaration of function ‘read_cr4’ [-Werror=implicit-function-declaration]
  612. *cr4 = read_cr4();
  613. ^
  614. /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c:39:22: error: implicit declaration of function ‘write_cr4’ [-Werror=implicit-function-declaration]
  615. if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80);
  616. ^
  617. cc1: some warnings being treated as errors
  618. scripts/Makefile.build:258: recipe for target '/var/lib/dkms/nvidia-current/340.76/build/nv-pat.o' failed
  619. make[2]: *** [/var/lib/dkms/nvidia-current/340.76/build/nv-pat.o] Error 1
  620. Makefile:1390: recipe for target '_module_/var/lib/dkms/nvidia-current/340.76/build' failed
  621. make[1]: *** [_module_/var/lib/dkms/nvidia-current/340.76/build] Error 2
  622. make[1]: Leaving directory '/data/ext/kernel/debian/linux-4.0'
  623. Makefile:35: recipe for target 'modules' failed
  624. make: *** [modules] Error 2
  625. make: Leaving directory '/var/lib/dkms/nvidia-current/340.76/build'
  626. make: Entering directory '/var/lib/dkms/nvidia-current/340.76/build/uvm'
  627. make KBUILD_VERBOSE=1 -C /lib/modules/4.0.0/build M=/var/lib/dkms/nvidia-current/340.76/build/uvm modules
  628. make[1]: Entering directory '/data/ext/kernel/debian/linux-4.0'
  629. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  630. echo >&2; \
  631. echo >&2 " ERROR: Kernel configuration is invalid."; \
  632. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  633. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  634. echo >&2 ; \
  635. /bin/false)
  636. mkdir -p /var/lib/dkms/nvidia-current/340.76/build/uvm/.tmp_versions ; rm -f /var/lib/dkms/nvidia-current/340.76/build/uvm/.tmp_versions/*
  637. make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/340.76/build/uvm
  638. /bin/sh /var/lib/dkms/nvidia-current/340.76/build/uvm/conftest.sh "gcc" "gcc" x86 /lib/modules/4.0.0/build /lib/modules/4.0.0/build compile_tests remap_page_range remap_pfn_range irq_handler_t vm_insert_page kmem_cache_create outer_flush_all vm_operations_struct file_operations task_struct address_space address_space_init_once kbasename fatal_signal_pending kuid_t
  639. /bin/sh /var/lib/dkms/nvidia-current/340.76/build/uvm/conftest.sh "gcc" "gcc" x86 /lib/modules/4.0.0/build /lib/modules/4.0.0/build patch_check
  640. *** Please build the nvidia.ko module first ***
  641. exit 1
  642. /var/lib/dkms/nvidia-current/340.76/build/uvm/Kbuild:220: recipe for target '/var/lib/dkms/nvidia-current/340.76/build/uvm/../Module.symvers' failed
  643. make[2]: *** [/var/lib/dkms/nvidia-current/340.76/build/uvm/../Module.symvers] Error 1
  644. Makefile:1390: recipe for target '_module_/var/lib/dkms/nvidia-current/340.76/build/uvm' failed
  645. make[1]: *** [_module_/var/lib/dkms/nvidia-current/340.76/build/uvm] Error 2
  646. make[1]: Leaving directory '/data/ext/kernel/debian/linux-4.0'
  647. Makefile:35: recipe for target 'modules' failed
  648. make: *** [modules] Error 2
  649. make: Leaving directory '/var/lib/dkms/nvidia-current/340.76/build/uvm
RAW Paste Data