On Fri, Aug 01, 2025 at 06:13:44PM -0700, Nathan Chancellor wrote: > On Fri, Aug 01, 2025 at 05:55:27PM -0700, Kees Cook wrote: > > On Fri, Aug 01, 2025 at 05:43:16PM -0700, Nathan Chancellor wrote: > > > On Fri, Aug 01, 2025 at 05:27:40PM -0700, Kees Cook wrote: > > > > With the few remaining fixes now landed, we can re-enable the option > > > > -Wunterminated-string-initialization for GCC. (Clang does not yet fully > > > > understand the "nonstring" attribute.) > > > > > > > > Signed-off-by: Kees Cook <k...@kernel.org> > > > > > > What else does Clang need? Are bugs filed? I had requested support for > > > multidimensional arrays, which Aaron implemented pretty quickly (and the > > > tests seem pretty expansive): > > > > > > https://github.com/llvm/llvm-project/commit/e8ae77947154e10dbc05cbb95ec9e10d3b0be13e > > > > Oh! I missed that commit. Did that end up in Clang 21? Let me try some > > test builds with a more recent Clang... > > Whoops, linked the wrong change (although that one is still good): > > https://github.com/llvm/llvm-project/commit/3d4f979e271d2a1fe0906f4d1b16db108838f98f > > But yes, both those changes are in 21.1.0-rc1. I uploaded -rc2 to > kernel.org a couple of days ago: https://kernel.org/pub/tools/llvm/
Ah yeah! Let me get this retested with the 21.1 release. I think we don't need any special handling. -- Kees Cook