Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8069 - gcc internal compiler error
Summary: gcc internal compiler error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-18 10:25 UTC by whirm
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description whirm 2002-09-18 10:25:14 UTC
when I try to compile the egoboo game it returns the following error:  ******************************** root@hydra / # emerge egoboo Calculating dependencies ...done! >>> emerge app-games/egoboo-2.22 to / >>> md5 ;-) ego222.tar.gz >>> Unpacking source... >>> Unpacking ego222.tar.gz patching file Makefile >>> Source unpacked. rm -f egoboo; rm -f *.o gcc -march=athlon-mp -O3 -pipe -fomit-frame-pointer camera.c -D_LINUX -ffast-math -funroll-loops -O3 -g -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -c In file included from egoboo.h:31,                  from camera.c:5: sound.h:36:28: warning: no newline at end of file gcc -march=athlon-mp -O3 -pipe -fomit-frame-pointer char.c -D_LINUX -ffast-math -funroll-loops -O3 -g -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -c In file included from egoboo.h:31,                  from char.c:5: sound.h:36:28: warning: no newline at end of file char.c: In function `get_item_from_character_pack': char.c:1401: warning: decimal constant is so large that it is unsigned gcc -march=athlon-mp -O3 -pipe -fomit-frame-pointer enchant.c -D_LINUX -ffast-math -funroll-loops -O3 -g -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -c In file included from egoboo.h:31,                  from enchant.c:5: sound.h:36:28: warning: no newline at end of file enchant.c: In function `read_naming': enchant.c:474: Internal compiler error in do_SUBST, at combine.c:439 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make: *** [enchant.o] Error 1  !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 3, Exitcode 2 !!! failed build  root@hydra / # *********************************    emerging kdelibs and some other apps return random errors about files not found, but if I retry it several times, it ends emerging and installing it correctly.   my sistem is:  dual amd-xp 2100+ tyan tiger mpx 2466n-4m motherboard software raid0 gentoo 1.4rc1 all updated at the date of today (18/09/02) portage 2.0.36 gcc 3.2-r1 ccache 1.9-r1  USE="scanner spell svga tiff truetype pdflib pic png -pcmcia nocardbus fbcon flash gif gphoto2 gtk gtkhtml java jpeg kde lcms alsa evo dvd encode cdr directfb aalib fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx motif ncurses oggvorbis fxsr sse syscall mmxext 3dnowext x86 oss 3dnow acpi arts avi berkdb crypt cups encode gdbm gif gpm gtk imlib java jpeg kde gnome libg++ libwww mikmod mmx motif mpeg nls oggvorbis opengl pam pdflib png python qt qtmt quicktime readline sdl slang spell ssl svga tcpd truetype X xml2 xmms xv zlib"  MAKEOPTS="-j4"  CHOST="i686-pc-linux-gnu"  CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"   Ithing I don't forget nothing... ^_^
Comment 1 SpanKY gentoo-dev 2002-09-18 21:58:20 UTC
when I try to compile the egoboo game it returns the following error:

root@hydra / # emerge egoboo
Calculating dependencies ...done!
>>> emerge app-games/egoboo-2.22 to /
>>> md5 ;-) ego222.tar.gz
>>> Unpacking source...
>>> Unpacking ego222.tar.gz
patching file Makefile
>>> Source unpacked.
rm -f egoboo; rm -f *.o
gcc -march=athlon-mp -O3 -pipe -fomit-frame-pointer camera.c -D_LINUX -ffast-
math -funroll-loops -O3 -g -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -c
In file included from egoboo.h:31,
                  from camera.c:5: sound.h:36:28: warning: no newline at end of 
file
gcc -march=athlon-mp -O3 -pipe -fomit-frame-pointer char.c -D_LINUX -ffast-
math -funroll-loops -O3 -g -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -c
In file included from egoboo.h:31,
                  from char.c:5: sound.h:36:28: warning: no newline at end of 
file
char.c: In function `get_item_from_character_pack':
char.c:1401: warning: decimal constant is so large that it is unsigned
gcc -march=athlon-mp -O3 -pipe -fomit-frame-pointer enchant.c -D_LINUX -ffast-
math -funroll-loops -O3 -g -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -c
In file included from egoboo.h:31,
                  from enchant.c:5: sound.h:36:28: warning: no newline at end 
of file
enchant.c: In function `read_naming':
enchant.c:474: Internal compiler error in do_SUBST, at combine.c:439
Please submit a full bug report, with preprocessed source if appropriate. See 
<URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [enchant.o] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 3, Exitcode 2
!!! failed build

root@hydra / #

emerging kdelibs and some other apps return random errors about files not 
found, but if I retry it several times, it ends emerging and installing it 
correctly.

my system is:
dual amd-xp 2100+ tyan tiger mpx 2466n-4m motherboard software raid0
gentoo 1.4rc1 all updated at the date of today (18/09/02)
portage 2.0.36 gcc 3.2-r1 ccache 1.9-r1

USE="scanner spell svga tiff truetype pdflib pic png -pcmcia nocardbus fbcon 
flash gif gphoto2 gtk gtkhtml java jpeg kde lcms alsa evo dvd encode cdr 
directfb aalib fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 mmx motif ncurses oggvorbis fxsr sse syscall mmxext 3dnowext x86 oss 
3dnow acpi arts avi berkdb crypt cups encode gdbm gif gpm gtk imlib java jpeg 
kde gnome libg++ libwww mikmod mmx motif mpeg nls oggvorbis opengl pam pdflib 
png python qt qtmt quicktime readline sdl slang spell ssl svga tcpd truetype X 
xml2 xmms xv zlib"
MAKEOPTS="-j4"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

I think I don't forget nothing... ^_^
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2002-09-18 22:39:02 UTC
thanks. it appears egoboo and gcc3.2 don't like -march=athlon* or
-march=pentium4. Thus they will be replaced automatically by -march=i686.

let me know if it works for you, and thanks for the bug report

matt