Artix Linux Forum

Artix Linux => Package management => Topic started by: VictorBrand on 17 May 2021, 20:27:34

Title: [SOLVED] linux-lts need rebuild with GCC 11.1
Post by: VictorBrand on 17 May 2021, 20:27:34
Dear friends,

I've just updated my system, and GCC was updated alongside with bbswitch-dkms, which caused some issues, because all such kernel modules (like nvidia-dkms, qemu etc) must be compiled against the same GCC version as the kernel. Now, bbswitch module on my laptop is compiled with GCC 11, but the kernel is not upgraded and is compiled with GCC 10. Thus bbswitch module is not installed and nvidia gpu is not turned off and it is heating my laptop in vain.

So, when GCC is updated, it's necessary to update the kernel too and build it against the same GCC version as all of the modules.

P.S. I do use LTS kernel.
Title: Re: linux-lts need rebuild with GCC 11.1
Post by: alium on 17 May 2021, 20:50:00
thanks for report,
new version of linux-lts will be build ASAP....
Title: Re: linux-lts need rebuild with GCC 11.1
Post by: VictorBrand on 17 May 2021, 20:53:12
thanks for report,
new version of linux-lts will be build ASAP....
Thanks!