Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]nvidia-drivers-319.32 emerge failed with kernel-3.10
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
beizhuchun
n00b
n00b


Joined: 11 Apr 2013
Posts: 21

PostPosted: Mon Jul 01, 2013 12:22 pm    Post subject: [SOLVED]nvidia-drivers-319.32 emerge failed with kernel-3.10 Reply with quote

 * Package: x11-drivers/nvidia-drivers-319.32
 * Repository: gentoo
 * Maintainer: jer@gentoo.org xarthisius@gentoo.org
 * USE: X acpi amd64 elibc_glibc kernel_linux multilib tools userland_GNU
 * FEATURES: ccache preserve-libs sandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.10.0-gentoo/build
* Found sources for kernel version:
* 3.10.0-gentoo
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-319.32.run to /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work ...
* Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS= ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work ...
* Preparing nvidia module
make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/3.10.0-gentoo/build CC=x86_64-pc-linux-gnu-gcc clean module
NVIDIA: calling KBUILD...
make -C /lib/modules/3.10.0-gentoo/build \
KBUILD_SRC=/usr/src/linux-3.10.0-gentoo \
KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel" -f /usr/src/linux-3.10.0-gentoo/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 /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.tmp_versions/*
make -f /usr/src/linux-3.10.0-gentoo/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel
(cat /dev/null; echo kernel//var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nvidia.ko;) > /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/modules.order
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-acpi.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-acpi.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-chrdev.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-chrdev.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-cray.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-cray.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-drm.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-drm.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-gvi.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-gvi.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-i2c.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mempool.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mempool.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mlock)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mlock.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mlock.c
In file included from /usr/src/linux-3.10.0-gentoo/include/linux/kernel.h:10:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:15,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mlock.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h: 在函数‘hweight_long’中:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h:66:3641: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-3.10.0-gentoo/include/linux/thread_info.h:54,
from /usr/src/linux-3.10.0-gentoo/include/linux/preempt.h:9,
from /usr/src/linux-3.10.0-gentoo/include/linux/spinlock.h:50,
from /usr/src/linux-3.10.0-gentoo/include/linux/seqlock.h:29,
from /usr/src/linux-3.10.0-gentoo/include/linux/time.h:5,
from /usr/src/linux-3.10.0-gentoo/include/uapi/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:17,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mlock.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h: 在函数‘cpumask_parse’中:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h:603:26: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess.h:539:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mlock.c:15:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h: 在函数‘copy_from_user’中:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h:62:41: 警告:在有符号和无符号整数表达式间比较 [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mmap.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mmap.c
In file included from /usr/src/linux-3.10.0-gentoo/include/linux/kernel.h:10:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:15,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mempool.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h: 在函数‘hweight_long’中:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h:66:3641: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-3.10.0-gentoo/include/linux/thread_info.h:54,
from /usr/src/linux-3.10.0-gentoo/include/linux/preempt.h:9,
from /usr/src/linux-3.10.0-gentoo/include/linux/spinlock.h:50,
from /usr/src/linux-3.10.0-gentoo/include/linux/seqlock.h:29,
from /usr/src/linux-3.10.0-gentoo/include/linux/time.h:5,
from /usr/src/linux-3.10.0-gentoo/include/uapi/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:17,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mempool.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h: 在函数‘cpumask_parse’中:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h:603:26: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess.h:539:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mempool.c:15:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h: 在函数‘copy_from_user’中:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h:62:41: 警告:在有符号和无符号整数表达式间比较 [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
In file included from /usr/src/linux-3.10.0-gentoo/include/linux/kernel.h:10:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:15,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-drm.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h: 在函数‘hweight_long’中:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h:66:3641: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-3.10.0-gentoo/include/linux/thread_info.h:54,
from /usr/src/linux-3.10.0-gentoo/include/linux/preempt.h:9,
from /usr/src/linux-3.10.0-gentoo/include/linux/spinlock.h:50,
from /usr/src/linux-3.10.0-gentoo/include/linux/seqlock.h:29,
from /usr/src/linux-3.10.0-gentoo/include/linux/time.h:5,
from /usr/src/linux-3.10.0-gentoo/include/uapi/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:17,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-drm.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h: 在函数‘cpumask_parse’中:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h:603:26: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess.h:539:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-drm.c:15:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h: 在函数‘copy_from_user’中:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h:62:41: 警告:在有符号和无符号整数表达式间比较 [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
In file included from /usr/src/linux-3.10.0-gentoo/include/drm/drm_crtc.h:32:0,
from /usr/src/linux-3.10.0-gentoo/include/drm/drmP.h:691,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-drm.c:19:
/usr/src/linux-3.10.0-gentoo/include/linux/fb.h: 在函数‘__fb_pad_aligned_buffer’中:
/usr/src/linux-3.10.0-gentoo/include/linux/fb.h:653:17: 警告:在有符号和无符号整数表达式间比较 [-Wsign-compare]
for (j = 0; j < s_pitch; j++)
^
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_p2p)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-p2p.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-p2p.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -I/usr/src/linux-3.10.0-gentoo/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.10.0-gentoo/include -Iinclude -I/usr/src/linux-3.10.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/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 -Os -Wno-maybe-uninitialized -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"319.32\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pat)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-pat.o /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-pat.c
In file included from /usr/src/linux-3.10.0-gentoo/include/linux/kernel.h:10:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:15,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-p2p.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h: 在函数‘hweight_long’中:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h:66:3641: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-3.10.0-gentoo/include/linux/thread_info.h:54,
from /usr/src/linux-3.10.0-gentoo/include/linux/preempt.h:9,
from /usr/src/linux-3.10.0-gentoo/include/linux/spinlock.h:50,
from /usr/src/linux-3.10.0-gentoo/include/linux/seqlock.h:29,
from /usr/src/linux-3.10.0-gentoo/include/linux/time.h:5,
from /usr/src/linux-3.10.0-gentoo/include/uapi/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:17,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-p2p.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h: 在函数‘cpumask_parse’中:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h:603:26: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess.h:539:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-p2p.c:15:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h: 在函数‘copy_from_user’中:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h:62:41: 警告:在有符号和无符号整数表达式间比较 [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
In file included from /usr/src/linux-3.10.0-gentoo/include/linux/kernel.h:10:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:15,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-i2c.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h: 在函数‘hweight_long’中:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h:66:3641: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-3.10.0-gentoo/include/linux/thread_info.h:54,
from /usr/src/linux-3.10.0-gentoo/include/linux/preempt.h:9,
from /usr/src/linux-3.10.0-gentoo/include/linux/spinlock.h:50,
from /usr/src/linux-3.10.0-gentoo/include/linux/seqlock.h:29,
from /usr/src/linux-3.10.0-gentoo/include/linux/time.h:5,
from /usr/src/linux-3.10.0-gentoo/include/uapi/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/timex.h:56,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:17,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-i2c.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h: 在函数‘cpumask_parse’中:
/usr/src/linux-3.10.0-gentoo/include/linux/cpumask.h:603:26: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess.h:539:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-i2c.c:15:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h: 在函数‘copy_from_user’中:
/usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/uaccess_64.h:62:41: 警告:在有符号和无符号整数表达式间比较 [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-i2c.c: 在函数‘nv_i2c_del_adapter’中:
/var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-i2c.c:327:14: 错误:void 值未如预期地被忽略
osstatus = i2c_del_adapter(pI2cAdapter);
^
In file included from /usr/src/linux-3.10.0-gentoo/include/linux/kernel.h:10:0,
from /usr/src/linux-3.10.0-gentoo/include/linux/sched.h:15,
from /usr/src/linux-3.10.0-gentoo/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-319.32/work/kernel/nv-mmap.c:15:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h: 在函数‘hweight_long’中:
/usr/src/linux-3.10.0-gentoo/include/linux/bitops.h:66:3641: 警告:signed and unsigned type in conditional expression [-Wsign-compare]
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-3.10.0-gentoo/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-3.10.0-gentoo/include/linux/thread_info.h:54,
from /usr/src/linux-3.10.0-gentoo/include/linux/preempt.h:9,
from /usr/src/linux-3.10.0-gentoo/include/linux/spinlock.h:5


Last edited by beizhuchun on Tue Jul 02, 2013 5:16 am; edited 1 time in total
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1122

PostPosted: Mon Jul 01, 2013 12:46 pm    Post subject: Reply with quote

I remember in a thread on phoronix a user mentioned
nvidia-drivers-319.32 not ready for coming linux-3.10
_________________
fun2gen2
Back to top
View user's profile Send private message
n00berry
n00b
n00b


Joined: 25 Feb 2013
Posts: 17

PostPosted: Mon Jul 01, 2013 11:12 pm    Post subject: Reply with quote

Adapted from here:
http://www.linuxquestions.org/questions/linux-software-2/kernel-3-10-x86_64-and-nvidia-319-32-driver-4175467995/

Applying "Unhelpful"'s patch allowed me to compile x11-drivers/nvidia-drivers-319.32 with Kernel 3.10:
https://devtalk.nvidia.com/default/topic/543728/linux/building-nvidia-driver-on-kernel-3-9-0/post/3814531/#3814531

Steps (as root):
1) Copy contents of http://pastie.org/7942599 into txt file:
/etc/portage/patches/x11-drivers/nvidia-drivers/Linux-3.10.patch
2) Convert version number to the relevant version:
perl -pi -e "s/319.17/319.32/g" /etc/portage/patches/x11-drivers/nvidia-drivers/Linux-3.10.patch
3) Make sure /etc/portage/bashrc contains the lines:
post_src_unpack() {
if type epatch_user >& /dev/null; then
cd "${S}"
epatch_user
fi
}
4) Emerge:
emerge -av x11-drivers/nvidia-drivers

