I am attempting to create a 340.107-custom.run for a RHEL 7.7 kickstart. When I run the add this kernel command I am getting an “ERROR: Unable to build the NVIDIA kernel module interface” and “ERROR: Unable to add a precompiled kernel interface for the running kernel”. In the /var/log/nvidida-installer.log I am getting an Error for Kernel Configuration is invalid. Any ideas what the issue could be?
RHEL 7.7
Kernel - 3.10.0-1062.el7.x86_64
Video Card - Nvidia Quadro FX 580
Nvidia Driver - NVIDIA-Linux-x86_64-340.107.run
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Sep 23 03:20:15 2019
installer version: 340.107
PATH: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
nvidia-installer command line:
./nvidia-installer
--add-this-kernel
Unable to load: nvidia-installer ncurses v6 user interface
Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> Performing CC sanity check with CC="/bin/cc".
-> Kernel source path: '/lib/modules/3.10.0-1062.el7.x86_64/source'
-> Kernel output path: '/lib/modules/3.10.0-1062.el7.x86_64/build'
-> Copying kernel module sources to temporary directory.
-> Building kernel module interface:
executing: 'cd /tmp/nvidia-2567/; /bin/make nv-linux.o SYSSRC=/lib/modules/3.10.0-1062.el7.x86_64/source SYSOUT=/lib/modules/3.10.0-1062.el7.x86_64/build NV_MODULE_SUFFIX='...
NVIDIA: calling KBUILD...
make[1]: Entering directory `/usr/src/kernels/3.10.0-1062.el7.x86_64'
/bin/make -C /lib/modules/3.10.0-1062.el7.x86_64/build \
KBUILD_SRC=/usr/src/kernels/3.10.0-1062.el7.x86_64 \
KBUILD_EXTMOD="/tmp/nvidia-2567" -f /usr/src/kernels/3.10.0-1062.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/nvidia-2567/.tmp_versions ; rm -f /tmp/nvidia-2567/.tmp_versions/*
/bin/make -f /usr/src/kernels/3.10.0-1062.el7.x86_64/scripts/Makefile.build obj=/tmp/nvidia-2567
cc -Wp,-MD,/tmp/nvidia-2567/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kconfig.h -I/tmp/nvidia-2567 -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 -mindirect
-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -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/nvidia-2567 -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /tmp/nvidia-2567/.tmp_nv.o /tmp/nvidia-2567/nv.c
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/little_endian.h:6:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi/asm/byteorder.h:4,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/bitops/le.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/bitops.h:514,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/bitops.h:37,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kernel.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv.c:13:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:177:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:185:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/msr.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/processor.h:20,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpufeature.h:7,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/thread_info.h:22,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/thread_info.h:66,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/preempt.h:9,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/spinlock.h:50,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/seqlock.h:35,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/time.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:17,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv.c:13:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h:634: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv.c:13:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/kernels/3.10.0-1062.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-1062.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/nvidia-2567/nv-linux.h:91:0,
from /tmp/nvidia-2567/nv.c:13:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:534:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((*pos)->frequency != CPUFREQ_TABLE_END)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:535: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv.c:13:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:78:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n)) {
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:95:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= size)) {
^
/usr/src/kernels/3.10.0-1062.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/nvidia-2567/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/nvidia-2567/nv.o"; fi; fi;
cc -Wp,-MD,/tmp/nvidia-2567/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kconfig.h -I/tmp/nvidia-2567 -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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -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/nvidia-2567 -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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/nvidia-2567/.tmp_nv-acpi.o /tmp/nvidia-2567/nv-acpi.c
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/little_endian.h:6:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi/asm/byteorder.h:4,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/bitops/le.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/bitops.h:514,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/bitops.h:37,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kernel.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-acpi.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:177:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:185:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/msr.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/processor.h:20,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpufeature.h:7,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/thread_info.h:22,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/thread_info.h:66,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/preempt.h:9,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/spinlock.h:50,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/seqlock.h:35,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/time.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:17,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-acpi.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h:634: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-acpi.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/kernels/3.10.0-1062.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-1062.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/nvidia-2567/nv-linux.h:91:0,
from /tmp/nvidia-2567/nv-acpi.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:534:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((*pos)->frequency != CPUFREQ_TABLE_END)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:535: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-acpi.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:78:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n)) {
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:95:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= size)) {
^
/usr/src/kernels/3.10.0-1062.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/nvidia-2567/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/nvidia-2567/nv-acpi.o"; fi; fi;
cc -Wp,-MD,/tmp/nvidia-2567/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-1062.el7
.x86_64/include/linux/kconfig.h -I/tmp/nvidia-2567 -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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -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/nvidia-2567 -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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/nvidia-2567/.tmp_nv-chrdev.o /tmp/nvidia-2567/nv-chrdev.c
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/little_endian.h:6:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi/asm/byteorder.h:4,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/bitops/le.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/bitops.h:514,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/bitops.h:37,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kernel.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:177:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:185:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/msr.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/processor.h:20,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpufeature.h:7,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/thread_info.h:22,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/thread_info.h:66,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/preempt.h:9,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/spinlock.h:50,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/seqlock.h:35,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/time.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:17,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h:634: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/kernels/3.10.0-1062.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-1062.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/nvidia-2567/nv-linux.h:91:0,
from /tmp/nvidia-2567/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:534:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((*pos)->frequency != CPUFREQ_TABLE_END)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:535: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:78:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n)) {
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:95:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= size)) {
^
/usr/src/kernels/3.10.0-1062.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/nvidia-2567/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/nvidia-2567/nv-chrdev.o"; fi; fi;
cc -Wp,-MD,/tmp/nvidia-2567/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kconfig.h -I/tmp/nvidia-2567 -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_SH
A256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -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/nvidia-2567 -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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/nvidia-2567/.tmp_nv-cray.o /tmp/nvidia-2567/nv-cray.c
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/little_endian.h:6:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi/asm/byteorder.h:4,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/bitops/le.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/bitops.h:514,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/bitops.h:37,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kernel.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-cray.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:177:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:185:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/msr.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/processor.h:20,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpufeature.h:7,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/thread_info.h:22,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/thread_info.h:66,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/preempt.h:9,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/spinlock.h:50,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/seqlock.h:35,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/time.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:17,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-cray.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h:634: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-cray.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/kernels/3.10.0-1062.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-1062.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/nvidia-2567/nv-linux.h:91:0,
from /tmp/nvidia-2567/nv-cray.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:534:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((*pos)->frequency != CPUFREQ_TABLE_END)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:535: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-cray.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:78:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n)) {
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:95:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= size)) {
^
/usr/src/kernels/3.10.0-1062.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/nvidia-2567/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/nvidia-2567/nv-cray.o"; fi; fi;
cc -Wp,-MD,/tmp/nvidia-2567/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kconfig.h -I/tmp/nvidia-2567 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-nu
ll-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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -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/nvidia-2567 -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-
error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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/nvidia-2567/.tmp_nv-dma.o /tmp/nvidia-2567/nv-dma.c
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/little_endian.h:6:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi/asm/byteorder.h:4,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/bitops/le.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/bitops.h:514,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/bitops.h:37,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kernel.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-dma.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:177:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:185:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/msr.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/processor.h:20,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpufeature.h:7,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/thread_info.h:22,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/thread_info.h:66,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/preempt.h:9,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/spinlock.h:50,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/seqlock.h:35,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/time.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:17,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-dma.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h:634: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-dma.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/kernels/3.10.0-1062.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-1062.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/nvidia-2567/nv-linux.h:91:0,
from /tmp/nvidia-2567/nv-dma.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:534:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((*pos)->frequency != CPUFREQ_TABLE_END)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:535: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-dma.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:78:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n)) {
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:95:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= size)) {
^
/usr/src/kernels/3.10.0-1062.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/nvidia-2567/nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/nvidia-2567/nv-dma.o"; fi; fi;
cc -Wp,-MD,/tmp/nvidia-2567/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include -Iinclude -I/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/
uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kconfig.h -I/tmp/nvidia-2567 -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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-se
t-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/nvidia-2567 -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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/nvidia-2567/.tmp_nv-drm.o /tmp/nvidia-2567/nv-drm.c
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/little_endian.h:6:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/uapi/asm/byteorder.h:4,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/bitops/le.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/bitops.h:514,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/bitops.h:37,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/kernel.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-drm.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:177:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/byteorder/generic.h:185:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/msr.h:10,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/processor.h:20,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/cpufeature.h:7,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/thread_info.h:22,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/thread_info.h:66,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/preempt.h:9,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/spinlock.h:50,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/seqlock.h:35,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/time.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/uapi/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/timex.h:56,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:17,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-drm.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpumask.h:634: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-drm.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/kernels/3.10.0-1062.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-1062.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/nvidia-2567/nv-linux.h:91:0,
from /tmp/nvidia-2567/nv-drm.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h: In function ‘cpufreq_next_valid’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:534:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((*pos)->frequency != CPUFREQ_TABLE_END)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/cpufreq.h:535: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-1062.el7.x86_64/include/linux/rh_kabi.h:22:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/sched.h:5,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/utsname.h:5,
from /tmp/nvidia-2567/nv-linux.h:44,
from /tmp/nvidia-2567/nv-drm.c:15:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:78:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n)) {
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/arch/x86/include/asm/uaccess_64.h:95:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= size)) {
^
/usr/src/kernels/3.10.0-1062.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-1062.el7.x86_64/include/drm/drm_crtc.h:31:0,
from /usr/src/kernels/3.10.0-1062.el7.x86_64/include/drm/drmP.h:69,
from /tmp/nvidia-2567/nv-drm.c:19:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/fb.h:651:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < s_pitch; j++)
^
/tmp/nvidia-2567/nv-drm.c: In function ‘nv_alloc_os_descriptor_handle’:
/tmp/nvidia-2567/nv-drm.c:255: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/nvidia-2567/nv-drm.o] Error 1
make[2]: *** [_module_/tmp/nvidia-2567] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-1062.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 interface.
ERROR: Unable to add a precompiled kernel interface for the running kernel.