Messages in this thread | | | Date | 5 Oct 2003 11:20:52 +0200 | Date | Sun, 5 Oct 2003 11:20:52 +0200 | From | Andi Kleen <> | Subject | Re: Oops linux 2.4.23-pre6 on amd64 |
| |
> AFAIK there is only one version that supports compiling to amd64 (only > one for debian anyway) - I'm on 3.3.2-0pre4.biarch1. It is a bit flaky > (in 32bit it'll happily do a make -j255 without worrying... going to 64 > bit needs about 10 attempts to do a single compile because it keeps > falling over with internal compiler errors/segfaults/etc.).
That doesn't sound good. Why did you not mention this first, it's unlikely that such a compiler produces a working kernel. When the segfaults are not deterministic (go away when you try again) then you likely have some hardware problem, like bad DIMMs (run memtest86 for 12+hours to make sure)
To rule out the compiler you can use the compiler/binutils from
ftp.suse.com:/pub/suse/x86-64/supplementary/CrossTools/8.1-i386/
That's rpms for SuSE 8.1/i386, but I suspect you install it on Debian with rpm2cpio or somesuch. That's an older gcc 3.2 that is known to work.
Then just put /opt/cross/bin in your $PATH and compile with CROSS_COMPILE=x86_64-linux- ARCH=x86_64
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |