Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124542 - ICE when compiling gcc-3.4.5.
Summary: ICE when compiling gcc-3.4.5.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 11:03 UTC by Martin Sandaas
Modified: 2006-03-01 23:36 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 Martin Sandaas 2006-03-01 11:03:15 UTC
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -L/var/tmp/portage/gcc-3.4.5/work/build/gcc/../ld -fno-stack-protector -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/gcc -I/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/gcc/. -I/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/gcc/../include   -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
   -c /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/gcc/tsystem.h:44,
                 from /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/gcc/crtstuff.c:62:
./include/stddef.h:213: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/gcc-3.4.5/temp/cc6gm0W4.out file, please attach this to your bugreport.
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.5/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.5/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.5 failed.
!!! Function gcc_do_make, Line 1339, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-01 11:08:22 UTC
emerge --info, please.
Comment 2 Martin Sandaas 2006-03-01 11:12:03 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.15-gentoo-r1-FW-Tunnel i686)
=================================================================
System uname: 2.6.15-gentoo-r1-FW-Tunnel i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth bzip2 clamav crypt eds emboss encode expat foomaticdb fortran ftp gdbm geoip gif gpm gstreamer hal imagemagick imlib java javascript jpeg libg++ libwww mad mbox mhash mikmod mmx motif mp3 mpeg mysql ncurses nis nls odbc ogg oggvorbis opengl pam pcre pdflib perl php png postgres python quicktime readline ruby samba sdl slang spell ssl tiff truetype truetype-fonts type1-fonts udev usb vhosts vorbis win32codecs xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-01 11:15:02 UTC
(In reply to comment #2)
> System uname: 2.6.15-gentoo-r1-FW-Tunnel i686 AMD Athlon(tm) processor
> CFLAGS="-O2 -march=athlon-xp"

> ./include/stddef.h:213: internal compiler error: Illegal instruction

Your -march settings are invalid, should be athlon or athlon-tbird.
Comment 4 Martin Sandaas 2006-03-01 23:36:21 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > System uname: 2.6.15-gentoo-r1-FW-Tunnel i686 AMD Athlon(tm) processor
> > CFLAGS="-O2 -march=athlon-xp"
> 
> > ./include/stddef.h:213: internal compiler error: Illegal instruction
> 
> Your -march settings are invalid, should be athlon or athlon-tbird.
> 
Thanks!  Worked like a charm!