[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72=EoDbhyUXaLqdgkDEQNJoXQHWNdBnAmC5uzHCxBrJ+Tw@mail.gmail.com>
Date: Mon, 16 Sep 2024 18:14:47 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: andrey.konovalov@...ux.dev
Cc: Marco Elver <elver@...gle.com>, Matthew Maurer <mmaurer@...gle.com>,
Miguel Ojeda <ojeda@...nel.org>, Andrey Konovalov <andreyknvl@...il.com>,
Alexander Potapenko <glider@...gle.com>, Dmitry Vyukov <dvyukov@...gle.com>,
Andrey Ryabinin <ryabinin.a.a@...il.com>, kasan-dev@...glegroups.com,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] kasan: simplify and clarify Makefile
On Wed, Aug 14, 2024 at 6:11 PM <andrey.konovalov@...ux.dev> wrote:
>
> When KASAN support was being added to the Linux kernel, GCC did not yet
> support all of the KASAN-related compiler options. Thus, the KASAN
> Makefile had to probe the compiler for supported options.
>
> Nowadays, the Linux kernel GCC version requirement is 5.1+, and thus we
> don't need the probing of the -fasan-shadow-offset parameter: it exists in
> all 5.1+ GCCs.
>
> Simplify the KASAN Makefile to drop CFLAGS_KASAN_MINIMAL.
>
> Also add a few more comments and unify the indentation.
>
> Signed-off-by: Andrey Konovalov <andreyknvl@...il.com>
Applied to `rust-next` for the Rust KASAN patch series. Thanks everyone!
(Andrew is also carrying it, but we agreed to do that).
Cheers,
Miguel
Powered by blists - more mailing lists