Thanks and credit to the original posters
Back to top
View user's profile Send private message
beizhuchun
n00b
n00b


Joined: 11 Apr 2013
Posts: 21

PostPosted: Tue Jul 02, 2013 4:54 am    Post subject: Reply with quote

n00berry wrote:
Adapted from here:

1) Copy contents of [url]http://pastie.org/7942599 [/url]into txt file:

Unfournately,I cann't access pastie.org,so, can you provide another links ?
Back to top
View user's profile Send private message
beizhuchun
n00b
n00b


Joined: 11 Apr 2013
Posts: 21

PostPosted: Tue Jul 02, 2013 5:14 am    Post subject: Reply with quote

I have found patch from
https://bugzilla.kernel.org/show_bug.cgi?id=58671
work fine!
Back to top
View user's profile Send private message
kriz
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 230

PostPosted: Tue Jul 02, 2013 2:39 pm    Post subject: Reply with quote

n00berry wrote:
Adapted from here:
http://www.linuxquestions.org/questions/linux-software-2/kernel-3-10-x86_64-and-nvidia-319-32-driver-4175467995/

Applying "Unhelpful"'s patch allowed me to compile x11-drivers/nvidia-drivers-319.32 with Kernel 3.10:
https://devtalk.nvidia.com/default/topic/543728/linux/building-nvidia-driver-on-kernel-3-9-0/post/3814531/#3814531

