Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73795 - [linux-lts] Rebuild with GCC 11.2.0

Attached to Project: Arch Linux
Opened by Frederick Zhang (FrederickZh) - Tuesday, 15 February 2022, 07:28 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 15 February 2022, 12:36 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:

After upgrading the toolchain, DKMS packages like nvidia-dkms, zfs-dkms cannot compile due to 'cc1: error: incompatible gcc/plugin versions'.

The kernel needs to be re-compiled with the new toolchain.

Additional info:

nvidia-dkms build log

CONFTEST: ib_peer_memory_symbols
CC [M] /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv.o
CC [M] /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-pci.o
CC [M] /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-acpi.o
CC [M] /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-cray.o
CC [M] /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-dma.o
CC [M] /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-i2c.o
CC [M] /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-mmap.o
CC [M] /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-p2p.o
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-pci.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-acpi.o] Error 1
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-dma.o] Error 1
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv.o] Error 1
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-mmap.o] Error 1
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-p2p.o] Error 1
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-i2c.o] Error 1
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/510.47.03/build/nvidia/nv-cray.o] Error 1
make[1]: *** [Makefile:1868: /var/lib/dkms/nvidia/510.47.03/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.15.23-1-lts/build'
make: *** [Makefile:82: modules] Error 2

Steps to reproduce:

Install linux-lts and nvidia-dkms.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 15 February 2022, 12:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.15.23-2
Comment by Frederick Zhang (FrederickZh) - Tuesday, 15 February 2022, 08:21 GMT
Not sure if the *-lts kernel modules in official repo need to be rebuilt after this as well?
Comment by Jonathon (jonathon) - Tuesday, 15 February 2022, 12:34 GMT
This breaks systems where DKMS modules are needed - it's probably higher than "Low" priority.

Loading...