Using gcc 3.4.4, when compiling links, there is an internal compiler error. Reproducible: Always Steps to Reproduce: 1. use gcc-3.4.4 2. emerge links Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/directfb -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -march=pentium-m -pipe -O1 -fno-delayed-branch -fcaller-saves -freorder-blocks -falign-jumps -finline-functions -fno-trapping-math -falign-functions=64 -c ipret.c In file included from /usr/include/png.h:363, from links.h:144, from struct.h:6, from ipret.c:24: /usr/include/pngconf.h:307:2: warning: #warning __png.h__ already includes setjmp.h; /usr/include/pngconf.h:308:2: warning: #warning __dont__ include it again.; ipret.c: In function `mojeinv': ipret.c:254: 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/links-2.1_pre17-r1/temp/ccPr2bGx.out file, please attach this to your bugreport. make: *** [ipret.o] Error 1 make: *** Waiting for unfinished jobs.... Expected Results: links compiles / gcc doesn't fail Portage 2.0.51.22-r1 (!/usr/portage/profiles/default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r1 i686) ================================================================= System uname: 2.6.12-gentoo-r1 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System version 1.6.12 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.9 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-r1 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -pipe -O1 -fno-delayed-branch -fcaller-saves -freorder-blocks -falign-jumps -finline-functions -fno-trapping-math -falign-functions=64"CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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="-march=pentium-m -pipe -O1 -fno-delayed-branch -fcaller-saves -freorder-blocks -falign-jumps -finline-functions -fno-trapping-math -falign-functions=64" DISTDIR="/var/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/home/armando/Projects/GENTOO/gentoo-x86" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acl alsa apm avi bash-completion berkdb bitmap-fonts crypt cscope cups directfb emboss encode esd fbcon flac foomaticdb fortran gd gdbm gif gnustep gpm gtk gtk2 guile imlib ipv6 jack jikes jpeg kerberos ldap libg++ libwww lirc mad mcal mikmod mmx mp3 mpeg mysql ncurses nptl nptlonly odbc ogg oggvorbis opengl oss pam pdflib perl pic png postgres python quicktime readline ruby samba sasl sdl spell sse ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 62166 [details] Pre-processed source generated by error output. Error output requested I attach this pre-processed source
Looks like a duplicate of bug 79852. There's some problem with gcc, which affects multiple packages.
Just to make sure, are you using the hardened spec file?
Short answer: I'm pretty sure that I'm not. Long answer: - I had rebuilt 3.4.4 w/o the hardened use flag. - did the env-update ; source /etc/profile dance, rebooted - `gcc-config -l` |grep 3.4.4 [10] i686-pc-linux-gnu-3.4.4 * [11] i686-pc-linux-gnu-3.4.4-hardened [12] i686-pc-linux-gnu-3.4.4-hardenednopie [13] i686-pc-linux-gnu-3.4.4-hardenednopiessp [14] i686-pc-linux-gnu-3.4.4-hardenednossp ... so w/o the hardened use flag and that profile chosen, I'm not using hardened, right?
Having now read bug 79852 and a lot of the related bugs, I'm convinced that this is indeed a duplicate of that bug; trying out the steps in comment #11 of bug 79852, and so far, so good. Marking this as a duplicate. *** This bug has been marked as a duplicate of 79852 ***