Many tests fail when emerging sys-devel/gcc-4.3.4 === gcc Summary === # of expected passes 49967 # of unexpected failures 101 # of expected failures 169 # of untested testcases 35 # of unsupported tests 385 Reproducible: Didn't try Steps to Reproduce: 1. FEATURES=test emerge =sys-devel/gcc-4.3.4 2. 3. Actual Results: emerge successful, lots of tests failed Expected Results: tests succeed No, I'm not aiming to find and report as many bugs as possible. Rather I want to build some python/math/number theoretic packages such as sage, and nothing seems to work. Is any fresh gcc broken? If yes then which version is less broken? Which version should I use? emerge --info follows Portage 2.1.9.24 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-r5-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-1.12.11.1 Timestamp of tree: Tue, 22 Feb 2011 00:00:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.10 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.4-r99::sage-on-gentoo dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1 sys-devel/binutils: 2.18-r3, 2.20.1-r1 sys-devel/gcc: 3.4.6-r2, 4.1.2, 4.3.2-r3, 4.3.4, 4.4.3-r2, 4.4.4-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=native -pipe -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-sibling-calls -fprefetch-loop-arrays " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O3 -march=native -pipe -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-sibling-calls -fprefetch-loop-arrays " DISTDIR="/usr/distfiles" FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans" GENTOO_MIRRORS="ftp://gentoo.bloodhost.ru/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="--jobs --load-average=12" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="lzma" 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="/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/sage-on-gentoo /usr/local/portage/layman/oss-overlay /usr/local/portage/layman/pythonhead /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac aalib acpi airplay alsa amd64 ao asf bdf berkdb branding bzip2 cairo cdda cdr cli crypt cue custom-cflags cxx dbus djbfft dri dts dvd dvdr emboss encode examples exif fam ffmpeg firefox flac fortran gdbm gdu gif gpm gtk iconv jpeg kpathsea latex lcms libcaca libnotify lzma mac mad mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses nophonehome nptl nptlonly ofa ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline sdl session sndfile speex spell sse sse2 ssl startup-notification static-libs svg sysfs tcpd theora threads tiff truetype udev umfpack unicode usb utf vcd vdpau vocoder vorbis wavpack x264 xcb xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 263511 [details] full emerge log, with many test failures
(In reply to comment #0) > CFLAGS="-O3 -march=native -pipe -fomit-frame-pointer -funroll-loops > -fexpensive-optimizations -foptimize-sibling-calls -fprefetch-loop-arrays " > CXXFLAGS="-O3 -march=native -pipe -fomit-frame-pointer -funroll-loops > -fexpensive-optimizations -foptimize-sibling-calls -fprefetch-loop-arrays " Please use "sane" C{XX}FLAGS. If the tests still fail after you rebuild your system with sane flags, add a new comment to the bug.
> Please use "sane" C{XX}FLAGS. If the tests still fail after you rebuild your > system with sane flags, add a new comment to the bug. > CFLAGS=CXXFLAGS='-O3 -march=native -pipe' automagically became [32;01m*[0m CFLAGS="-march=native -pipe -O2" [32;01m*[0m CXXFLAGS="-march=native -pipe -O2" And guess what? gcc Summary unchanged (of unexpected failures 101). Would you like emerge log?
@toolchain: your call.
sorry, not interested. especially for older compilers.