Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure
From: Andrew Donnellan
Date: Thu May 19 2016 - 02:41:29 EST
On 19/05/16 16:22, Michael Ellerman wrote:
Did you test the plugins with all gcc versions (4.5-6)?
What's the concern about gcc versions? Just not breaking the build on old
compilers?
I'm pretty sure powerpc big endian still builds with gcc 4.4.
gcc's plugin support only landed in 4.5, so we don't care about <=4.4.
However if Andrew's only tested on little endian, then that select should be
guarded with an "if CPU_LITTLE_ENDIAN". And to build LE you need gcc >= 4.9.
I'm going to give BE a test too just to be sure.
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan@xxxxxxxxxxx IBM Australia Limited