Bug#886470: nvidia-kernel-dkms: FTBFS against linux 4.14.12-2
Luca Boccassi
bluca at debian.org
Sat Jan 6 16:20:22 UTC 2018
Control: tags -1 pending
On Sat, 6 Jan 2018 14:51:40 +0100 Sebastian Ramacher <sramacher at debian.
org> wrote:
> Package: nvidia-kernel-dkms
> Version: 384.98-3
> Severity: grave
> Justification: renders package unusable
>
> The build of kernel module fails against linux 4.14.12-2:
> | make: Entering directory '/usr/src/linux-headers-4.14.0-3-amd64'
> | /usr/src/linux-headers-4.14.0-3-common/Makefile:947: *** "Cannot
generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-
dev, libelf-devel or elfutils-libelf-devel". Stop.
See #886474 - I have added the dependency to the dkms packages as a
workaround.
> After installing libelf-dev, it fails further down:
> | gcc-7 -Wp,-MD,/var/lib/dkms/nvidia-current/384.98/build/nvidia-
uvm/.uvm8_pte_batch.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-
gnu/7/include -I/usr/src/linux-headers-4.14.0-3-common/arch/x86/include
-I./arch/x86/include/generated -I/usr/src/linux-headers-4.14.0-3-
common/include -I./include -I/usr/src/linux-headers-4.14.0-3-
common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-4.14.0-3-common/include/uapi
-I./include/generated/uapi -include /usr/src/linux-headers-4.14.0-3-
common/include/linux/kconfig.h -I/var/lib/dkms/nvidia-
current/384.98/build -I/var/lib/dkms/nvidia-current/384.98/build
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-
strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-
declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx
-mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1
-mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-
setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-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_SSSE3=1
-DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1
-pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-
null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-
format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-
races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-
strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-
var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
-fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-
prototypes -Werror=date-time -Werror=incompatible-pointer-types
-Werror=designated-init -I/var/lib/dkms/nvidia-
current/384.98/build/common/inc -I/var/lib/dkms/nvidia-
current/384.98/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"384.98\" -Wno-
unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone
-mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-
args -Werror=undef -O2 -DNVIDIA_UVM_ENABLED
-DNVIDIA_UNDEF_LEGACY_BIT_MACROS -DLinux -D__linux__ -
I/var/lib/dkms/nvidia-current/384.98/build/nvidia-uvm -DMODULE -
DKBUILD_BASENAME='"uvm8_pte_batch"' -DKBUILD_MODNAME='"nvidia_uvm"' -c
-o /var/lib/dkms/nvidia-current/384.98/build/nvidia-
uvm/.tmp_uvm8_pte_batch.o /var/lib/dkms/nvidia-
current/384.98/build/nvidia-uvm/uvm8_pte_batch.c
> | In file included from /usr/src/linux-headers-4.14.0-3-
common/arch/x86/include/asm/cpufeature.h:5:0,
> | from /usr/src/linux-headers-4.14.0-3-
common/arch/x86/include/asm/thread_info.h:53,
> | from /usr/src/linux-headers-4.14.0-3-
common/include/linux/thread_info.h:38,
> | from /usr/src/linux-headers-4.14.0-3-
common/arch/x86/include/asm/preempt.h:7,
> | from /usr/src/linux-headers-4.14.0-3-
common/include/linux/preempt.h:81,
> | from /usr/src/linux-headers-4.14.0-3-
common/include/linux/spinlock.h:51,
> | from /var/lib/dkms/nvidia-
current/384.98/build/common/inc/nv-lock.h:16,
> | from /var/lib/dkms/nvidia-
current/384.98/build/common/inc/nv-linux.h:19,
> | from /var/lib/dkms/nvidia-
current/384.98/build/nvidia-uvm/uvm_linux.h:39,
> | from /var/lib/dkms/nvidia-
current/384.98/build/nvidia-uvm/uvm8_va_block.c:24:
> | /var/lib/dkms/nvidia-current/384.98/build/nvidia-
uvm/uvm8_va_block.c: In function ‘block_cpu_fault_locked’:
> | /usr/src/linux-headers-4.14.0-3-
common/arch/x86/include/asm/processor.h:826:39: error: implicit
declaration of function ‘task_stack_page’; did you mean
‘task_stack_vm_area’? [-Werror=implicit-function-declaration]
> | unsigned long __ptr = (unsigned long)task_stack_page(task); \
> | ^
> | /usr/src/linux-headers-4.14.0-3-
common/arch/x86/include/asm/processor.h:909:26: note: in expansion of
macro ‘task_pt_regs’
> | #define KSTK_EIP(task) (task_pt_regs(task)->ip)
> | ^~~~~~~~~~~~
> | /var/lib/dkms/nvidia-current/384.98/build/nvidia-
uvm/uvm8_va_block.c:8771:41: note: in expansion of macro ‘KSTK_EIP’
> | KSTK_EIP(current));
> | ^~~~~~~~
This is fixed upstream in 384.111, pending upload, which is pending
acceptance of 387.34-2 in the NEW queue due to new binary packages:
https://ftp-master.debian.org/new/nvidia-graphics-drivers_387.34-2.html
--
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20180106/679d4bf3/attachment.sig>
More information about the pkg-nvidia-devel
mailing list