Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 89386

Summary: internal compiler error emerging games-engines/scummvm-0.7.1
Product: Gentoo Linux Reporter: gentoo
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Preprocessed Source

Description gentoo 2005-04-17 00:18:13 UTC
Error is:
backends/midi/mt32/i386.cpp: In function `bool MT32Emu::Detect3DNow()':
backends/midi/mt32/i386.cpp:466: internal compiler error: in
   verify_local_live_at_start, at flow.c:600

compile line is:
g++ -Wp,-MMD,"backends/midi/mt32/.deps/i386.d",-MQ,"backends/midi/mt32/i386.o",-MP -Wall -O3 -march=athlon-xp -pipe -fomit-frame-pointer -fPIC -DPIC -O3 -march=athlon-xp -pipe -fomit-frame-pointer -fPIC -DPIC   -ansi -W -Wno-unused-parameter -O -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -pedantic -Wpointer-arith -Wcast-qual -Wconversion -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor -Wno-reorder -Wwrite-strings -fcheck-new -Wctor-dtor-privacy  -DHAVE_CONFIG_H -DUNIX -DDISABLE_SAGA -DDISABLE_KYRA -I. -I. -I./common -I./backends/midi/mt32        -I/usr/include/SDL -D_REENTRANT -Itest/cxxtest -c backends/midi/mt32/i386.cpp -o backends/midi/mt32/i386.o

Reproducible: Always
Steps to Reproduce:
1. emerge -u scummvm

Actual Results:  
the emerge crashed as described in 'details'

Expected Results:  
updated scummvm

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r5 i686)
=================================================================
System uname: 2.6.10-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 20:54:29)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -fPIC -DPIC"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -fPIC -DPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.mirror.sdv.fr
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LC_ALL="en_GB.ISO_8859-1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage_overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts
bonobo crypt cups curl dvd emboss encode esd fam firebird flac foomaticdb
fortran gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile
imagemagick imlib ipv6 java jpeg junit kde kdexdeltas libg++ libwww mad mikmod
mmx motif mozilla mp3 mpeg mysql ncurses nls nptl offensive ogg oggvorbis opengl
oss pam pda pdflib perl png ppds python qt quicktime readline real samba scanner
sdl slang spell sse ssl svga tcltk tcpd tetex tiff tk truetype truetype-fonts
type1-fonts usbvideos vorbis xml xml2 xmms xscreensaver xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 1 gentoo 2005-04-17 00:20:36 UTC
Created attachment 56492 [details]
Preprocessed Source
Comment 2 gentoo 2005-04-17 01:08:56 UTC
if I remove "-fPIC -DPIC" from my C and CXX FLAGS, it compiles correctly. This makes the working C and CXX FLAGS "-O3 -march=athlon-xp -fomit-frame-pointer -pipe"

I don't think I mentioned the version before. I am trying to emerge games-engines/scummvm-0.7.1
Comment 3 Luca Barbato gentoo-dev 2005-04-19 17:01:48 UTC
-fPIC -DPIC should NEVER be used system wide since are JUST for libraries...