Steps (as root):
1) Copy contents of http://pastie.org/7942599 into txt file:
/etc/portage/patches/x11-drivers/nvidia-drivers/Linux-3.10.patch
2) Convert version number to the relevant version:
perl -pi -e "s/319.17/319.32/g" /etc/portage/patches/x11-drivers/nvidia-drivers/Linux-3.10.patch
3) Make sure /etc/portage/bashrc contains the lines:
post_src_unpack() {
if type epatch_user >& /dev/null; then
cd "${S}"
epatch_user
fi
}
4) Emerge:
emerge -av x11-drivers/nvidia-drivers

Thanks and credit to the original posters



thx 4 info
_________________
There is nothing in the desert... and no man needs nothing.
Back to top
View user's profile Send private message
yumyum
n00b
n00b


Joined: 06 Nov 2008
Posts: 38
Location: Iceland

PostPosted: Tue Jul 02, 2013 11:00 pm    Post subject: Reply with quote

this was driving me crazy thanks
_________________
Would you mind telling me why there is ricearoni in my coffee!?
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4076
Location: Removed by Neddy

PostPosted: Tue Jul 02, 2013 11:56 pm    Post subject: Reply with quote

wonder how long till this in the tree then
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 659

PostPosted: Wed Jul 03, 2013 1:52 pm    Post subject: Reply with quote

Don't make this too hard on yourself :)

Code:
mkdir -p /etc/portage/patches/x11-drivers/nvidia-drivers-319.32
wget https://bugzilla.kernel.org/attachment.cgi?id=102881 -O /etc/portage/patches/x11-drivers/nvidia-drivers-319.32/Linux-3.10.patch
emerge nvidia-drivers


Notice I restricted it to a specific version of nvidia-drivers. I don't like leaving extra patches around for long where they might cause trouble.
Back to top
View user's profile Send private message
Vorlon
Apprentice
Apprentice


Joined: 16 May 2003
Posts: 195
Location: West Grove, PA

PostPosted: Wed Jul 03, 2013 10:23 pm    Post subject: Reply with quote

I'm having the same problem with nvidia-drivers version 325,08.

