extra2.c: In function `decorr_stereo_pass': extra2.c:320: internal compiler error: in trunc_int_for_mode, at explow.c:54 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/media-sound/wavpack-4.50.1-r1/temp/cceaJKj7.out file, please attach this to your bugreport. make[1]: *** [libwavpack_la-extra2.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f .deps/libwavpack_la-extra1.Tpo .deps/libwavpack_la-extra1.Plo mv -f .deps/libwavpack_la-wputils.Tpo .deps/libwavpack_la-wputils.Plo mv -f .deps/libwavpack_la-unpack3.Tpo .deps/libwavpack_la-unpack3.Plo make[1]: Leaving directory `/var/tmp/portage/media-sound/wavpack-4.50.1-r1/work/wavpack-4.50.1/src' make: *** [all-recursive] Error 1 * * ERROR: media-sound/wavpack-4.50.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2606: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * 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/media-sound/wavpack-4.50.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/wavpack-4.50.1-r1/temp/environment'. * If it helps: root 17> gcc -v Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/specs Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --disable-libgcj --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.6, ssp-3.4.6-1.0, pie-8.7.10) root 18> uname -a Linux xcode 2.6.30-gentoo-r5 #1 SMP Tue Oct 6 14:20:35 PDT 2009 x86_64 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux Reproducible: Always Steps to Reproduce: emerge -v --deep --newuse --update media-sound/wavpack I'll attach the build.log and preproc output ASAP.
Created attachment 209076 [details] build.log This is the build log.
Created attachment 209078 [details] Preprocessed source
Created attachment 209079 [details] build environment
Please attach emerge --info.
root 1> emerge --info Portage 2.1.6.13 (hardened/linux/amd64/10.0, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Xeon-TM-_CPU_2.80GHz-with-gentoo-1.12.11.1 Timestamp of tree: Mon, 02 Nov 2009 17:45:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.4.4-r6, 2.5.4-r2, 2.6.3, 3.1.1-r1 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fforce-addr -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -fforce-addr -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="acl amd64 apache2 bash-completion berkdb bzip2 cracklib crypt emacs eselect expat gdbm hardened iconv justify mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pic python readline session spl sse sse2 ssl sysfs tcpd unicode urandom vim xorg zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex dav dav_fs dav_lock deflate dir env expires ext_filter filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id vhost_alias auth_digest" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vfb" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
A simple question: Why are you using 3.4 when 4.3 is the stable GCC for hardened?
Ugh! I'm sorry to waste your time. I switched to gcc 4.3.4 and wavpack compiled without issues. Thanks for your help. About once a month, I do an "emerge --sync" followed by an "emerge -v --deep --newuse --update world". I go over the log output and take care of the little extras (usually involving eselect). Anyway, I'm sure I missed that little notice that said to select another compiler profile using gcc-config.