Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61288 - Torcs 1.2.2 compile fails
Summary: Torcs 1.2.2 compile fails
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-22 13:08 UTC by Marcos González
Modified: 2005-02-14 10:59 UTC (History)
2 users (show)

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


Attachments
It does not compile all files (gcc 3.3.4) (ccRxqS4u.out,379.51 KB, text/plain)
2004-12-01 10:35 UTC, buzon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos González 2004-08-22 13:08:36 UTC
* Error given when emerging torcs 1.2.2

[...]

g++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include  -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -Wall -Wstrict-prototypes -O3 -mieee-fp -Wall -Wstrict-prototypes -O3 -mieee-fp  -D_SVID_SOURCE -D_BSD_SOURCE -DSHM  -c raceengine.cpp
raceengine.cpp: En function `void reCapture()':
raceengine.cpp:553: aviso: se ignora
Error interno del compilador: Error al reportar rutinas reentradas.
Por favor env
Comment 1 Marcos González 2004-08-22 13:08:36 UTC
* Error given when emerging torcs 1.2.2

[...]

g++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include  -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -Wall -Wstrict-prototypes -O3 -mieee-fp -Wall -Wstrict-prototypes -O3 -mieee-fp  -D_SVID_SOURCE -D_BSD_SOURCE -DSHM  -c raceengine.cpp
raceengine.cpp: En function `void reCapture()':
raceengine.cpp:553: aviso: se ignora
Error interno del compilador: Error al reportar rutinas reentradas.
Por favor envíe un reporte completo de `bugs',
con el código preprocesado si es apropiado.
Vea <URL:http://bugs.gentoo.org/> para más instrucciones.
Preprocessed source stored into /var/tmp/portage/torcs-1.2.2/temp/ccPEYREd.out file, please attach this to your bugreport.
make[4]: *** [raceengine.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs/raceengineclient'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2'
make: *** [restart] Error 2

!!! ERROR: games-sports/torcs-1.2.2 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)



* Content of /var/tmp/portage/torcs-1.2.2/temp/ccPEYREd.out

// /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/cc1plus -fpreprocessed /var/tmp/portage/torcs-1.2.2/temp/.ccache/raceengine.tmp.max.12878.ii -quiet -dumpbase raceengine.tmp.max.12878.ii -march=athlon-xp -mfpmath=sse -mieee-fp -mieee-fp -auxbase-strip /var/tmp/portage/torcs-1.2.2/temp/.ccache/tmp.hash.max.12878.o -O2 -O3 -O3 -Wall -Wstrict-prototypes -Wall -Wstrict-prototypes -fomit-frame-pointer -o - -frandom-seed=0
# 1 "raceengine.cpp"
# 1 "<interno>"
# 1 "<l\355nea de orden>"
# 1 "raceengine.cpp"
# 26 "raceengine.cpp"
# 1 "/usr/include/stdlib.h" 1 3 4
# 25 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 295 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 296 "/usr/include/features.h" 2 3 4
# 318 "/usr/include/features.h" 3 4
# 1 "/usr/include/gnu/stubs.h" 1 3 4
# 319 "/usr/include/features.h" 2 3 4
# 26 "/usr/include/stdlib.h" 2 3 4



* Emerge info

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X aalib acpi alsa apache2 apm audiofile avi berkdb bonobo cddb cdr crypt cups dga directfb divx4linux encode esd evo fam fbcon flac flash fmod foomaticdb freetype gdbm gif gnome gpm gtk gtk2 gtkhtml guile imagemagick imlib jabber java javascript joystick jpeg lcms libg++ libwww linguas_en linguas_es mad mikmod mldonkeypango mmx mozilla moznocompose moznoirc moznomail mozp3p mozsvg mpeg mplayer msn music ncurses net nls nocardbus nptl offensive oggvorbis opengl oss pam pdflib perl pic plotutils png pnp python quicktime readline rogue sdl slang spell sse ssl stencil-buffer svg svga tcltk tcpd tetex threads tiff truetype unicode usb videos wmf x86 xatrix xface xine xml xml2 xmms xv xvid zlib"
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-08-23 19:35:10 UTC
Try it with CFLAGS="-pipe" please.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-09-09 02:09:50 UTC
Is this still a problem?  works fine for me with nvidia-glx-1.0.5336-r2
Comment 4 Marcos González 2004-09-09 07:32:30 UTC
CFLAGS="-pipe" emerge torcs

The emerge fails in the same point.
I don't own an nVidia card. I have an ATI Radeon 9600Pro and I'm using ati-drivers-3.11.1. There aren't other ebuilds failing on my system.


Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/bmg-main /usr/local/overlays/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X aalib acpi alsa apache2 apm audiofile avi berkdb bitmap-fonts bonobo bootsplash cddb cdr crypt cups dga directfb divx4linux encode esd evo fam fbcon flac flash fmod foomaticdb freetype gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib jabber java javascript joystick jpeg lcms libg++ libwww linguas_en linguas_es mad makecheck mikmod mmx mozilla moznocompose moznoirc moznomail mozp3p mozsvg mpeg mplayer msn music ncurses net nls nocardbus nptl offensive oggvorbis opengl oss pam pdflib perl pic plotutils png pnp python quicktime readline rogue sdl slang spell sse ssl stencil-buffer svg svga tcltk tcpd tetex threads tiff truetype unicode usb videos wmf x86 xatrix xface xine xml xml2 xmms xprint xv xvid zlib"
Comment 5 Marcos González 2004-09-09 07:35:47 UTC
Sorry: there is an ebuild that fails: celestia. I'm waiting for a fix in it, too. Maybe related?
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-09-09 10:23:17 UTC
I'm hoping it's a bug in the ati-drivers packages and the x11 guys will chime in here.
Comment 7 buzon 2004-12-01 10:35:04 UTC
Created attachment 45061 [details]
It does not compile all files (gcc 3.3.4)
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-12-09 23:00:54 UTC
still a problem with the latest drivers?
Comment 9 Marcos González 2004-12-10 12:12:58 UTC
I sold my Radeon and bought a GeforceFX 5700. I tried emerging torcs and the same error happened:

g++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include  -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -Wall -Wstrict-prototypes -O3 -mieee-fp -Wall -Wstrict-prototypes -O3 -mieee-fp  -D_SVID_SOURCE -D_BSD_SOURCE -DSHM  -c raceengine.cpp
raceengine.cpp: En function `void reCapture()':
raceengine.cpp:553: aviso: se ignora
Error interno del compilador: Error al reportar rutinas reentradas.
Por favor env
Comment 10 Marcos González 2004-12-10 12:12:58 UTC
I sold my Radeon and bought a GeforceFX 5700. I tried emerging torcs and the same error happened:

