Re: [PATCH] Kbuild: disable FORTIFY_SOURCE on clang-10

From: Jason A. Donenfeld
Date: Tue May 05 2020 - 18:37:57 EST


On Tue, May 5, 2020 at 4:25 PM Nathan Chancellor
<natechancellor@xxxxxxxxx> wrote:
> I believe these issues are one in the same. I did a reverse bisect with
> Arnd's test case and converged on George's first patch:
>
> https://github.com/llvm/llvm-project/commit/2dd17ff08165e6118e70f00e22b2c36d2d4e0a9a
>
> I think that in lieu of this patch, we should have that patch and its
> follow-up fix merged into 10.0.1.

If this is fixed in 10.0.1, do we even need to patch the kernel at
all? Or can we just leave it be, considering most organizations using
clang know what they're getting into? I'd personally prefer the
latter, so that we don't clutter things.