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

2017-10-04 Thread Michael Ellerman
Michal Suchánek writes: > On Mon, 13 Feb 2017 19:49:16 -0600 > Segher Boessenkool 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

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

2017-10-03 Thread Michal Suchánek
On Mon, 13 Feb 2017 19:49:16 -0600 Segher Boessenkool 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 > > > >

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

2017-02-13 Thread Segher Boessenkool
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

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

2017-02-13 Thread Cyril Bur
On Mon, 2017-02-13 at 09:44 -0600, Segher Boessenkool wrote: > Hi Cyril, > > On Mon, Feb 13, 2017 at 02:35:36PM +1100, Cyril Bur wrote: > > A bug in the -02 optimisation of GCC 5.4 6.1 and 6.2 causes > > setup_command_line() to not pass the correct first argument to strcpy > > and therefore not

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

2017-02-13 Thread Segher Boessenkool
Hi Cyril, On Mon, Feb 13, 2017 at 02:35:36PM +1100, Cyril Bur wrote: > A bug in the -02 optimisation of GCC 5.4 6.1 and 6.2 causes > setup_command_line() to not pass the correct first argument to strcpy > and therefore not actually copy the command_line. There is no such thing as an "-O2

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

2017-02-12 Thread Cyril Bur
A bug in the -02 optimisation of GCC 5.4 6.1 and 6.2 causes setup_command_line() to not pass the correct first argument to strcpy and therefore not actually copy the command_line. A workaround patch was proposed: http://patchwork.ozlabs.org/patch/673130/ some discussion ensued. A GCC bug was