[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <40166a47-749e-e6a8-41fa-e5dc0defaaab@zytor.com>
Date: Thu, 24 May 2018 14:49:32 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Alistair Strachan <astrachan@...gle.com>,
Manoj Gupta <manojgupta@...gle.com>,
Matthias Kaehlcke <mka@...gle.com>,
Greg Hackmann <ghackmann@...gle.com>, sedat.dilek@...il.com,
tstellar@...hat.com, LKML <linux-kernel@...r.kernel.org>,
Kees Cook <keescook@...gle.com>
Subject: Re: [clang] stack protector and f1f029c7bf
On 05/24/18 14:12, Nick Desaulniers wrote:
>
> Looks like those builtins got added to GCC around the 4.9 timeframe:
> https://godbolt.org/g/9VS2E9
>
> Problematically, it seems that GCC does not have __has_builtin to do
> feature detection:
> https://clang.llvm.org/docs/LanguageExtensions.html#feature-checking-macros
> https://godbolt.org/g/oku8ux
>
We have support in the kernel build system for doing that, though.
I just added a concurring opinion to the gcc bug report:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66970
Powered by blists - more mailing lists