From: Segher Boessenkool <segher@kernel.crashing.org>
To: Cyril Bur <cyrilbur@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org, akshay.adiga@linux.vnet.ibm.com
Subject: Re: [PATCH v2] powerpc: Blacklist GCC 5.4 6.1 and 6.2
Date: Mon, 13 Feb 2017 09:44:37 -0600 [thread overview]
Message-ID: <20170213154437.GP21840@gate.crashing.org> (raw)
In-Reply-To: <20170213033536.8908-1-cyrilbur@gmail.com>
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 optimisation".
> 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.
> +# - gcc-5.4, 6.1, 6.2 don't copy the command_line around correctly
> + echo -n '*** GCC-5.4 6.1 6.2 have a bad -O2 optimisation ' ; \
> + echo 'which will cause lost command_line options (at least).' ; \
Maybe something more like
"GCC 5.4, 6.1, and 6.2 have a bug that results in a kernel that does
not boot. Please use GCC 6.3 or later.".
Please mention the GCC PR # somewhere in the code, too?
Segher
next prev parent reply other threads:[~2017-02-13 16:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-13 3:35 [PATCH v2] powerpc: Blacklist GCC 5.4 6.1 and 6.2 Cyril Bur
2017-02-13 15:44 ` Segher Boessenkool [this message]
2017-02-14 0:25 ` Cyril Bur
2017-02-14 1:49 ` Segher Boessenkool
2017-10-03 19:29 ` Michal Suchánek
2017-10-04 11:36 ` Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170213154437.GP21840@gate.crashing.org \
--to=segher@kernel.crashing.org \
--cc=akshay.adiga@linux.vnet.ibm.com \
--cc=cyrilbur@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).