On 11/02/2018 07:11 PM, Linus Torvalds wrote: > On Fri, Nov 2, 2018 at 6:16 AM Andrey Ryabinin <aryabi...@virtuozzo.com> > wrote: >> >> On 11/02/2018 04:46 AM, Linus Torvalds wrote: >>> >>> So I _think_ the KASAN config should have a >>> >>> depends on CC_IS_GCC && GCC_VERSION >= 40902 >>> >>> on it, but maybe there is something I'm missing. >> >> I'd rather use cc-option instead of version check, since we also support >> clang. > > That would be even better, but I thought the requirement for 4.9.2 > came not from the option existing, but because of some bugs getting > fixed? It looks unusual but -fsanitize=kernel-address really showed up only in 4.9.2. It was actually backported from 5.0 branch to 4.9 for whatever reason. > > But if we can do it without version checks, that would be lovely. > > Linus >
- [GIT PULL] Compiler Attributes for v4.20-rc1 Miguel Ojeda
- Re: [GIT PULL] Compiler Attributes for v4.20-rc1 Linus Torvalds
- Re: [GIT PULL] Compiler Attributes for v4.20-r... Miguel Ojeda
- Re: [GIT PULL] Compiler Attributes for v4.20-r... Linus Torvalds
- Re: [GIT PULL] Compiler Attributes for v4.... Miguel Ojeda
- Re: [GIT PULL] Compiler Attributes for v4.... Andrey Ryabinin
- Re: [GIT PULL] Compiler Attributes for... Linus Torvalds
- Re: [GIT PULL] Compiler Attribute... Andrey Ryabinin
- Re: [GIT PULL] Compiler Attributes for v4.20-r... Andrey Ryabinin
- Re: [GIT PULL] Compiler Attributes for v4.... Linus Torvalds
- Re: [GIT PULL] Compiler Attributes for... Martin Schwidefsky
- Re: [GIT PULL] Compiler Attribute... Martin Schwidefsky
- Re: [GIT PULL] Compiler Attri... Steven Rostedt
- Re: [GIT PULL] Compiler Attri... Linus Torvalds