[lkml]   [2009]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux does not boot

On Mon, 20 Jul 2009, Kiko Piris wrote:
> On 20/07/2009 at 20:03 +0200, Damien Wyart wrote:
> > I am seeing a similar problem (no hang but an immediate reboot) on the
> > same distro.
> Exactly the same than me.
> > I suspected a recent gcc 4.3 upgrade so downgraded gcc, but no luck,
> > still getting the same problem. So for now I am quite stuck, but
> > there is clearly a bad problem somewhere...
> I compiled some days ago:
> | $ uname -a
> | Linux rompetechos #1 SMP Fri Jul 3 16:11:06 CEST 2009 i686 GNU/Linux

Just to clarify:

- you literally have a _working_ that you compiled yourself a
few days ago.

- But when you try to compile that same kernel _now_, it fails with an
immediate reboot? And not just, but does that too?

That certainly implies something else than just the -fwrapv vs
-fno-strict-overflow thing.

But we may be looking at two different issues, so maybe your "unable to
compile a working kernel" issue is different from the other reports.

So can anybody confirm that they can really compile (on the same machine,
with the same compiler and libc, right after each other) and it
works, but does not work?

And in particular, if you can do that, it would be really interesting to
see your 'vmlinux' file with -fno-strict-overflow, and then the exact same
compile but with the top-level Makefile changed to use -fwrapv instead
(and please double-check that the -fwrapv kernel works, and the

Sadly, the code generation differences you get between -fwrapv and
-fno-strict-overflow are not trivial to sort out (I just tested it on my
own kernel - obviously working in both cases), but I'd be willing to try.
If somebody can really guarantee that the _only_ thing that changed was
that one compiler flag (rather than a gcc/glibc update or anything else,
which seems to be implicated here for some people).


 \ /
  Last update: 2009-10-18 23:28    [W:0.115 / U:8.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site