*Get this message when compiling a kernel module under branch kirkstone and* 
*intel-corei7-64*
warning: the compiler differs from the one used to build the kerne
The kernel was built by: x86_64-poky-linux-gcc (GCC) 11.3.0
You are using:           gcc (GCC) 11.3.0
*cat /proc/version*
Linux version 5.15.85-intel-pk-standard (oe-user@oe-host) 
(x86_64-poky-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 
SMP PREEMPT Wed Jan 11 19:36:47 UTC 2023
*gcc --version*
gcc (GCC) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

But I actual believe that I use the same compiler as the one used to build the 
kernel.
I suspect that the version format from the gcc compiler has changed so the 
compare of the versions don't work.

The kernel compiling works for an old Yocto kernel 3.19.5  from 2015  with same 
makefile and source file.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12211): 
https://lists.yoctoproject.org/g/linux-yocto/message/12211
Mute This Topic: https://lists.yoctoproject.org/mt/97367211/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to