nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sat Dec 2 08:18:48 2017 installer version: 340.32 PATH: /root/EMAN2/bin:/usr/bin:/usr/local/bin:/bin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin nvidia-installer command line: ./nvidia-installer Using: nvidia-installer ncurses user interface -> Tagging shared libraries with chcon -t textrel_shlib_t. -> License accepted. -> Installing NVIDIA driver version 340.32. -> Performing CC sanity check with CC="/usr/bin/cc". -> Kernel source path: '/lib/modules/3.10.0-693.11.1.el7.x86_64/source' -> Kernel output path: '/lib/modules/3.10.0-693.11.1.el7.x86_64/build' -> Performing rivafb check. -> Performing nvidiafb check. -> Performing Xen check. -> Performing PREEMPT_RT check. -> Cleaning kernel module build directory. executing: 'cd ./kernel; /usr/bin/make clean'... -> Building NVIDIA kernel module: executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/3.10.0-693.11.1.el7.x86_64/source SYSOUT=/lib/modules/3.10.0-693.11.1.el7.x86_64/build NV_BUILD_MODULE_INSTANCES='... NVIDIA: calling KBUILD... make[1]: Entering directory `/usr/src/kernels/3.10.0-693.11.1.el7.x86_64' /usr/bin/make -C /lib/modules/3.10.0-693.11.1.el7.x86_64/build \ KBUILD_SRC=/usr/src/kernels/3.10.0-693.11.1.el7.x86_64 \ KBUILD_EXTMOD="/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel" -f /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/Makefile \ modules test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_versions ; rm -f /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_versions/* /usr/bin/make -f /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/scripts/Makefile.build obj=/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel cc -Wp,-MD,/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kconfig.h -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTI ONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.32\" -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(nv idia)" -c -o /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_nv.o /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv.c In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/msr.h:10, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/processor.h:20, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/thread_info.h:22, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/thread_info.h:54, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/preempt.h:9, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/spinlock.h:50, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/seqlock.h:35, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/time.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:17, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv.c:13: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h:617:26: warning: signed and unsigned type in conditional expression [-Wsign-compare] int len = nl ? nl - buf : strlen(buf); ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv.c:13: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:91:0, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv.c:13: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:518:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((*pos)->frequency != CPUFREQ_TABLE_END) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:519:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((*pos)->frequency != CPUFREQ_ENTRY_INVALID) ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv.c:13: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz == -1 || sz >= n)) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10 .0-693.11.1.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kconfig.h -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m no-avx -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.32\" -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 /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_nv-acpi.o /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-acpi.c In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/msr.h:10, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/processor.h:20, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/thread_info.h:22, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/thread_info.h:54, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/preempt.h:9, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/spinlock.h:50, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/seqlock.h:35, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/time.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:17, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-acpi.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h:617:26: warning: signed and unsigned type in conditional expression [-Wsign-compare] int len = nl ? nl - buf : strlen(buf); ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-acpi.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:91:0, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-acpi.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:518:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((*pos)->frequency != CPUFREQ_TABLE_END) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:519:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((*pos)->frequency != CPUFREQ_ENTRY_INVALID) ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-acpi.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz == -1 || sz >= n)) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-acpi.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-693.11.1.el7. x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kconfig.h -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inlin e-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.32\" -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 /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_nv-chrdev.o /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-chrdev.c In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/msr.h:10, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/processor.h:20, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/thread_info.h:22, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/thread_info.h:54, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/preempt.h:9, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/spinlock.h:50, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/seqlock.h:35, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/time.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:17, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-chrdev.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h:617:26: warning: signed and unsigned type in conditional expression [-Wsign-compare] int len = nl ? nl - buf : strlen(buf); ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-chrdev.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:91:0, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-chrdev.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:518:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((*pos)->frequency != CPUFREQ_TABLE_END) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:519:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((*pos)->frequency != CPUFREQ_ENTRY_INVALID) ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-chrdev.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz == -1 || sz >= n)) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-chrdev.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kconfig.h -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340. 32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MOD ULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.32\" -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 /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_nv-cray.o /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-cray.c In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/msr.h:10, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/processor.h:20, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/thread_info.h:22, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/thread_info.h:54, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/preempt.h:9, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/spinlock.h:50, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/seqlock.h:35, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/time.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:17, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-cray.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h:617:26: warning: signed and unsigned type in conditional expression [-Wsign-compare] int len = nl ? nl - buf : strlen(buf); ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-cray.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:91:0, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-cray.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:518:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((*pos)->frequency != CPUFREQ_TABLE_END) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:519:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((*pos)->frequency != CPUFREQ_ENTRY_INVALID) ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-cray.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz == -1 || sz >= n)) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-cray.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kconfig.h -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-poin ter-checks -std=gnu89 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERS ION_STRING=\"340.32\" -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 /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_nv-dma.o /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-dma.c In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/msr.h:10, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/processor.h:20, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/thread_info.h:22, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/thread_info.h:54, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/preempt.h:9, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/spinlock.h:50, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/seqlock.h:35, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/time.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:17, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-dma.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h:617:26: warning: signed and unsigned type in conditional expression [-Wsign-compare] int len = nl ? nl - buf : strlen(buf); ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-dma.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:91:0, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-dma.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:518:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((*pos)->frequency != CPUFREQ_TABLE_END) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:519:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((*pos)->frequency != CPUFREQ_ENTRY_INVALID) ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-dma.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz == -1 || sz >= n)) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-dma.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kconfig.h -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -D CONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.32\" -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 /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_nv-drm.o /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/msr.h:10, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/processor.h:20, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/thread_info.h:22, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/thread_info.h:54, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/preempt.h:9, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/spinlock.h:50, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/seqlock.h:35, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/time.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/uapi/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/timex.h:56, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:17, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpumask.h:617:26: warning: signed and unsigned type in conditional expression [-Wsign-compare] int len = nl ? nl - buf : strlen(buf); ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:91:0, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:518:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((*pos)->frequency != CPUFREQ_TABLE_END) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/cpufreq.h:519:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((*pos)->frequency != CPUFREQ_ENTRY_INVALID) ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/rh_kabi.h:13:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:5, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:15: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz == -1 || sz >= n)) ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/drm/drm_crtc.h:31:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/drm/drmP.h:70, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:19: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/fb.h:650:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < s_pitch; j++) ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c: At top level: /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:24:27: error: field ‘base’ has incomplete type struct drm_gem_object base; ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:15:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:15: /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c: In function ‘nv_gem_free’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kernel.h:904:48: warning: initialization from incompatible pointer type [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:70:36: note: in expansion of macro ‘container_of’ struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base); ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kernel.h:904:48: warning: (near initialization for ‘nv_obj’) [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:70:36: note: in expansion of macro ‘container_of’ struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base); ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c: In function ‘nv_gem_prime_get_sg_table’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kernel.h:904:48: warning: initialization from incompatible pointer type [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:78:36: note: in expansion of macro ‘container_of’ struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base); ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kernel.h:904:48: warning: (near initialization for ‘nv_obj’) [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:78:36: note: in expansion of macro ‘container_of’ struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base); ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:79:25: error: dereferencing pointer to incomplete type int page_count = obj->size >> PAGE_SHIFT; ^ In file included from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/sched.h:15:0, from /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/utsname.h:5, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:15: /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c: In function ‘nv_gem_prime_vmap’: /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kernel.h:904:48: warning: initialization from incompatible pointer type [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:88:36: note: in expansion of macro ‘container_of’ struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base); ^ /usr/src/kernels/3.10.0-693.11.1.el7.x86_64/include/linux/kernel.h:904:48: warning: (near initialization for ‘nv_obj’) [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:88:36: note: in expansion of macro ‘container_of’ struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base); ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:89:25: error: dereferencing pointer to incomplete type int page_count = obj->size >> PAGE_SHIFT; ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c: At top level: /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:107:13: error: ‘drm_gem_mmap’ undeclared here (not in a function) .mmap = drm_gem_mmap, ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c: In function ‘nv_alloc_os_descriptor_handle’: /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:204:5: error: implicit declaration of function ‘drm_gem_private_object_init’ [-Werror=implicit-function-declaration] drm_gem_private_object_init(nvl->drm, &nv_obj->base, size); ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:206:5: error: implicit declaration of function ‘drm_gem_handle_create’ [-Werror=implicit-function-declaration] ret = drm_gem_handle_create(file_priv, &nv_obj->base, handle); ^ /tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.c:213:5: error: implicit declaration of function ‘drm_gem_object_unreference_unlocked’ [-Werror=implicit-function-declaration] drm_gem_object_unreference_unlocked(&nv_obj->base); ^ cc1: some warnings being treated as errors make[3]: *** [/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel/nv-drm.o] Error 1 make[2]: *** [_module_/tmp/selfgz4120/NVIDIA-Linux-x86_64-340.32/kernel] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.11.1.el7.x86_64' NVIDIA: left KBUILD. nvidia.ko failed to build! make: *** [nvidia.ko] Error 1 -> Error. ERROR: Unable to build the NVIDIA kernel module. 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.