After emerging gcc-4.2.2, htdig-3.2.0_beta6-r2 causes reproducible ICE: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DCONFIG_DIR=\"/etc/htdig\" -I../htfuzzy -O2 -march=athlon-xp -pipe -ggdb3 -Wall -fno-rtti -fno-exceptions -c -o qtest.o qtest.cc qtest.cc: In function ‘int main(int, char**)’: qtest.cc:126: warning: deprecated conversion from string constant to ‘char*’ /bin/bash ../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -ggdb3 -Wall -fno-rtti -fno-exceptions -o htsearch Display.o DocMatch.o ResultList.o ResultMatch.o Template.o TemplateList.o WeightWord.o htsearch.o parser.o Collection.o SplitMatches.o HtURLSeedScore.o ../htfuzzy/libfuzzy.la ../htnet/libhtnet.la ../htlib/libht.la ../htcommon/libcommon.la ../htword/libhtword.la ../db/libhtdb.la -lz -lssl -lcrypto mkdir .libs VolatileCache.cc:75: internal compiler error: in reference_to_unused, at dwarf2out.c:10010 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/www-misc/htdig-3.2.0_beta6-r2/temp/ccxVyiZn.out file, please attach this to your bugreport. make[1]: *** [VolatileCache.o] Error 1 make[1]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -ggdb3 -Wall -fno-rtti -fno-exceptions -o .libs/htsearch Display.o DocMatch.o ResultList.o ResultMatch.o Template.o TemplateList.o WeightWord.o htsearch.o parser.o Collection.o SplitMatches.o HtURLSeedScore.o ../htfuzzy/.libs/libfuzzy.so ../htnet/.libs/libhtnet.so ../htlib/.libs/libht.so ../htcommon/.libs/libcommon.so /var/tmp/portage/www-misc/htdig-3.2.0_beta6-r2/work/htdig-3.2.0b6/htword/.libs/libhtword.so ../htword/.libs/libhtword.so /var/tmp/portage/www-misc/htdig-3.2.0_beta6-r2/work/htdig-3.2.0b6/htlib/.libs/libht.so /var/tmp/portage/www-misc/htdig-3.2.0_beta6-r2/work/htdig-3.2.0b6/db/.libs/libhtdb.so ../db/.libs/libhtdb.so -lpthread -lz -lssl -lcrypto -Wl,--rpath -Wl,/usr/lib/htdig -Wl,--rpath -Wl,/usr/lib/htdig_db creating htsearch make[1]: Leaving directory `/var/tmp/portage/www-misc/htdig-3.2.0_beta6-r2/work/htdig-3.2.0b6/htsearch' make: *** [all-recursive] Error 1 * * ERROR: www-misc/htdig-3.2.0_beta6-r2 failed. * Call stack: * ebuild.sh, line 1687: Called dyn_compile * ebuild.sh, line 1025: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * htdig-3.2.0_beta6-r2.ebuild, line 47: Called die * The specific snippet of code: * # --with-image-url-prefix=file:///var/www/localhost/htdocs/${PN} \ * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/www-misc/htdig-3.2.0_beta6-r2/temp/build.log'. * Reproducible: Always Steps to Reproduce: Emerge --info: Portage 2.1.3.12 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686) ================================================================= System uname: 2.6.22-gentoo-r8 i686 AMD Sempron(tm) Timestamp of tree: Thu, 11 Oct 2007 21:20:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.1 dev-lang/python: 2.5.1-r2 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc4-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -ggdb3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb3" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.gentoo.no/ http://gentoo.osuosl.org/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en da" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi aim alsa authdaemond bash-completion berkdb bitmap-fonts cairo cdr cjk cli cpudetection cracklib crypt css cups curl dbus djbfft dri dts dvd dvdr dvdread evdev fam ffmpeg firefox flac fortran g15 gadu gif glitz gnutls gpm hal hbci iconv icq idea imap isdnlog jabber java javascript jpeg kde kdeenablefinal lcd lm_sensors logitech-mouse logrotate lzo mad matroska mbox midi mikmod mime mmx mmxext mono moznopango mp3 mp4 mpeg mplayer msn mudflap musepack ncurses network-cron nls nocd nptl nptlonly offensive ogg openal opengl openmp oscar pam pcre pdf perl png pop ppds pppd python qt3 qt4 quicktime readline real reflection sasl sdl sensord session shorten slang smime sms speex spell spl sse ssl svg svga tcpd texteffect theora threads tiff translator truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs wmf wxwindows x264 x86 xanim xcb xface xine xml xorg xv xvid yahoo zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="en da" USERLAND="GNU" VIDEO_CARDS="fglrx vesa radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The last time I emerged this was with gcc-4.2.0, so I know the error is not present in that version.
USE flags: [ebuild R ] sys-devel/gcc-4.2.2 USE="fortran mudflap nls openmp (-altivec) -bootstrap -build -doc -gcj -gtk (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB [ebuild R ] www-misc/htdig-3.2.0_beta6-r2 USE="ssl" 0 kB
> Preprocessed source stored into > /var/tmp/portage/www-misc/htdig-3.2.0_beta6-r2/temp/ccxVyiZn.out file, please > attach this to your bugreport. Please, do this.
Created attachment 133270 [details] ccxVyiZn.out ccxVyiZn.out
Reopened.
I am fairly certain that this is GCC bug 31889: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31899 Patch available.
*** Bug 195590 has been marked as a duplicate of this bug. ***
Created attachment 133427 [details, diff] the fix for gcc bug 31899 I hit the same bug when trying to compile paludis-scm with gcc-4.2.2. I've applied this patch locally (extracted from gcc svn revision 129199 excluding the additions to changelogs). Hence I can confirm that both paludis-scm and htdig-3.2.0_beta6-r2 compile successfully after applying the fix to gcc-4.2.2. Thanks. :)
*** Bug 195841 has been marked as a duplicate of this bug. ***
queued for next 4.2.2 patchset
*** Bug 196854 has been marked as a duplicate of this bug. ***
Can we mark it as FIXED when it's really fixed in tree? htdig is a dependency of KDE, xalan-c of virtualbox, while you can excuse the second, the first is quite common..
*** Bug 197371 has been marked as a duplicate of this bug. ***
*** Bug 198542 has been marked as a duplicate of this bug. ***
*** Bug 199424 has been marked as a duplicate of this bug. ***
*** Bug 201589 has been marked as a duplicate of this bug. ***
(In reply to comment #10) > queued for next 4.2.2 patchset > Any ETA on this? It has been two months already ;)
*** Bug 203248 has been marked as a duplicate of this bug. ***
games-strategy/netpanzer-0.8.2 is also affected by this: src/NetPanzer/Particles/Particle2D.cpp:352: internal compiler error: in reference_to_unused, at dwarf2out.c:10010
gcc-4.2.3 is in the tree