[Bug c/60624] creation of working linux sparc32 kernel fails

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 23 17:05:00 GMT 2014


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)?



More information about the Gcc-bugs mailing list