lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wgg0hqiU5M3ExJdSNjx+BzDEC_fH7H_Rb0h_uykavg=Fw@mail.gmail.com>
Date:   Mon, 9 Jan 2023 17:14:26 -0600
From:   Linus Torvalds <torvalds@...ux-foundation.org>
To:     Vlastimil Babka <vbabka@...e.cz>
Cc:     Guenter Roeck <linux@...ck-us.net>, Marco Elver <elver@...gle.com>,
        "Paul E. McKenney" <paulmck@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Kees Cook <kees@...nel.org>, Jaegeuk Kim <jaegeuk@...nel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Linux 6.2-rc3

On Mon, Jan 9, 2023 at 4:43 PM Vlastimil Babka <vbabka@...e.cz> wrote:
>
> On 1/9/23 23:18, Linus Torvalds wrote:
> >
> > Does anybody remember - what was the compiler version again and what
> > do we need to disable?
>
> Guenter reported that "The problem is seen with gcc 11.3.0, but not with gcc
> 12.2.0 nor with gcc 10.3.0."
>
> https://lore.kernel.org/all/20221227002941.GA2691687@roeck-us.net/
>
> Kees said it's -Warray-bounds, already disabled on gcc 12 for other reasons:
>
> https://lore.kernel.org/all/D8BDBF66-E44C-45D4-9758-BAAA4F0C1998@kernel.org/

Thanks.

I added a GCC11_NO_ARRAY_BOUNDS symbol to match the existing
GCC12_NO_ARRAY_BOUNDS one, and to half-way document this thing.

I obviously don't see this warning myself, so my commit is "blind",
but looks completely obvious.

Famous last words.

               Linus

                 Linus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