Не собирается nvidia-drivers-470.129.06

arning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Gentoo 11.2.1_p20220115 p4) 11.2.1 20220115
You are using: x86_64-pc-linux-gnu-gcc (Gentoo 11.3.0 p4) 11.3.0
make -f ./scripts/Makefile.build obj=/var/calculate/tmp/portage/x11-drivers/nvidia-drivers-470.129.06/work/kernel
single-build=
need-builtin=1 need-modorder=1

The C compiler ‘x86_64-pc-linux-gnu-gcc’ does not appear to be able to
create object files. Please make sure you have
your Linux distribution’s libc development package
installed and that ‘x86_64-pc-linux-gnu-gcc’ is a valid C compiler
name.

*** Failed CC sanity check. Bailing out! ***

make[2]: *** [/var/calculate/tmp/portage/x11-drivers/nvidia-drivers-470.129.06/work/kernel/Kbuild:194: cc_sanity_check] Error 1
make[2]: *** Waiting for unfinished jobs…
make[1]: *** [Makefile:1868: /var/calculate/tmp/portage/x11-drivers/nvidia-drivers-470.129.06/work/kernel] Error 2
make[1]: Leaving directory ‘/usr/src/linux-5.15.29-calculate’
make: *** [Makefile:80: modules] Error 2

  • ERROR: x11-drivers/nvidia-drivers-470.129.06::gentoo failed (compile phase):

  • emake failed

  • If you need support, post the output of emerge --info '=x11-drivers/nvidia-drivers-470.129.06::gentoo',

  • the complete build log and the output of emerge -pqv '=x11-drivers/nvidia-drivers-470.129.06::gentoo'.

  • The complete build log is located at ‘/var/calculate/tmp/portage/x11-drivers/nvidia-drivers-470.129.06/temp/build.log’.

  • The ebuild environment file is located at ‘/var/calculate/tmp/portage/x11-drivers/nvidia-drivers-470.129.06/temp/environment’.

  • Working directory: ‘/var/calculate/tmp/portage/x11-drivers/nvidia-drivers-470.129.06/work/kernel’

  • S: ‘/var/calculate/tmp/portage/x11-drivers/nvidia-drivers-470.129.06/work’

  • Не удалось собрать x11-drivers/nvidia-drivers-470.129.06::gentoo

  • Не удалось обновить