Re: [REGRESSION] Linux kernel 6.12.75 fails to compile with -Werror=implicit-function-declaration
From: Peter Schneider
Date: Wed Mar 04 2026 - 14:06:26 EST
Am 04.03.2026 um 18:35 schrieb Aditya Garg:
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
I already found and reported this in the RC cycle [1], and Sasha dropped it in -rc2 [2], and now in the release, it obviously has, somewhat mysteriously, reappeared [3], affecting all of today's 6.x stable branch releases.
[1] https://lore.kernel.org/stable/66461c13-1bb3-473c-b57f-adba9db4f756@xxxxxxxxxxxxxx/
[2] https://lore.kernel.org/stable/a04b1aa6-ba46-4368-9dfe-6320a2dafa79@xxxxxxxxxxxxxx/
[3] https://lore.kernel.org/stable/c435a3c6-5952-453f-9e50-31e0c6cdd09f@xxxxxxxxxxxxxx/
Beste Grüße,
Peter Schneider
--
Climb the mountain not to plant your flag, but to embrace the challenge,
enjoy the air and behold the view. Climb it so you can see the world,
not so the world can see you. -- David McCullough Jr.
OpenPGP: 0xA3828BD796CCE11A8CADE8866E3A92C92C3FF244
Download: https://www.peters-netzplatz.de/download/pschneider1968_pub.asc
https://keys.mailvelope.com/pks/lookup?op=get&search=pschneider1968@xxxxxxxxxxxxxx
https://keys.mailvelope.com/pks/lookup?op=get&search=pschneider1968@xxxxxxxxx