[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kernel compile woes



Hi!

I'm trying to compile a fresh kernel 2.0.38 (for ide-scsi-support).

The problem with gcc29 and kernels 2.0.x I know, so I installed gcc272
and changed the top-level-Makefile accordingly. So far, so good.

but a 'make bzImage' bombs out with 

gcc272 -D__KERNEL__ -I/usr/src/linux-2.0.38-clean/include -Wall 
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m386 
-DCPU=386  -c -o eata_dma.o eata_dma.c
gcc272: Internal compiler error: program cpp got fatal signal 11
make[3]: *** [eata_dma.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.38-clean/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.38-clean/drivers/scsi'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.38-clean/drivers'
make: *** [linuxsubdirs] Error 2

with lots of warnings like

{standard input}: Assembler messages:
{standard input}:16101: Warning: using `%al' instead of `%eax' due to `b' suffix
{standard input}:16394: Warning: using `%al' instead of `%eax' due to `b' suffix

before.

I've tried with kernel-source-2.0.38_2.0.38-2.deb, *-3.deb and with a clean
source from ftp.kernel.org. gcc is 2.95.2-12, gcc272 is 2.7.2.3-15, the system
is an almost-potato, with only samba and the kernel not up-to-date (eg 
upgrade'd, not dist-upgrade'd).

Any hints?

cheers,
&rw



Reply to: