Re: [PATCH v2] powerpc: Blacklist GCC 5.4 6.1 and 6.2
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-10-04 11:36:46
Michal Such=C3=A1nek [off-list ref] writes:
On Mon, 13 Feb 2017 19:49:16 -0600 Segher Boessenkool [off-list ref] wrote:quoted
On Tue, Feb 14, 2017 at 11:25:43AM +1100, Cyril Bur wrote:quoted
quoted
quoted
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.=20=20=20 6.3 is (of course) the newer release; 5.4 is a maintenance release of a compiler that is a year older.=20=20=20 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.=20=20=20 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). =20 Don't be so unsure about these things, we aren't *that* incompetent ;-)Nonetheless the message is factually correct.quoted
=20quoted
quoted
Please mention the GCC PR # somewhere in the code, too?=20=20=20 Sure.=20=20It 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