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

Re: gcc ICE when compiling 2.4 kernel



On 3 Sep 2003, Goswin von Brederlow wrote:
> I'm trying to build the Linux 2.4.22 kernel from the linux-m68k cvs:
> 
> :pserver:anon@linux-m68k-cvs.apia.dhs.org:/home/linux-m68k/cvsroot
> Pass: anon
> 
> When compiling ide cdrom support the compiler ICEs:
> 
> make[3]: Entering directory `/mnt/linux-m68k-cvs/drivers/ide'
> gcc -D__KERNEL__ -I/mnt/linux-m68k-cvs/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -fno-strength-reduce -ffixed-a2 -m68060 -DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_cd  -c -o ide-cd.o ide-cd.c
> ide-cd.c: In function `ide_cdrom_dump_status':
> ide-cd.c:619: internal compiler error: in verify_local_live_at_start, at flow.c:601
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> make[3]: *** [ide-cd.o] Error 1
> 
> Its a debian sid binary-m68k from yesterday (20030902):
> 
> % gcc --version
> gcc (GCC) 3.3.2 20030812 (Debian prerelease)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> Is this a known problem? Any workarounds known?

This is a known problem. Richard Zidlicky investigated it and filed a bug (cfr.
his summary of gcc 3.x bugs posted on linux-m68k last week).

Workaround: disable optimization.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds




Reply to: