public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION] Linux kernel 6.12.75 fails to compile with -Werror=implicit-function-declaration
@ 2026-03-04 17:35 Aditya Garg
  2026-03-04 17:52 ` [SEVERE] " Aditya Garg
  2026-03-04 19:00 ` Peter Schneider
  0 siblings, 2 replies; 13+ messages in thread
From: Aditya Garg @ 2026-03-04 17:35 UTC (permalink / raw)
  To: zohar@linux.ibm.com, akpm@linux-foundation.org,
	Harshit Mogalapalli, Greg Kroah-Hartman
  Cc: ardb@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com,
	graf@amazon.com, guoweikang.kernel@gmail.com,
	harshit.m.mogalapalli@oracle.com, henry.willard@oracle.com,
	hpa@zytor.com, jbohac@suse.cz, joel.granados@kernel.org,
	linux-kernel@vger.kernel.org, mingo@redhat.com, noodles@fb.com,
	paul.x.webb@oracle.com, rppt@kernel.org, sohil.mehta@intel.com,
	sourabhjain@linux.ibm.com, stable@vger.kernel.org,
	tglx@linutronix.de, x86@kernel.org, yifei.l.liu@oracle.com

Hi

I found out that Linux kernel 6.12.75 failed to compiled in my automatic builds. The compiler throws the error:

arch/x86/kernel/setup.c: In function 'ima_get_kexec_buffer':
arch/x86/kernel/setup.c:380:15: error: implicit declaration of function 'ima_validate_range' [-Werror=implicit-function-declaration]
380 |         ret = ima_validate_range(ima_kexec_buffer_phys, ima_kexec_buffer_size);
    |               ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[7]: *** [scripts/Makefile.build:229: arch/x86/kernel/setup.o] Error 1
make[6]: *** [scripts/Makefile.build:466: arch/x86/kernel] Error 2
make[5]: *** [scripts/Makefile.build:466: arch/x86] Error 2

Upon searching a bit, I found out that failure of this patch to be backported seems to be main reason:

https://lore.kernel.org/all/20251231061609.907170-2-harshit.m.mogalapalli@oracle.com/

Looks like this series itself was not properly backported.

I am not sure if any other kernel version is affected. I currently build 6.19 and 6.12 series for my use.

Thanks!
Aditya

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-03-06  2:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-04 17:35 [REGRESSION] Linux kernel 6.12.75 fails to compile with -Werror=implicit-function-declaration Aditya Garg
2026-03-04 17:52 ` [SEVERE] " Aditya Garg
2026-03-04 18:04   ` Aditya Garg
2026-03-04 19:00 ` Peter Schneider
2026-03-04 19:37   ` Peter Schneider
2026-03-05 17:40   ` Brett A C Sheffield
2026-03-05 20:21     ` Sasha Levin
2026-03-05 21:57       ` Brett A C Sheffield
2026-03-06  2:51         ` Sasha Levin
2026-03-05 22:06       ` Peter Schneider
2026-03-05 22:46         ` Harshit Mogalapalli
2026-03-06  0:23           ` Peter Schneider
2026-03-06  2:57         ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox