[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKwvOdkofHbT0qTvEkevvKUmzw5Ex5AD0wm+u4KYm7-HHMrnow@mail.gmail.com>
Date: Thu, 9 May 2019 10:01:21 -0700
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: Sedat Dilek <sedat.dilek@...il.com>
Cc: Nathan Chancellor <natechancellor@...il.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <michal.lkml@...kovi.net>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Clang-Built-Linux ML <clang-built-linux@...glegroups.com>,
Arnd Bergmann <arnd@...db.de>,
Alexander Potapenko <glider@...gle.com>
Subject: Re: [PATCH] Makefile: Don't try to add '-fcatch-undefined-behavior' flag
> On Thu, May 9, 2019 at 1:49 PM Nathan Chancellor
> <natechancellor@...il.com> wrote:
> >
> > This is no longer a valid option in clang, it was removed in 3.5, which
> > we don't support.
> >
> > https://github.com/llvm/llvm-project/commit/cb3f812b6b9fab8f3b41414f24e90222170417b4
lol, good catch.
Reviewed-by: Nick Desaulniers <ndesaulniers@...gle.com>
> >
>
> Cool.
>
> Can you test with -mglobal-merge (inverted -mno-global-merge) which is
> default for Clang?
Looks like these were added in r234668 in 2015, which would've been
Clang 3.6.2, according to:
http://releases.llvm.org/
I'd be fine with dropping the option check there.
There's a few here (-Qunused-arguments) that don't need cc-option
checks. I recommend someone audit all of them, rather than send a
bunch of little patches.
--
Thanks,
~Nick Desaulniers
Powered by blists - more mailing lists