Re: Disabling -Warray-bounds for gcc-13 too

2023-04-27 Thread Kees Cook
On April 27, 2023 3:50:06 PM PDT, Karol Herbst wrote: >On Fri, Apr 28, 2023 at 12:46 AM Lyude Paul wrote: >> >> Hey Linus, Kees. Responses below >> >> On Sun, 2023-04-23 at 13:23 -0700, Kees Cook wrote: >> > On April 23, 2023 10:36:24 AM PDT, Linus Torvalds >> > wrote: >> > > Kees, >> > > I ma

Re: Disabling -Warray-bounds for gcc-13 too

2023-04-27 Thread Karol Herbst
On Fri, Apr 28, 2023 at 1:27 AM Lyude Paul wrote: > > On Fri, 2023-04-28 at 00:50 +0200, Karol Herbst wrote: > > On Fri, Apr 28, 2023 at 12:46 AM Lyude Paul wrote: > > > > > > Hey Linus, Kees. Responses below > > > > > > On Sun, 2023-04-23 at 13:23 -0700, Kees Cook wrote: > > > > On April 23, 202

Re: Disabling -Warray-bounds for gcc-13 too

2023-04-27 Thread Lyude Paul
On Fri, 2023-04-28 at 00:50 +0200, Karol Herbst wrote: > On Fri, Apr 28, 2023 at 12:46 AM Lyude Paul wrote: > > > > Hey Linus, Kees. Responses below > > > > On Sun, 2023-04-23 at 13:23 -0700, Kees Cook wrote: > > > On April 23, 2023 10:36:24 AM PDT, Linus Torvalds > > > wrote: > > > > Kees, >

Re: Disabling -Warray-bounds for gcc-13 too

2023-04-27 Thread Karol Herbst
On Fri, Apr 28, 2023 at 12:46 AM Lyude Paul wrote: > > Hey Linus, Kees. Responses below > > On Sun, 2023-04-23 at 13:23 -0700, Kees Cook wrote: > > On April 23, 2023 10:36:24 AM PDT, Linus Torvalds > > wrote: > > > Kees, > > > I made the mistake of upgrading my M2 Macbook Air to Fedora-38, and

Re: Disabling -Warray-bounds for gcc-13 too

2023-04-27 Thread Lyude Paul
Hey Linus, Kees. Responses below On Sun, 2023-04-23 at 13:23 -0700, Kees Cook wrote: > On April 23, 2023 10:36:24 AM PDT, Linus Torvalds > wrote: > > Kees, > > I made the mistake of upgrading my M2 Macbook Air to Fedora-38, and > > in the process I got gcc-13 which is not WERROR-clean because w

Re: Disabling -Warray-bounds for gcc-13 too

2023-04-24 Thread Karol Herbst
On Sun, Apr 23, 2023 at 10:24 PM Kees Cook wrote: > > On April 23, 2023 10:36:24 AM PDT, Linus Torvalds > wrote: > >Kees, > > I made the mistake of upgrading my M2 Macbook Air to Fedora-38, and > >in the process I got gcc-13 which is not WERROR-clean because we only > >limited the 'array-bounds

Re: Disabling -Warray-bounds for gcc-13 too

2023-04-23 Thread Kees Cook
On April 23, 2023 10:36:24 AM PDT, Linus Torvalds wrote: >Kees, > I made the mistake of upgrading my M2 Macbook Air to Fedora-38, and >in the process I got gcc-13 which is not WERROR-clean because we only >limited the 'array-bounds' warning to gcc-11 and gcc-12. But gcc-13 >has all the same issu

Disabling -Warray-bounds for gcc-13 too

2023-04-23 Thread Linus Torvalds
Kees, I made the mistake of upgrading my M2 Macbook Air to Fedora-38, and in the process I got gcc-13 which is not WERROR-clean because we only limited the 'array-bounds' warning to gcc-11 and gcc-12. But gcc-13 has all the same issues. And I want to be able to do my arm64 builds with WERROR on