While trying out the new GRAPHITE optimizations (rice burning..) I found that a number of packages has problems. GCC is definitely to blame for this one: while compiling libcaca you get an ICE right at the beginning. Reproducible: Always Steps to Reproduce: 1. Turn on loop optimizations: -O3 -floop-strip-mine -floop-block -floop-interchange -ftree-loop-distribution -ftree-loop-im 2. Emerge libcaca 3. See the ICE Actual Results: ICE Expected Results: Clean compile Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30 x86_64) ================================================================= System uname: Linux-2.6.30-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2382-with-gentoo-2.0.1 Timestamp of tree: Thu, 16 Jul 2009 04:30:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r2, 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=barcelona -fomit-frame-pointer -floop-strip-mine -floop-block -floop-interchange -ftree-loop-distribution -ftree-loop-im" CHOST="x86_64-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 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CPPFLAGS="-O3 -pipe -march=barcelona -fomit-frame-pointer -floop-strip-mine -floop-block -floop-interchange -ftree-loop-distribution -ftree-loop-im" CXXFLAGS="-O3 -pipe -march=barcelona -fomit-frame-pointer -floop-strip-mine -floop-block -floop-interchange -ftree-loop-distribution -ftree-loop-im" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch" FFLAGS="-O3 -pipe -march=barcelona -fomit-frame-pointer -floop-strip-mine -floop-block -floop-interchange -ftree-loop-distribution -ftree-loop-im" GENTOO_MIRRORS="ftp://gentoo.llarian.net/pub/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en pl" MAKEOPTS="-j10" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/odra" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aac aalib acl acml acpi acpiu alsa amd64 amrnb amrwb apm aspell async audacious bash-completion berkdb blas boost bzip2 cairo cdparanoia cleartype cli corefonts cracklib crypt cups curl cxx dbus dga divx djvu dri dts dvd dvdread enca encode encoder equalizer expat ffmpeg fftw fontconfig fortran fpx gcj gd gdbm gfortran ggi gif git glib gmp gnutls gpm gpu graphite graphviz gs gsl gtk hdri heterogeneous iconv icu imagemagick imlib isdnlog java jpeg jpg lapack latex lcms ldap libcaca libssh2 live lm_sensors lua lzo mad metis midi mmx mmxext mng mp3 mpeg2 mpfr mpi mplayer mudflap multilib mysql nas ncurses network nforce2 nls nptl nptlonly nsplugin numpy nut nvidia objc objc++ ogg openexr opengl openmp openssl pam parmetis patented pch pcre pdf perl php plotutils pmu png pnm povray ppds pppd python qhull qt3 qt3support qt4 quicktime radio rar readline reflection rtc samba schroedinger sensord server session shaders slp smp sms sparse speex spell spl sqlite sse sse2 sse3 ssh ssl ssse3 subversion svg svn swat sysfs syslog tcl tcpd tga threads tiff tk tls truetype umfpack unicode vdpau vim-syntax vmd voice vorbis vtk webkit wma wmf wxwidgets wxwindows x264 xcomposite xemacs xml xorg xulrunner xvid zeroconf zlib" ALSA_CARDS="hda_intel" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 198361 [details] build.log
Thanks for the gcc 4.4 test report, assigning to toolchain
Same problem with GCC 4.4.1.
Seems to be this one: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40157
nice work.
will not be fixed in 4.4 according to upstream. keeping this open in case another distro backports a fix from 4.5.
(In reply to comment #6) > will not be fixed in 4.4 according to upstream. keeping this open in case > another distro backports a fix from 4.5. > How about tracking the affected packages, and removing floop-block from the CFLAGS in the ebuilds? Just a thought. I'm having this issue with: media-libs/libcaca-0.99_beta16-r1:0 media-libs/celt-0.7.0 Or should I open a new bug for the purpose? Not entirely sure of the etiquette for such a thing. That is, am I hijacking this bug by suggesting this, or is this the right place to do so?
For what it's worth, starting with the following CFLAGS, simply removing -floop-block allows libcaca to build, whereas celt failed with any of -floop-interchange -floop-strip-mine -floop-block enabled. It builds fine with all three of these removed: CFLAGS='-O2 -march=pentium4 -floop-interchange -floop-strip-mine -floop-block -pipe' Tested with gcc (Gentoo 4.4.2 p1.0) 4.4.2 on x86, and the following: media-libs/libcaca-0.99_beta16-r1:0 media-libs/celt-0.7.0
Marking this as WONTFIX unless someone else backports the patch. Even then, I wouldn't really want to apply it since upstream never plans on doing it for 4.4.
*** Bug 303429 has been marked as a duplicate of this bug. ***
*** Bug 313929 has been marked as a duplicate of this bug. ***