This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/60624] creation of working linux sparc32 kernel fails
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 23 Mar 2014 17:05:27 +0000
- Subject: [Bug c/60624] creation of working linux sparc32 kernel fails
- Auto-submitted: auto-generated
- References: <bug-60624-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60624
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-03-23
CC| |ebotcazou at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> recently I updated my gcc 4.7.3 based cross-toolchain to 4.8.2. Since then
> my sparc32 kernel does not boot in qemu-system-sparc anymore.
> I used git bisect to find following commit, which breaks it:
> http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=190291
> Bug fixed with this commit:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54109
>
> When reverting the change in gcc 4.8.2, system boots up fine again.
> Can anybody explain me, why removing an optimization in gcc, breaks the
> Linux kernel bootup?
Probably because this uncovered a latent optimization bug. Can you try the
latest snapshot of the 4.8 branch (or the branch from the SVN repository)?