Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87313 - gcc-3.4.3.20050110-r1 compile fails with hashtable.c:310: internal compiler error
Summary: gcc-3.4.3.20050110-r1 compile fails with hashtable.c:310: internal compiler e...
Status: RESOLVED DUPLICATE of bug 79852
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 11:32 UTC by Alexander Ivanchev
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
preprocessed source (gccpre_out,140.20 KB, application/octet-stream)
2005-03-30 11:47 UTC, Alexander Ivanchev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Ivanchev 2005-03-30 11:32:34 UTC
Re-submitting... got bashed for using 'unsafe' flags - this report is about the bug with:
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe -fstack-protector"

Oddly enough gcc-3.4.3.20050110-r1 failed to compile... I'm using this very same version, but wanted to go +gtk so I decided to re-compile and:

dmz ~ # emerge -pv gcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-devel/gcc-3.4.3.20050110-r1  (-altivec) -bootstrap -boundschecking -build -debug -fortran -gcj +gtk* +hardened (-ip28) (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 0 kB 

/var/tmp/portage/gcc-3.4.3.20050110-r1/work/gcc-3.4.3/gcc/hashtable.c: In function `approx_sqrt':
/var/tmp/portage/gcc-3.4.3.20050110-r1/work/gcc-3.4.3/gcc/hashtable.c:310: internal compiler error: in try_split, at emit-rtl.c:3343
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.3.20050110-r1/temp/cckQcGD7.out file, please attach this to your bugreport.
make[2]: *** [hashtable.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3.20050110-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3.20050110-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.3.20050110-r1 failed.
!!! Function gcc_do_make, Line 1138, Exitcode 2
!!! make failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.

Enviro:
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 30 2005, 00:09:12)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
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.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo/ http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo.itdnet.net/gentoo-portage"
USE="x86 3dnow GAPING_SECURITY_HOLE X X509 Xaw3d aalib acl acpi apache2 artworkextra authdaemond bash-completion bcmath berkdb bind-mysql bitmap-fonts bonobo bzip2 bzlib calendar caps cdb chroot clamav crypt curl curlwrappers dba dbx dlloader ecc eds emboss erandom ethereal exif extensions fam fbcon flatfile font-server ftp gd gd-external gdbm gif gmp gnome gpm gtk gtk2 guile hal hardened howl hub iconv icq idea idn imagemagick imap imlib innodb ipalias ithreads javascript jbig jpeg justify lcms ldap libclamav libg++ libwww logrotate lzw lzw-tiff maildir mcal memlimit mhash mime mmx motif mozilla moznocompose moznoirc moznomail mp3 mssql mysql ncurses nfsv4 nls nntp no-old-linux nocardbus nomac nomultilib nptl nptlonly ntlm oav odbc opengl pam pam_chroot pam_console pam_timestamp pcntl pcre pdflib perl perlsuid php pic png posix prelude pwdb python qmail quotas readline samba sasl session sftplogging shared sharedmem skey slang sockets socks5 spamassassin spell sse ssl symlink tcpd threads tiff tokenizer toolbar truetype truetype-fonts type1-fonts unicode urandom wmf xml xml2 xosd xpm xrandr xscreensaver xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Alexander Ivanchev 2005-03-30 11:47:48 UTC
Created attachment 54867 [details]
preprocessed source
Comment 2 Benno Schulenberg 2005-04-09 06:19:05 UTC
To reproduce, first compile 3.4.3 with a different compiler,
then recompile it three times with itself:

1. gcc-config i686-pc-linux-gnu-3.3.5
2. source /etc/profile
3. emerge --oneshot =gcc-3.4.3.20050110-r2

4. gcc-config i686-pc-linux-gnu-3.4.3-20050110
5. source /etc/profile
6. emerge --oneshot =gcc-3.4.3.20050110-r2    (1)

7. gcc-config i686-pc-linux-gnu-3.4.3-20050110
8. source /etc/profile
9. emerge --oneshot =gcc-3.4.3.20050110-r2    (2)

10. gcc-config i686-pc-linux-gnu-3.4.3-20050110
11. source /etc/profile
12. emerge --oneshot =gcc-3.4.3.20050110-r2   (3)

... internal compiler error: in try_split, at emit-rtl.c:3343


Gentoo Base System version 1.6.10
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20050125-r1, 2.6.11 i686)
=================================================================
System uname: 2.6.11 i686 AMD Athlon(tm) XP 2800+
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 26 2005, 14:57:44)]
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.10-r4
virtual/os-headers:  2.6.8-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -fstack-protector"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks maketest notitles sandbox sfperms strict test userpriv usersandbox"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 3dnow X aim alsa apm arts avi berkdb bitmap-fonts cdr crypt curl dlloader emboss encode esd fam fbcon flac ftp gdbm gif gpm hardened imagemagick imlib jabber jpeg kde kdeenablefinal libg++ libwww mad mbox mikmod mime mmx mp3 mpeg mysql ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sasl sdl slang speex spell sse ssl svga tcltk tiff truetype truetype-fonts type1-fonts unicode xine xml xml2 xmms xsl xv zlib video_cards_via linguas_en linguas_eo linguas_es linguas_nl"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 3 SpanKY gentoo-dev 2005-04-15 15:59:38 UTC

*** This bug has been marked as a duplicate of 79852 ***