Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24576 - flightgear failed to compile due to an internal error: segmentation fault
Summary: flightgear failed to compile due to an internal error: segmentation fault
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 03:02 UTC by Ioannis Aslanidis (RETIRED)
Modified: 2005-03-24 13:25 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 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-16 03:02:49 UTC
I just emerged flightgear, it merged all required dependencies correctly. I
wonder  wether it's a USE issue, but anyway, it still should work. Below comes
the end of compilation before the error:


source='uiuc_map_mass.cpp' object='uiuc_map_mass.o' libtool=no \
depfile='.deps/uiuc_map_mass.Po' tmpdepfile='.deps/uiuc_map_mass.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src 
-I/usr/X11R6/include  -march=athlon-xp -O5 -pipe -c -o uiuc_map_mass.o `test -f
uiuc_map_mass.cpp || echo './'`uiuc_map_mass.cpp
source='uiuc_map_misc.cpp' object='uiuc_map_misc.o' libtool=no \
depfile='.deps/uiuc_map_misc.Po' tmpdepfile='.deps/uiuc_map_misc.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src 
-I/usr/X11R6/include  -march=athlon-xp -O5 -pipe -c -o uiuc_map_misc.o `test -f
uiuc_map_misc.cpp || echo './'`uiuc_map_misc.cpp
source='uiuc_map_record1.cpp' object='uiuc_map_record1.o' libtool=no \
depfile='.deps/uiuc_map_record1.Po' tmpdepfile='.deps/uiuc_map_record1.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src 
-I/usr/X11R6/include  -march=athlon-xp -O5 -pipe -c -o uiuc_map_record1.o `test
-f uiuc_map_record1.cpp || echo './'`uiuc_map_record1.cpp
source='uiuc_map_record2.cpp' object='uiuc_map_record2.o' libtool=no \
depfile='.deps/uiuc_map_record2.Po' tmpdepfile='.deps/uiuc_map_record2.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src 
-I/usr/X11R6/include  -march=athlon-xp -O5 -pipe -c -o uiuc_map_record2.o `test
-f uiuc_map_record2.cpp || echo './'`uiuc_map_record2.cpp
source='uiuc_map_record3.cpp' object='uiuc_map_record3.o' libtool=no \
depfile='.deps/uiuc_map_record3.Po' tmpdepfile='.deps/uiuc_map_record3.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src 
-I/usr/X11R6/include  -march=athlon-xp -O5 -pipe -c -o uiuc_map_record3.o `test
-f uiuc_map_record3.cpp || echo './'`uiuc_map_record3.cpp
source='uiuc_map_record4.cpp' object='uiuc_map_record4.o' libtool=no \
depfile='.deps/uiuc_map_record4.Po' tmpdepfile='.deps/uiuc_map_record4.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src 
-I/usr/X11R6/include  -march=athlon-xp -O5 -pipe -c -o uiuc_map_record4.o `test
-f uiuc_map_record4.cpp || echo './'`uiuc_map_record4.cpp
source='uiuc_map_record5.cpp' object='uiuc_map_record5.o' libtool=no \
depfile='.deps/uiuc_map_record5.Po' tmpdepfile='.deps/uiuc_map_record5.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src 
-I/usr/X11R6/include  -march=athlon-xp -O5 -pipe -c -o uiuc_map_record5.o `test
-f uiuc_map_record5.cpp || echo './'`uiuc_map_record5.cpp
source='uiuc_map_record6.cpp' object='uiuc_map_record6.o' libtool=no \
depfile='.deps/uiuc_map_record6.Po' tmpdepfile='.deps/uiuc_map_record6.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src 
-I/usr/X11R6/include  -march=athlon-xp -O5 -pipe -c -o uiuc_map_record6.o `test
-f uiuc_map_record6.cpp || echo './'`uiuc_map_record6.cpp
uiuc_map_record4.cpp: In function `void uiuc_map_record4()':
uiuc_map_record4.cpp:213: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [uiuc_map_record4.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/flightgear-0.9.2/work/FlightGear-0.9.2/src/FDM/UIUCModel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/flightgear-0.9.2/work/FlightGear-0.9.2/src/FDM'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/flightgear-0.9.2/work/FlightGear-0.9.2/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-games/flightgear-0.9.2 failed.
!!! Function games_src_compile, Line 108, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1. emerge flightgear

Actual Results:  
The compilation ended with a segmentation fault.

Expected Results:  
The compilation should have proceeded correctly.

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-xfs-r3 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS="http://ftp.belnet.be/mirrors/rsync.gentoo.org/gentoo
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="mad berkdb nas gnome 3dnow aalib acpi apm arts avi cdr crypt cups curl dga
directfb doc dvb dvd emacs encode esd ethereal evo fbcon X kde alsa zlib ipv6
firebird flash gb gd gdbm ggi gif gnomegphoto2 gpm gtk gtkhtml guile icc imlib
java jikes jpeg junit ladcca lcms leim libg++ libwww mbox mikmod memlimit mmx
motif mozilla mpeg mule ncurses nls oav oggvorbis opengl oss pam pdflib perl
plotutils png pnp prebuilt python qt quicktime readline ruby samba scanner sdl
slang slp spell ssl svga tcltk tcpd tetex tiff truetype usb wmf xml xml2 xmms xv
x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O5 -pipe"
CXXFLAGS="-march=athlon-xp -O5 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 SpanKY gentoo-dev 2003-07-16 05:39:00 UTC
could you try again but without and crazy optimizations ? 
env CFLAGS="-pipe" CXXFLAGS="-pipe" emerge flightgear 
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-16 08:31:58 UTC
env CFLAGS="-pipe" CXXFLAGS="-pipe" emerge flightgear

This solved my problem
Comment 3 SpanKY gentoo-dev 2003-07-16 10:10:55 UTC
i'd suggest trying it again but with -mcpu instead of -march ... 
the -march of p4 and athlon xp are kind of unstable at this point in time because of 
gcc :/ 
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-03-24 13:25:15 UTC
Closing. This bug is out-of-date.