This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Linux Kernel 2.4.16 (x86) with GCC 3.1 causes kernel panic
- From: Der Herr Hofrat <der dot herr at mail dot hofr dot at>
- To: Malte Gell <malte_gell at t-online dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 25 May 2002 07:36:24 +0200 (CEST)
- Subject: Re: Linux Kernel 2.4.16 (x86) with GCC 3.1 causes kernel panic
>
> Hello,
>
> has someone successfully built Linux Kernel 2.4.16 (i386) with GCC 3.1 ?
>
> It doesn't work for me, short after booting I get a kernel panic, I _guess_
> it might have to do with the Promise 20268 driver, I use a ATA drive on a
> Promise UMDA 100 controller.
>
> The kernel panics right before harddrive detection, but it happens so fast,
> so it's just a guess that it has to do with the Promise driver.
>
> GCC 3.1
> binutils 2.12.90.0.7 20020423
> -march=athlon was used
> AMD Duron (with old Spitfire core, which basically is an Athlon with just 64k
> L2 so -march=athlon should work fine, but -march=i686 also causes the panic
> with GCC 3.1)
>
If you want to know if you are stuck in a driver or in the kernel proper I would
recomend throu out all drivers from the kernel, recompile it and boot - if it
get's all the way to "kernel panic unable to mount root device ...." then your
kernel is (probably) ok and you can go after the driver issues.
hofrat