Will this patch work?
_________________
Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
Back to top
View user's profile Send private message
saellaven
Apprentice
Apprentice


Joined: 23 Jul 2006
Posts: 209

PostPosted: Thu Jul 04, 2013 3:33 am    Post subject: Reply with quote

patch for 325.08 can be found here

https://devtalk.nvidia.com/default/topic/549208/linux/patch-for-325-08-on-linux-3-10/
Back to top
View user's profile Send private message
n00berry
n00b
n00b


Joined: 25 Feb 2013
Posts: 17

PostPosted: Thu Jul 04, 2013 6:46 am    Post subject: Reply with quote

Negated Void wrote:
Don't make this too hard on yourself :)

Code:
mkdir -p /etc/portage/patches/x11-drivers/nvidia-drivers-319.32
wget https://bugzilla.kernel.org/attachment.cgi?id=102881 -O /etc/portage/patches/x11-drivers/nvidia-drivers-319.32/Linux-3.10.patch
emerge nvidia-drivers


Notice I restricted it to a specific version of nvidia-drivers. I don't like leaving extra patches around for long where they might cause trouble.


Thanks for the tip! I didn't know you could restrict patches to a given package version that way.
Back to top
View user's profile Send private message
balticer
n00b
n00b


Joined: 30 Apr 2012
Posts: 5

PostPosted: Thu Jul 04, 2013 8:41 am    Post subject: Reply with quote

saellaven wrote:
patch for 325.08 can be found here

https://devtalk.nvidia.com/default/topic/549208/linux/patch-for-325-08-on-linux-3-10/


Hi,

this patch does not work for me.

=> /var/tmp/portage/x11-drivers/nvidia-drivers-325.08/temp/Linux-3.10.patch.out
Code:

***** Linux-3.10.patch *****
PWD: /var/tmp/portage/x11-drivers/nvidia-drivers-325.08/work

============================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/nvidia-drivers-325.08/Linux-3.10.patch'

============================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-i2c.c.orig nv-i2c.c
|--- nv-i2c.c.orig   2013-07-01 21:45:45.241886356 -0400
|+++ nv-i2c.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 32
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-procfs.c.orig nv-procfs.c
|--- nv-procfs.c.orig   2013-07-01 21:45:41.035242479 -0400
|+++ nv-procfs.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
15 out of 15 hunks ignored

patch program exited with status 1
============================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/nvidia-drivers-325.08/Linux-3.10.patch'

============================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-i2c.c.orig nv-i2c.c
|--- nv-i2c.c.orig   2013-07-01 21:45:45.241886356 -0400
|+++ nv-i2c.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 32
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-procfs.c.orig nv-procfs.c
|--- nv-procfs.c.orig   2013-07-01 21:45:41.035242479 -0400
|+++ nv-procfs.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
15 out of 15 hunks ignored

patch program exited with status 1
============================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/nvidia-drivers-325.08/Linux-3.10.patch'

============================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-i2c.c.orig nv-i2c.c
|--- nv-i2c.c.orig   2013-07-01 21:45:45.241886356 -0400
|+++ nv-i2c.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 32
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-procfs.c.orig nv-procfs.c
|--- nv-procfs.c.orig   2013-07-01 21:45:41.035242479 -0400
|+++ nv-procfs.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
15 out of 15 hunks ignored

patch program exited with status 1
============================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/nvidia-drivers-325.08/Linux-3.10.patch'

============================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-i2c.c.orig nv-i2c.c
|--- nv-i2c.c.orig   2013-07-01 21:45:45.241886356 -0400
|+++ nv-i2c.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 32
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-procfs.c.orig nv-procfs.c
|--- nv-procfs.c.orig   2013-07-01 21:45:41.035242479 -0400
|+++ nv-procfs.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
15 out of 15 hunks ignored

patch program exited with status 1
============================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/nvidia-drivers-325.08/Linux-3.10.patch'

============================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-i2c.c.orig nv-i2c.c
|--- nv-i2c.c.orig   2013-07-01 21:45:45.241886356 -0400
|+++ nv-i2c.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 32
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -U 3 -H -d -r -N -- nv-procfs.c.orig nv-procfs.c
|--- nv-procfs.c.orig   2013-07-01 21:45:41.035242479 -0400
|+++ nv-procfs.c   2013-07-01 21:38:49.532484245 -0400
--------------------------
No file to patch.  Skipping patch.
15 out of 15 hunks ignored

patch program exited with status 1


