Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # emerge nvidia-drivers -q
- ...
- x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include -I/usr/src/linux-4.10.8-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.10.8-gentoo/include -I./include -I/usr/src/linux-4.10.8-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.10.8-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.10.8-gentoo/include/linux/kconfig.h -I/usr/src/linux-4.10.8-gentoo//var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/common/inc -I/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"378.13\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -I/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/.tmp_nv-pat.o /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c: In function ‘nvidia_cpu_callback’:
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:213:14: error: ‘CPU_DOWN_FAILED’ undeclared (first use in this function)
- case CPU_DOWN_FAILED:
- ^
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:213:14: note: each undeclared identifier is reported only once for each function it appears in
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:220:14: error: ‘CPU_DOWN_PREPARE’ undeclared (first use in this function)
- case CPU_DOWN_PREPARE:
- ^
- In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:15:0:
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c: In function ‘nv_init_pat_support’:
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/common/inc/nv-linux.h:391:34: error: implicit declaration of function ‘register_cpu_notifier’ [-Werror=implicit-function-declaration]
- #define register_hotcpu_notifier register_cpu_notifier
- ^
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:258:17: note: in expansion of macro ‘register_hotcpu_notifier’
- if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0)
- ^
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c: In function ‘nv_teardown_pat_support’:
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/common/inc/nv-linux.h:388:36: error: implicit declaration of function ‘unregister_cpu_notifier’ [-Werror=implicit-function-declaration]
- #define unregister_hotcpu_notifier unregister_cpu_notifier
- ^
- /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:283:9: note: in expansion of macro ‘unregister_hotcpu_notifier’
- unregister_hotcpu_notifier(&nv_hotcpu_nfb);
- ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-4.10.8-gentoo/scripts/Makefile.build:295: /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.o] Error 1
- make[2]: *** [/usr/src/linux-4.10.8-gentoo/Makefile:1490: _module_/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel] Error 2
- make[2]: Leaving directory '/usr/src/linux-4.10.8-gentoo'
- make[1]: *** [Makefile:150: sub-make] Error 2
- make[1]: Leaving directory '/usr/src/linux-4.10.8-gentoo'
- make: *** [Makefile:81: modules] Error 2
- * ERROR: x11-drivers/nvidia-drivers-378.13::gentoo failed (compile phase):
- * emake failed
- *
- * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-378.13::gentoo'`,
- * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-378.13::gentoo'`.
- * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/temp/environment'.
- * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel'
- * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/'
- * Messages for package x11-drivers/nvidia-drivers-378.13:
- * Gentoo supports kernels which are supported by NVIDIA
- * which are limited to the following kernels:
- * <sys-kernel/gentoo-sources-4.10
- * <sys-kernel/vanilla-sources-4.10
- *
- * You are free to utilize epatch_user to provide whatever
- * support you feel is appropriate, but will not receive
- * support as a result of those changes.
- *
- * Do not file a bug report about this.
- *
- * Messages for package x11-drivers/nvidia-drivers-378.13:
- * ERROR: x11-drivers/nvidia-drivers-378.13::gentoo failed (compile phase):
- * emake failed
- *
- * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-378.13::gentoo'`,
- * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-378.13::gentoo'`.
- * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/temp/environment'.
- * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel'
- * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement