Re: Rgeression: 2.6.30-rc6-git3 build error - ICE from drivers/char/random.c

From: Martin Knoblauch
Date: Tue May 19 2009 - 13:52:50 EST



----- Original Message ----

> From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> To: Martin Knoblauch <spamtrap@xxxxxxxxxxxx>
> Cc: Matt Mackall <mpm@xxxxxxxxxxx>; Ingo Molnar <mingo@xxxxxxx>; Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>
> Sent: Tuesday, May 19, 2009 5:09:40 PM
> Subject: Re: Rgeression: 2.6.30-rc6-git3 build error - ICE from drivers/char/random.c
>
>
>
> On Tue, 19 May 2009, Martin Knoblauch wrote:
> >
> > With your patch, the problem still remains. Line 1685 is the end of the
> patched routine now.
>
> Ok, so can you do two other simple tests:
>
> - just remove the "+ (long)&ret" entirely.
>
> Now, usually gcc doesn't have issues with non-asm things, but that's an
> odd way of getting the current stack address by lookin gat the address
> of a variable that hasn't even been used, so maybe it triggers some
> untested codepath in gcc (and thus the bug).
>

Removing above fixes the ICE. It does so in both the original and the patched version.

Removing get_cycles() has no effect wrt. the ICE.

Cheers
Martin

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/