regards
Back to top
View user's profile Send private message
kriz
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 230

PostPosted: Thu Jul 04, 2013 8:54 am    Post subject: Reply with quote

https://devtalk.nvidia.com/cmd/default/download-comment-attachment/58795/ will work.

cc
_________________
There is nothing in the desert... and no man needs nothing.
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1348

PostPosted: Thu Jul 04, 2013 8:54 am    Post subject: Reply with quote

Naib wrote:
wonder how long till this in the tree then


As per the maintainer's policy to respect Nvidia's support, never; they will have to wait for Nvidia to bring out a new release.
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1122

PostPosted: Thu Jul 04, 2013 10:39 am    Post subject: Reply with quote

@TomWij,
it also patches some file of the kernel tree?
Isn't that unusual and problematic?
(This might be the cause we have to wait longer as usual for upstream official support of linux-3.10 )
_________________
fun2gen2
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1348

PostPosted: Thu Jul 04, 2013 10:51 am    Post subject: Reply with quote

ulenrich wrote:
@TomWij,
it also patches some file of the kernel tree?
Isn't that unusual and problematic?


No, it doesn't patch the kernel as far as I can tell from the patches.
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 395
Location: Bristol, UK

PostPosted: Thu Jul 04, 2013 11:05 am    Post subject: Reply with quote

A pain :( I wanted to try 3.10.0 today.
Any clue if the patch would work on nvidia-drivers-325.08?
_________________
64bit Gentoo on dual Xeon X5650 (24 ht cores), 18GB DDR3 Ram, nVidia Quadro 2000, 128GB Crucial SSD
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1122

PostPosted: Thu Jul 04, 2013 5:44 pm    Post subject: Reply with quote

If the patch got patched without rejection, chances are high the runtime will work .... perhaps
_________________
fun2gen2
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 545
Location: Halle (Saale), Germany

PostPosted: Thu Jul 11, 2013 2:25 pm    Post subject: Reply with quote

kriz wrote:
https://devtalk.nvidia.com/cmd/default/download-comment-attachment/58795/ will work.

cc


Thanks!

Just wanted to let you know that it works on the stock 3.10 vanilla kernel for nvidia-drivers-325.08

Cheers,
Bjoern
_________________
-->Please add [solved] to the initial post's subject line if you feel your problem is resolved.
-->Help answer the unanswered

http://olausson.de
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 341
Location: Leeds

PostPosted: Thu Jul 11, 2013 6:49 pm    Post subject: Reply with quote

Kudos Kriz :) Worked like a charm.
_________________
# touch cock
touch: cannot touch `cock': Permission denied
Back to top
View user's profile Send private message
DawgG
Guru
Guru


Joined: 17 Sep 2003
Posts: 595

PostPosted: Tue Jul 16, 2013 9:03 am    Post subject: 325.08 with 3.10.1-gentoo works, too Reply with quote

just want to confirm it works for 3.10.1-gentoo with 325.08, too.
got this: https://devtalk.nvidia.com/cmd/default/download-comment-attachment/58795/ patch (THX kriz!), put it in /etc/portage/patches/x11-drivers/nvidia-drivers-325.08/Linux-3.10.1.patch and the nvidia-drivers compiled.
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
yseq
n00b
n00b


Joined: 17 Sep 2010
Posts: 12

PostPosted: Tue Jul 16, 2013 6:27 pm    Post subject: Reply with quote

I had to do the version.h trick.
Removing it from /usr/src/linux/include/linux/ works.
Does anyone confirm?
Back to top
View user's profile Send private message
mapi
n00b
n00b


Joined: 05 May 2010
Posts: 4

PostPosted: Thu Jul 18, 2013 9:04 pm    Post subject: Reply with quote

Hey,
for 1.000 times - thanks!

mapi
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 395
Location: Bristol, UK

PostPosted: Tue Jul 23, 2013 11:16 am    Post subject: Reply with quote

Works on 10.2 as well.

To get and apply the patch easily, run as root:
Code:
mkdir -p /etc/portage/patches/x11-drivers/nvidia-drivers-325.08/
wget "http://pastebin.com/raw.php?i=PANw6m1e" -O /etc/portage/patches/x11-drivers/nvidia-drivers-325.08/Linux-3.10.2.patch
emerge -v1 nvidia-drivers

_________________
64bit Gentoo on dual Xeon X5650 (24 ht cores), 18GB DDR3 Ram, nVidia Quadro 2000, 128GB Crucial SSD
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum