Re: Linux 2.6.22 released
From: Martin Orr
Date: Wed Jul 11 2007 - 13:52:22 EST
O#n 11/07/07 14:10, Andi Kleen wrote:
> Stefano Rivoir <s.rivoir@xxxxxx> writes:
>> Linus Torvalds wrote:
>>> On Tue, 10 Jul 2007, Stefano Rivoir wrote:
>> Ok, the guilty bit is gcc: in my box, compiling kernel with gcc 4.2.x
>> (which is installed on my debian/sid) turns into a hang (in init,
>> seemingly, maybe not even in kernel itself), while gcc-4.1 is allright.
>
> The standard way to track this down is to compile different directories
> of the kernel with different gcc versions. Then when you find the directory
> go down to files. Then you could eventually go down to functions, although
> that tends to involve quite some editing work. But already knowing
> the file would be useful.
I have done this. The file is arch/x86_64/kernel/signal.c: if I compile
this with gcc 20070627 then everything works, if I compile it with gcc
20070707 then udevsettle hangs. This is independent of the gcc version used
to compile the rest of the kernel. (The dates refer to versions of the
Debian gcc-4.2 package and its dependencies.)
--
Martin Orr
Attachment:
signature.asc
Description: OpenPGP digital signature