Kernel Build Breakage Caused by GCC 15's New Warning
2025-04-25
Linus Torvalds, just before releasing kernel 6.15-rc3, hastily patched the kernel to address warnings from GCC 15's new -Wunterminated-string-initialization option, which was included in Fedora 42. This last-minute fix broke builds on older GCC versions, sparking a debate with kernel developer Kees Cook. The incident highlights the risks of using unreleased compiler versions and the importance of better communication and coordination between developers. Torvalds ultimately reverted the patch, temporarily disabling the warning.
(lwn.net)
Development
GCC Compiler