[Buildroot] nvidia kernel module build fails

Tal Lubko tallubko at yahoo.com
Mon Nov 1 17:04:19 UTC 2021


Hi
I'm trying to build nvidia kernel module (BR2_PACKAGE_NVIDIA_DRIVER_MODULE option) but I get the following error:
===Compiler version check failed:
The major and minor number of the compiler used tocompile the kernel:
x86_64-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 9.3.0, GNU ld (GNU Binutils) 2.33.1
does not match the compiler used here:
x86_64-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 9.3.0Copyright (C) 2019 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

It is recommended to set the CC environment variableto the compiler that was used to compile the kernel.
The compiler version check can be disabled by settingthe IGNORE_CC_MISMATCH environment variable to "1".However, mixing compiler versions between the kerneland kernel modules can result in subtle bugs that aredifficult to diagnose.
*** Failed CC version check. Bailing out! ***===

Host machine: Ubuntu 18.04.6Buildroot version: 2021.02.6Target: x86_64 (corei7)
Is this the place for reporting issues?
Regards,Tal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20211101/3ff024c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.tar.gz
Type: application/gzip
Size: 15515 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20211101/3ff024c3/attachment.bin>


More information about the buildroot mailing list