g++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include  -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -Wall -Wstrict-prototypes -O3 -mieee-fp -Wall -Wstrict-prototypes -O3 -mieee-fp  -D_SVID_SOURCE -D_BSD_SOURCE -DSHM  -c raceengine.cpp
raceengine.cpp: En function `void reCapture()':
raceengine.cpp:553: aviso: se ignora
Error interno del compilador: Error al reportar rutinas reentradas.
Por favor envíe un reporte completo de `bugs',
con el código preprocesado si es apropiado.
Vea <URL:http://bugs.gentoo.org/> para más instrucciones.
Preprocessed source stored into /var/tmp/portage/torcs-1.2.2/temp/ccwbbCDn.out file, please attach this to your bugreport.
make[4]: *** [raceengine.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs/raceengineclient'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2'
make: *** [restart] Error 2

!!! ERROR: games-sports/torcs-1.2.2 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

So I don't think it's ATI related. I'm using:
sys-kernel/gentoo-dev-sources-2.6.9-r9
media-video/nvidia-kernel-1.0.6629
media-video/nvidia-glx-1.0.6629

This is my emerge info right now:

Mutsumi root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://gentoo.inode.at/source/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/bmg-main /usr/local/overlays/bmg-gnome-current /usr/local/overlays/deltup"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex S3TC X aalib acpi alsa apache2 apm artworkextra audiofile avi bash-completion beepmp berkdb bitmap-fonts blender-game bmp bonobo bzlib cddb cdparanoia cdr codecs crypt cscope cups dga directfb divx4linux dmx dvd dvdr eds encode esd evo exif f77 faad fam fbcon fftw flac flash fmod foomaticdb fortran freetype gd gd-external gdbm gif gimp gimpprint gkrellm glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib ithreads jabber java javascript joystick jpeg junit justify latex lcd lcms ldap libg++ libwww live lm_sensors lzw lzw-tiff mad mailbox maps mikmod mime mmx mmx2 mng mozcalendar mozdevelop mozilla moznocompose moznoirc moznomail mozp3p mozsvg mp3 mpeg mpeg4 mplayer msn music mysql mysqli ncurses net network nls nntp nocardbus noplugin noqmax nptl ntlm nvidia offensive oggvorbis openal opengl oss pam pdflib perl php pic plotutils png pnp ppds print pthreads python qhull quicktime readline real rogue rtc sdl slang smime sounds speex spell sse sse2 ssl stencil-buffer svg svga tcltk tcpd tetex tga theora threads tidy tiff timidity truetype unicode usb userlocales videos vim-with-x wmf x86 xatrix xface xine xinetd xml xml2 xmms xpm xprint xrandr xv xvid zlib linguas_en linguas_es"
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2004-12-10 12:26:16 UTC
internal compiler error is a different error.  That's probably caused by your CFLAGS or something else, not the same bug.
Comment 12 Andrew Bevitt 2004-12-10 17:30:05 UTC
Can you try recompiling gcc and glibc 
without CFLAGS="-mfpmath=sse" and 
without USE="sse2"

Then recompile torcs...
Comment 13 Marcos González 2004-12-11 03:05:42 UTC
Removed -mfpmath=sse from my CFLAGS and set USE="-sse" when emerging torcs. The same problem happened.

Now I'm going to recompile glibc/gcc, but no other ebuild in my system has failed for months, so I don't thing those packages are wrong compiled.
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-18 16:32:42 UTC
What packages are you using from breakmygentoo?  What packages have you used in the past on your machine from bmg?

Does the application compile if you do an "opengl-update xorg-x11" before trying the emerge?
Comment 15 Marcos González 2005-01-19 06:44:45 UTC
Acutally I don't have any breakmygentoo package installed. In the past, I only installed a few unstable versions of gnome-terminal, totem, coaster and such. No unstable libs or vital packages were installed.

I did opengl-update xorg-x11 and tried again to compile torcs. The error didn't dissapear:


c++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include  -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -Wall -Wstrict-prototypes -O3 -mieee-fp -Wall -Wstrict-prototypes -O3 -mieee-fp  -D_SVID_SOURCE -D_BSD_SOURCE -DSHM  -c raceengine.cpp
raceengine.cpp: En function `void reCapture()':
raceengine.cpp:553: aviso: se ignora
Error interno del compilador: Error al reportar rutinas reentradas.
Por favor env
Comment 16 Marcos González 2005-01-19 06:44:45 UTC
Acutally I don't have any breakmygentoo package installed. In the past, I only installed a few unstable versions of gnome-terminal, totem, coaster and such. No unstable libs or vital packages were installed.

I did opengl-update xorg-x11 and tried again to compile torcs. The error didn't dissapear:


c++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include  -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -Wall -Wstrict-prototypes -O3 -mieee-fp -Wall -Wstrict-prototypes -O3 -mieee-fp  -D_SVID_SOURCE -D_BSD_SOURCE -DSHM  -c raceengine.cpp
raceengine.cpp: En function `void reCapture()':
raceengine.cpp:553: aviso: se ignora
Error interno del compilador: Error al reportar rutinas reentradas.
Por favor envíe un reporte completo de `bugs',
con el código preprocesado si es apropiado.
Vea <URL:http://bugs.gentoo.org/> para más instrucciones.
Preprocessed source stored into /var/tmp/portage/torcs-1.2.2/temp/cc9gOw1C.out file, please attach this to your bugreport.
make[4]: *** [raceengine.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs/raceengineclient'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2'
make: *** [restart] Error 2

!!! ERROR: games-sports/torcs-1.2.2 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


This is my more recent emerge info:


Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1,sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://gentoo.inode.at/source/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/deltup /usr/local/overlays/bmg-main /usr/local/overlays/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowex S3TC X aac aalib acpi acpi4linux alsa apache2 apm artworkextra audiofile avi bash-completion beepmp berkdb blender-game bmp bonobo bzip2 bzlib c++ cacheemu cddb cdparanoia cdr cdrom cgi codecs cpdflib crypt cscope css cups dga directfb divx4linux doc droproot dv dvd dvdr eds emoticon encode esd evo exif exim extensions f77 fam fbcon ffmpeg fftw flac flash fmod font-server foomaticdb fortran freetype ftp gb gd gdbm gif gimp gimpprint gkrellm glade glep glut gnome gnuplot gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hal icon icq icu image imagekits imagemagick imap imlib imlib2 intl ipv6 ithreads j2ee jabber java javascript joystick jp2 jpeg jpeg2k junit justify latex lcd lcms ldap libcaca libg++ libwww live lm_sensors lmtp lzw lzw-tiff mad maildir maps mikmod mime mixer mjpeg mmx mmx2 mng mono mozilla moznocompose moznoirc moznomail mozp3p mozsvg mp3 mpeg mplayer msn music mysql mysqli ncurses net network nls nntp nocardbus nomotif noplugin noqmax nptl ntlm nvidia offensive oggvorbis openal opengl oscar oss pam pdf pdflib perl php physfs pic plotutils png pnp ppds print pthreads python qhull quicktime readline real rogue rtc sdl slang slp smime sounds speex spell sse sse2 ssl stencil-buffer svg svga tcltk tcpd tetex tga theora threads thumbnail tidy tiff timidity truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 videos vim vim-pager vim-with-x virus-scan vnc wmf xatrix xface xine xinetd xml xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc yahoo zlib linguas_en linguas_es"
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-19 07:03:57 UTC
Well, it definitely isn't the ati-drivers causing it, then.  Also, I can't read those errors, I'm a silly USian that only reads bad english.
Comment 18 Marcos González 2005-01-19 07:26:25 UTC
Yes, I own a GeforceFX for some months now, so ATI wasn't the problem.
I apologize about the spanish messages. Here is the translation:



c++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include  -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -Wall -Wstrict-prototypes -O3 -mieee-fp -Wall -Wstrict-prototypes -O3 -mieee-fp  -D_SVID_SOURCE -D_BSD_SOURCE -DSHM  -c raceengine.cpp
raceengine.cpp: In function `void reCapture()':
raceengine.cpp:553: warning: ignored
Internal compiler error: Error when reporting reentered routines.
Please send a complete bug report,
with the preprocessed code, if apropiated. 
See <URL:http://bugs.gentoo.org/> for further instructions.
Preprocessed source stored into /var/tmp/portage/torcs-1.2.2/temp/cc9gOw1C.out file, please attach this to your bugreport.
make[4]: *** [raceengine.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs/raceengineclient'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2'
make: *** [restart] Error 2

!!! ERROR: games-sports/torcs-1.2.2 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Content of /var/tmp/portage/torcs-1.2.2/temp/cc9gOw1C.out



// /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/cc1plus -fpreprocessed /root/.ccache/raceengine.tmp.Mutsumi.24104.ii -quiet -dumpbase raceengine.tmp.Mutsumi.24104.ii -march=athlon-xp -mfpmath=sse -mieee-fp -mieee-fp -auxbase-strip /root/.ccache/tmp.hash.Mutsumi.24104.o -O2 -O3 -O3 -Wall -Wstrict-prototypes -Wall -Wstrict-prototypes -fomit-frame-pointer -o - -frandom-seed=0
# 1 "raceengine.cpp"
# 1 "<interno>"
# 1 "<l\303\255nea de orden>"
# 1 "raceengine.cpp"
# 26 "raceengine.cpp"
# 1 "/usr/include/stdlib.h" 1 3 4
# 25 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 296 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 297 "/usr/include/features.h" 2 3 4
# 319 "/usr/include/features.h" 3 4
# 1 "/usr/include/gnu/stubs.h" 1 3 4
# 320 "/usr/include/features.h" 2 3 4
# 26 "/usr/include/stdlib.h" 2 3 4
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-19 07:45:04 UTC
Did recompiling glibc and gcc work without "-mfpmath=sse" in your CFLAGS?  An internal compiler error usually points to either a broken compiler due to CLFAGS and such, or failing hardware, particularly memory.  Have you tried running a memtest on this board?

(Removing x11 since this isn't an opengl-implementation problem)
Comment 20 Marcos González 2005-01-19 12:00:21 UTC
You were right when suggested re-emerging glibc and gcc. Glibc failed to build, I searched the forums and it resulted a problem of LDFLAGS= configured in /etc/make.conf. BTW no package of the 800+ I have in my PC had failed emerging until today with those settings.

So I deleted that line, and glibc compiled without problems. I then recompiled gcc, and tried recompiling torcs. But the same problem than always happened. 
Comment 21 Peter Canada 2005-02-07 11:19:36 UTC
ID_SOURCE -D_BSD_SOURCE -DSHM  -c grmultitexstate.cpp
grmultitexstate.cpp: In member function `virtual void
   grMultiTexState::apply(int)':
grmultitexstate.cpp:30: error: `glActiveTexture' undeclared (first use this
   function)
grmultitexstate.cpp:30: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
make[5]: *** [grmultitexstate.o] Error 1
make[5]: Leaving directory `/usr/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/modules/graphic/ssggraph'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/usr/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/modules/graphic'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/usr/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/modules'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2'
make: *** [restart] Error 2

!!! ERROR: games-sports/torcs-1.2.2 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

using gcc 3.3 here with standard compile settings.
Comment 22 Chris Gianelloni (RETIRED) gentoo-dev 2005-02-08 14:47:37 UTC
Peter: different problems + different errors == different bug
Comment 23 Mr. Bones. (RETIRED) gentoo-dev 2005-02-14 10:59:16 UTC
This bug is a about an internal compiler error and is almost certainly a local issue with aggressive cflags or other problems.  Marking CANTFIX since there's not much we can do about it from this end.  The later compile error is due to issues with the opengl headers and is covered in a different bug.
Comment 24 Mr. Bones. (RETIRED) gentoo-dev 2005-02-14 10:59:40 UTC
*** Bug 81270 has been marked as a duplicate of this bug. ***