Rebuild linux517. Was built with GCC 11.1 and unstable branch has 11.2, so DKMS fails

The 5.17-rc4 in unstable was built with gcc 11.1 and the version of gcc in unstable is 11.2, so, dkms refuses to build modules.

DKMS make.log for vboxhost-6.1.32_non_OSE for kernel 5.17.0-1-MANJARO (x86_64)
lun 14 feb 2022 18:57:19 -03
make: se entra en el directorio '/usr/lib/modules/5.17.0-1-MANJARO/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (GCC) 11.1.0
  You are using:           gcc (GCC) 11.2.0
  CC [M]  /var/lib/dkms/vboxhost/6.1.32_non_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.32_non_OSE/build/vboxnetflt/VBoxNetFlt.o

DKMS make.log for zenpower3-0.2.0 for kernel 5.17.0-1-MANJARO (x86_64)
lun 14 feb 2022 18:57:20 -03
make[1]: se entra en el directorio '/usr/lib/modules/5.17.0-1-MANJARO/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (GCC) 11.1.0
  You are using:           gcc (GCC) 11.2.0
  CC [M]  /var/lib/dkms/zenpower3/0.2.0/build/zenpower.o

Temporaly I’m using a kernel from Arch repo, that is built using gcc 11.2.

I don’t know where is the right place to post bugs, sorry for that.

Best Regards.

gcc 11.2 and glibc 2.35-2 just hit unstable.

Yes, I’m in unstable branch, the linux517 (5.17-rc4) is available in the branch, with gcc 11.2 but the kernel was compiled with gcc 11.1. I am not moving between branches.

No problem, I was just warning, Thank you.

Updates landed! Solved.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.