[PATCH v2] powerpc: Blacklist GCC 5.4 6.1 and 6.2

Michael Ellerman mpe at ellerman.id.au
Wed Oct 4 22:36:44 AEDT 2017


Michal Suchánek <msuchanek at suse.de> writes:

> On Mon, 13 Feb 2017 19:49:16 -0600
> Segher Boessenkool <segher at kernel.crashing.org> wrote:
>
>> On Tue, Feb 14, 2017 at 11:25:43AM +1100, Cyril Bur wrote:
>> > > > At the time of writing GCC 5.4 is the most recent and is
>> > > > affected. GCC 6.3 contains the backported fix, has been tested
>> > > > and appears safe to use.  
>> > > 
>> > > 6.3 is (of course) the newer release; 5.4 is a maintenance
>> > > release of a compiler that is a year older.  
>> > 
>> > Yes. I think the point I was trying to make is that since they
>> > backported the fix to 5.x and 6.x then I expect that 5.5 will have
>> > the fix but since it doesn't exist yet, I can't be sure. I'll add
>> > something to that effect.  
>> 
>> The patch has been backported to the GCC 5 branch; it will be part of
>> any future GCC 5 release (5.5 and later, if any later will happen; 5.5
>> will).
>> 
>> Don't be so unsure about these things, we aren't *that*
>> incompetent ;-)
>
> Nonetheless the message is factually correct.
>
>> 
>> > > Please mention the GCC PR # somewhere in the code, too?  
>> > 
>> > Sure.  
>
> It seems this has never happened?

>From memory we discovered that there were patched versions of the
compilers in distros, which still reported those version numbers. ie.
the patch would break working compilers.

So Cyril was going to write a test that actually built some code and
checked the generated asm. But I suspect he never got around to it.

cheers


More information about the Linuxppc-dev mailing list