FS#55494 - linux-zen built with gcc 7.2.0, which is still in testing, nvidia dkms fails

Attached to Project: Arch Linux
Opened by revel (revel) - Monday, 04 September 2017, 05:04 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 04 September 2017, 05:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The newest linux-zen is built with gcc 7.2.0, which is still in testing. Building nvidia dkms module with gcc from multilib repository fails.
ref: https://www.archlinux.org/packages/?q=gcc

Additional info:
* package version(s)
System up to date.
linux-zen 4.12.10-1
nvidia-340xx-dkms 340.102-16
gcc-multilib 7.1.1-4

Steps to reproduce:
# sudo dkms install -k 4.12.10-1-zen -m nvidia/340.102

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.12.10-1-zen module KERNEL_UNAME=4.12.10-1-zen; make -C uvm module KERNEL_UNAME=4.12.10-1-zen KBUILD_EXTMOD=/var/lib/dkms/nvidia/340.102/build/uvm....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.12.10-1-zen (x86_64)
Consult /var/lib/dkms/nvidia/340.102/build/make.log for more information.

# cat /var/lib/dkms/nvidia/340.102/build/make.log
DKMS make.log for nvidia-340.102 for kernel 4.12.10-1-zen (x86_64)
pon, 4 wrz 2017, 05:56:14 CEST

gcc-version-check failed:

The compiler used to compile the kernel (gcc
7.2) does not exactly match the current compiler
(gcc 7.1).
[...]
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 04 September 2017, 05:29 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#55294 

Loading...