Re: [PATCH 2/3] compiler-gcc.h: __nostackprotector needs gcc-4.4 and up

2018-02-01 Thread Arnd Bergmann
On Thu, Feb 1, 2018 at 12:55 PM, Geert Uytterhoeven wrote: > Hi Arnd, > > On Thu, Feb 1, 2018 at 12:46 PM, Arnd Bergmann wrote: >> On Thu, Feb 1, 2018 at 11:21 AM, Geert Uytterhoeven >> wrote: >>> Gcc versions before 4.4 do not recognize the __optimize__ compiler >>> attribute: > > And we might

Re: [PATCH 2/3] compiler-gcc.h: __nostackprotector needs gcc-4.4 and up

2018-02-01 Thread Geert Uytterhoeven
Hi Arnd, On Thu, Feb 1, 2018 at 12:46 PM, Arnd Bergmann wrote: > On Thu, Feb 1, 2018 at 11:21 AM, Geert Uytterhoeven > wrote: >> Gcc versions before 4.4 do not recognize the __optimize__ compiler >> attribute: >> >> warning: ‘__optimize__’ attribute directive ignored >> >> Fixes: 7375ae3a0b7

Re: [PATCH 2/3] compiler-gcc.h: __nostackprotector needs gcc-4.4 and up

2018-02-01 Thread Arnd Bergmann
On Thu, Feb 1, 2018 at 11:21 AM, Geert Uytterhoeven wrote: > Gcc versions before 4.4 do not recognize the __optimize__ compiler > attribute: > > warning: ‘__optimize__’ attribute directive ignored > > Fixes: 7375ae3a0b79ea07 ("compiler-gcc.h: Introduce __nostackprotector > function attribute"