Bug#742645: nvidia-kernel-dkms: fails to build with linux-image-3.14-rc7-amd64 from experimental
Andrei POPESCU
andreimpopescu at gmail.com
Tue Mar 25 21:24:19 UTC 2014
Package: nvidia-kernel-dkms
Version: 331.49-1
Severity: important
root at sid:/etc# dpkg-reconfigure nvidia-kernel-dkms
-------- Uninstall Beginning --------
Module: nvidia-current
Version: 331.49
Kernel: 3.13-1-amd64 (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
nvidia-current.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13-1-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod........
DKMS: uninstall completed.
------------------------------
Deleting module version: 331.49
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-331.49 DKMS files...
Building for 3.13-1-amd64 and 3.14-rc7-amd64
Building initial module for 3.13-1-amd64
Done.
nvidia-current:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13-1-amd64/updates/dkms/
depmod....
DKMS: install completed.
Building initial module for 3.14-rc7-amd64
Error! Bad return status for module build on kernel: 3.14-rc7-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/331.49/build/make.log for more information.
make.log is attached.
[snip irrelevant reportbug additions]
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nvidia-kernel-dkms depends on:
ii dkms 2.2.0.3-1.2
ii nvidia-alternative [nvidia-alternative--kmod-alias] 331.49-1
ii nvidia-installer-cleanup 20131102+1
ii nvidia-kernel-common 20131102+1
Versions of packages nvidia-kernel-dkms recommends:
ii nvidia-driver 331.49-1
nvidia-kernel-dkms suggests no packages.
Versions of packages nvidia-driver depends on:
ii libc6 2.18-4
ii libgl1-nvidia-glx 331.49-1
ii libnvidia-ml1 331.49-1
ii nvidia-alternative 331.49-1
ii nvidia-installer-cleanup 20131102+1
ii nvidia-support 20131102+1
ii nvidia-vdpau-driver 331.49-1
ii xserver-xorg-video-nvidia 331.49-1
Versions of packages nvidia-driver recommends:
ii nvidia-settings 319.82-1
nvidia-driver suggests no packages.
Versions of packages libgl1-nvidia-glx depends on:
ii libc6 2.18-4
ii libx11-6 2:1.6.2-1
ii libxext6 2:1.3.2-1
ii multiarch-support 2.18-4
ii nvidia-alternative 331.49-1
ii nvidia-installer-cleanup 20131102+1
ii nvidia-support 20131102+1
libgl1-nvidia-glx recommends no packages.
libgl1-nvidia-glx suggests no packages.
Versions of packages xserver-xorg-video-nvidia depends on:
ii debconf [debconf-2.0] 1.5.52
ii libc6 2.18-4
ii libgl1-nvidia-glx 331.49-1
ii nvidia-alternative 331.49-1
ii nvidia-installer-cleanup 20131102+1
ii nvidia-support 20131102+1
ii xserver-xorg-core [xorg-video-abi-15] 2:1.15.0-2
Versions of packages xserver-xorg-video-nvidia recommends:
ii nvidia-driver 331.49-1
ii nvidia-settings 319.82-1
ii nvidia-vdpau-driver 331.49-1
xserver-xorg-video-nvidia suggests no packages.
Versions of packages nvidia-alternative depends on:
ii glx-alternative-nvidia 0.4.1
Versions of packages glx-alternative-nvidia depends on:
ii glx-alternative-mesa 0.4.1
ii glx-diversions 0.4.1
Versions of packages glx-alternative-nvidia suggests:
ii nvidia-driver 331.49-1
Versions of packages nvidia-kernel-dkms is related to:
pn ia32-libs <none>
pn libdrm-nouveau1 <none>
pn libdrm-nouveau1a <none>
ii libdrm-nouveau2 2.4.52-1
pn libgl1-nvidia-alternatives-ia32 <none>
ii libgl1-nvidia-glx [libgl1-nvidia-glx-any] 331.49-1
pn libgl1-nvidia-glx-ia32 <none>
pn libgl1-nvidia-glx-ia32-any <none>
pn libgl1-nvidia-legacy-173xx-glx-ia32 <none>
pn libgl1-nvidia-legacy-96xx-glx-ia32 <none>
pn linux-headers <none>
ii nvidia-driver [nvidia-glx-any] 331.49-1
pn nvidia-glx <none>
ii nvidia-kernel-common 20131102+1
ii nvidia-kernel-dkms 331.49-1
pn nvidia-kernel-source <none>
ii nvidia-settings 319.82-1
ii nvidia-support 20131102+1
pn nvidia-xconfig <none>
ii xserver-xorg 1:7.7+6
ii xserver-xorg-core 2:1.15.0-2
ii xserver-xorg-video-nouveau 1:1.0.10-1+b1
ii xserver-xorg-video-nvidia [xserver-xorg-video-nvidia-any] 331.49-1
-- no debconf information
-------------- next part --------------
DKMS make.log for nvidia-current-331.49 for kernel 3.14-rc7-amd64 (x86_64)
mar?i 25 martie 2014, 23:17:05 +0200
make: Entering directory `/var/lib/dkms/nvidia-current/331.49/build'
make KBUILD_VERBOSE=1 -C /lib/modules/3.14-rc7-amd64/build M=/var/lib/dkms/nvidia-current/331.49/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.14-rc7-amd64'
make -C /usr/src/linux-headers-3.14-rc7-amd64 \
KBUILD_SRC=/usr/src/linux-headers-3.14-rc7-common \
KBUILD_EXTMOD="/var/lib/dkms/nvidia-current/331.49/build" -f /usr/src/linux-headers-3.14-rc7-common/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/lib/dkms/nvidia-current/331.49/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-current/331.49/build/.tmp_versions/*
make -f /usr/src/linux-headers-3.14-rc7-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/331.49/build
/bin/sh /var/lib/dkms/nvidia-current/331.49/build/conftest.sh " gcc-4.8" " gcc-4.8" x86 /lib/modules/3.14-rc7-amd64/build /lib/modules/3.14-rc7-amd64/build compile_tests remap_page_range remap_pfn_range vmap set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_device_id acquire_console_sem kmem_cache_create outer_flush_all on_each_cpu smp_call_function vmm_support nvmap_support acpi_evaluate_integer ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace scatterlist pci_domain_nr pci_dma_mapping_error file_operations sg_init_table pci_get_domain_bus_and_slot get_num_physpages efi_enabled dom0_kernel_present drm_available proc_create_data pde_data proc_remove
echo \#define NV_COMPILER \"` gcc-4.8 -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-current/331.49/build/nv_compiler.h
gcc-4.8 -Wp,-MD,/var/lib/dkms/nvidia-current/331.49/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.8/include -I/usr/src/linux-headers-3.14-rc7-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.14-rc7-common/include -Iinclude -I/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.14-rc7-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.14-rc7-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia-current/331.49/build -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 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -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_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 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/331.49/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.49\" -Wno-unused-function -Wuninitialized -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/331.49/build/.tmp_nv.o /var/lib/dkms/nvidia-current/331.49/build/nv.c
In file included from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/bitops.h:506:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/bitops.h:33,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv.c:13:
/usr/src/linux-headers-3.14-rc7-common/include/linux/bitops.h: In function ?hweight_long?:
/usr/src/linux-headers-3.14-rc7-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/bitops.h:77:41: note: in expansion of macro ?hweight64?
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/preempt.h:6,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/preempt.h:18,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv.c:13:
/usr/src/linux-headers-3.14-rc7-common/include/linux/cpumask.h: In function ?cpumask_parse?:
/usr/src/linux-headers-3.14-rc7-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv.c:13:
/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/compiler.h:152:40: note: in definition of macro ?likely?
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/compiler.h:152:40: note: in definition of macro ?likely?
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:272:0,
from /var/lib/dkms/nvidia-current/331.49/build/nv.c:13:
/usr/src/linux-headers-3.14-rc7-common/include/acpi/acpi_drivers.h: At top level:
/usr/src/linux-headers-3.14-rc7-common/include/acpi/acpi_drivers.h:98:43: warning: ?struct acpi_pci_root? declared inside parameter list [enabled by default]
struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
^
/usr/src/linux-headers-3.14-rc7-common/include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
gcc-4.8 -Wp,-MD,/var/lib/dkms/nvidia-current/331.49/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.8/include -I/usr/src/linux-headers-3.14-rc7-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.14-rc7-common/include -Iinclude -I/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.14-rc7-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.14-rc7-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia-current/331.49/build -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 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -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_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 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/331.49/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.49\" -Wno-unused-function -Wuninitialized -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/331.49/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c
In file included from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/bitops.h:506:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/bitops.h:33,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/usr/src/linux-headers-3.14-rc7-common/include/linux/bitops.h: In function ?hweight_long?:
/usr/src/linux-headers-3.14-rc7-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/bitops.h:77:41: note: in expansion of macro ?hweight64?
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/preempt.h:6,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/preempt.h:18,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/usr/src/linux-headers-3.14-rc7-common/include/linux/cpumask.h: In function ?cpumask_parse?:
/usr/src/linux-headers-3.14-rc7-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/compiler.h:152:40: note: in definition of macro ?likely?
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-3.14-rc7-common/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/compiler.h:152:40: note: in definition of macro ?likely?
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:272:0,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/usr/src/linux-headers-3.14-rc7-common/include/acpi/acpi_drivers.h: At top level:
/usr/src/linux-headers-3.14-rc7-common/include/acpi/acpi_drivers.h:98:43: warning: ?struct acpi_pci_root? declared inside parameter list [enabled by default]
struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
^
/usr/src/linux-headers-3.14-rc7-common/include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:58:21: error: variable ?nv_acpi_driver_template? has initializer but incomplete type
static const struct acpi_driver nv_acpi_driver_template = {
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:59:5: error: unknown field ?name? specified in initializer
.name = "NVIDIA ACPI Video Driver",
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:59:5: warning: excess elements in struct initializer [enabled by default]
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:59:5: warning: (near initialization for ?nv_acpi_driver_template?) [enabled by default]
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:60:5: error: unknown field ?class? specified in initializer
.class = "video",
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:60:5: warning: excess elements in struct initializer [enabled by default]
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:60:5: warning: (near initialization for ?nv_acpi_driver_template?) [enabled by default]
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:63:5: error: unknown field ?ids? specified in initializer
.ids = nv_video_device_ids,
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:63:5: warning: excess elements in struct initializer [enabled by default]
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:63:5: warning: (near initialization for ?nv_acpi_driver_template?) [enabled by default]
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:68:5: error: unknown field ?ops? specified in initializer
.ops = {
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:68:5: error: extra brace group at end of initializer
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:68:5: error: (near initialization for ?nv_acpi_driver_template?)
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:74:5: warning: excess elements in struct initializer [enabled by default]
},
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:74:5: warning: (near initialization for ?nv_acpi_driver_template?) [enabled by default]
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c: In function ?nv_acpi_get_device_handle?:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:79:23: warning: unused variable ?nvl? [-Wunused-variable]
nv_linux_state_t *nvl = NV_GET_NVL_FROM_NV_STATE(nv);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c: In function ?nv_acpi_init?:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:121:20: error: invalid application of ?sizeof? to incomplete type ?struct acpi_driver?
sizeof(struct acpi_driver));
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:126:20: error: invalid application of ?sizeof? to incomplete type ?struct acpi_driver?
sizeof(struct acpi_driver));
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:128:5: error: implicit declaration of function ?acpi_bus_register_driver? [-Werror=implicit-function-declaration]
status = acpi_bus_register_driver(nv_acpi_driver);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c: In function ?nv_acpi_uninit?:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:163:5: error: implicit declaration of function ?acpi_bus_unregister_driver? [-Werror=implicit-function-declaration]
acpi_bus_unregister_driver(nv_acpi_driver);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c: In function ?nv_acpi_add?:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:206:11: error: dereferencing pointer to incomplete type
device->driver_data = pNvAcpiObject;
^
In file included from /usr/src/linux-headers-3.14-rc7-common/include/linux/preempt.h:10:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:213:43: error: dereferencing pointer to incomplete type
list_for_each_safe(node, next, &device->children)
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:425:14: note: in definition of macro ?list_for_each_safe?
for (pos = (head)->next, n = pos->next; pos != (head); \
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:425:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
for (pos = (head)->next, n = pos->next; pos != (head); \
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:213:5: note: in expansion of macro ?list_for_each_safe?
list_for_each_safe(node, next, &device->children)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:213:43: error: dereferencing pointer to incomplete type
list_for_each_safe(node, next, &device->children)
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:425:50: note: in definition of macro ?list_for_each_safe?
for (pos = (head)->next, n = pos->next; pos != (head); \
^
In file included from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:15:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:833:27: error: dereferencing pointer to incomplete type
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:351:2: note: in expansion of macro ?container_of?
container_of(ptr, type, member)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:216:13: note: in expansion of macro ?list_entry?
list_entry(node, struct acpi_device, node);
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:833:48: warning: initialization from incompatible pointer type [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:351:2: note: in expansion of macro ?container_of?
container_of(ptr, type, member)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:216:13: note: in expansion of macro ?list_entry?
list_entry(node, struct acpi_device, node);
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:833:48: warning: (near initialization for ?dev?) [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:351:2: note: in expansion of macro ?container_of?
container_of(ptr, type, member)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:216:13: note: in expansion of macro ?list_entry?
list_entry(node, struct acpi_device, node);
^
In file included from /usr/src/linux-headers-3.14-rc7-common/include/linux/compiler-gcc.h:106:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/compiler.h:54,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/stddef.h:1,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:216:37: error: invalid use of undefined type ?struct acpi_device?
list_entry(node, struct acpi_device, node);
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/compiler-gcc4.h:14:53: note: in definition of macro ?__compiler_offsetof?
#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:834:29: note: in expansion of macro ?offsetof?
(type *)( (char *)__mptr - offsetof(type,member) );})
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:351:2: note: in expansion of macro ?container_of?
container_of(ptr, type, member)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:216:13: note: in expansion of macro ?list_entry?
list_entry(node, struct acpi_device, node);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:230:13: error: implicit declaration of function ?acpi_evaluate_integer? [-Werror=implicit-function-declaration]
acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:230:38: error: dereferencing pointer to incomplete type
acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:249:65: error: dereferencing pointer to incomplete type
pNvAcpiObject->pNvVideo[device_counter].dev_handle = dev->handle;
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:264:41: error: dereferencing pointer to incomplete type
status = acpi_evaluate_object(device->handle, "_DOS", &control_argument_list, NULL);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:272:48: error: dereferencing pointer to incomplete type
status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c: In function ?nv_acpi_remove?:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:297:38: error: dereferencing pointer to incomplete type
nv_acpi_t *pNvAcpiObject = device->driver_data;
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:311:41: error: dereferencing pointer to incomplete type
status = acpi_evaluate_object(device->handle, "_DOS", &control_argument_list, NULL);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:322:51: error: dereferencing pointer to incomplete type
status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:336:15: error: dereferencing pointer to incomplete type
device->driver_data = NULL;
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c: In function ?nv_install_notifier?:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:465:28: error: dereferencing pointer to incomplete type
if ((!device) || device->driver_data)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:482:11: error: dereferencing pointer to incomplete type
device->driver_data = pNvAcpiObject;
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:488:48: error: dereferencing pointer to incomplete type
status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:502:12: error: dereferencing pointer to incomplete type
device->driver_data = NULL;
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c: In function ?nv_uninstall_notifier?:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:516:27: error: dereferencing pointer to incomplete type
pNvAcpiObject = device->driver_data;
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:519:51: error: dereferencing pointer to incomplete type
status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, handler);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:529:19: error: dereferencing pointer to incomplete type
device->driver_data = NULL;
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c: In function ?nv_acpi_methods_init?:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:567:13: error: implicit declaration of function ?acpi_bus_get_device? [-Werror=implicit-function-declaration]
retVal = acpi_bus_get_device(nvif_parent_gpu_handle, &device);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:572:23: error: dereferencing pointer to incomplete type
if (device->driver_data)
^
In file included from /usr/src/linux-headers-3.14-rc7-common/include/linux/preempt.h:10:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c: In function ?nv_acpi_ddc_method?:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1216:43: error: dereferencing pointer to incomplete type
list_for_each_safe(node, next, &device->children)
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:425:14: note: in definition of macro ?list_for_each_safe?
for (pos = (head)->next, n = pos->next; pos != (head); \
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:425:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
for (pos = (head)->next, n = pos->next; pos != (head); \
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1216:5: note: in expansion of macro ?list_for_each_safe?
list_for_each_safe(node, next, &device->children)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1216:43: error: dereferencing pointer to incomplete type
list_for_each_safe(node, next, &device->children)
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:425:50: note: in definition of macro ?list_for_each_safe?
for (pos = (head)->next, n = pos->next; pos != (head); \
^
In file included from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:15:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:833:27: error: dereferencing pointer to incomplete type
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:351:2: note: in expansion of macro ?container_of?
container_of(ptr, type, member)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1219:13: note: in expansion of macro ?list_entry?
list_entry(node, struct acpi_device, node);
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:833:48: warning: initialization from incompatible pointer type [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:351:2: note: in expansion of macro ?container_of?
container_of(ptr, type, member)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1219:13: note: in expansion of macro ?list_entry?
list_entry(node, struct acpi_device, node);
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:833:48: warning: (near initialization for ?dev?) [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:351:2: note: in expansion of macro ?container_of?
container_of(ptr, type, member)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1219:13: note: in expansion of macro ?list_entry?
list_entry(node, struct acpi_device, node);
^
In file included from /usr/src/linux-headers-3.14-rc7-common/include/linux/compiler-gcc.h:106:0,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/compiler.h:54,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/stddef.h:1,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.14-rc7-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.14-rc7-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:46,
from /var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:15:
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1219:37: error: invalid use of undefined type ?struct acpi_device?
list_entry(node, struct acpi_device, node);
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/compiler-gcc4.h:14:53: note: in definition of macro ?__compiler_offsetof?
#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/kernel.h:834:29: note: in expansion of macro ?offsetof?
(type *)( (char *)__mptr - offsetof(type,member) );})
^
/usr/src/linux-headers-3.14-rc7-common/include/linux/list.h:351:2: note: in expansion of macro ?container_of?
container_of(ptr, type, member)
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1219:13: note: in expansion of macro ?list_entry?
list_entry(node, struct acpi_device, node);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1224:43: error: dereferencing pointer to incomplete type
status = acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
^
/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.c:1233:33: error: dereferencing pointer to incomplete type
lcd_dev_handle = dev->handle;
^
cc1: some warnings being treated as errors
make[4]: *** [/var/lib/dkms/nvidia-current/331.49/build/nv-acpi.o] Error 1
make[3]: *** [_module_/var/lib/dkms/nvidia-current/331.49/build] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.14-rc7-amd64'
make: *** [modules] Error 2
make: Leaving directory `/var/lib/dkms/nvidia-current/331.49/build'
More information about the pkg-nvidia-devel
mailing list