GCC 4.5.1 gives an internal compiler error while emerging x11-misc/xscreensaver-5.11 with some graphite CFLAGS (-O2 -fgraphite-identity -ftree-loop-distribution) I know gcc 4.5.1 isn't stable; this bug should be marked as blocking the stabilization of 4.5 (but exactly what bug I should block I don't know) I reported the issue to upstream (see URL). I can install the package if I remove the graphite flags. # emerge --info =x11-misc/xscreensaver-5.11 Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.5.1, glibc-2.11.2-r0, 2.6.35-vs2.3.0.36.31-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.35-vs2.3.0.36.31-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_N450_@_1.66GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 04 Sep 2010 22:45:02 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.5.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution" DISTDIR="/var/tmp/portage/distfiles" FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/var/tmp/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://rsync1.br.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cjk cli cracklib crypt cups curl cxx dbus djvu doc dri emacs fortran gdbm gif gpm gtk iconv ipv6 ithreads jpeg jpeg2k laptop libnotify mad mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly ocaml ocamlopt ogg opengl openmp pam pcre pdf perl png pppd python readline reflection sdl session spl sqlite sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype unicode v4l2 vim-syntax vorbis wifi xorg xv 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 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="menu brightness" 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, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ================================================================= Package Settings ================================================================= x11-misc/xscreensaver-5.11 was built with the following: USE="jpeg (multilib) opengl pam -new-login -suid -xinerama" CFLAGS="-march=native -O2 -pipe" CXXFLAGS="-march=native -O2 -pipe"
Created attachment 246216 [details] build log not exactly the build.log proper, but copied from emerge messages.
Created attachment 246217 [details] test case test with: x86_64-pc-linux-gnu-gcc -O2 -fgraphite-identity -ftree-loop-distribution glcells.i -v output here is: Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.1/work/gcc-4.5.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.1 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.1 (Gentoo 4.5.1 p1.0, pie-0.4.5) COLLECT_GCC_OPTIONS='-O2' '-fgraphite-identity' '-ftree-loop-distribution' '-v' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.1/cc1 -fpreprocessed glcells.i -quiet -dumpbase glcells.i -mtune=generic -march=x86-64 -auxbase glcells -O2 -version -fgraphite-identity -ftree-loop-distribution -o /tmp/ccby2wxc.s GNU C (Gentoo 4.5.1 p1.0, pie-0.4.5) version 4.5.1 (x86_64-pc-linux-gnu) compiled by GNU C version 4.5.1, GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C (Gentoo 4.5.1 p1.0, pie-0.4.5) version 4.5.1 (x86_64-pc-linux-gnu) compiled by GNU C version 4.5.1, GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: c718f41cef5edae99a78fff10723b0bf glcells.c: In function ‘create_list.clone.0’: glcells.c:846:12: internal compiler error: in sese_loop_depth, at sese.h:172 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions.
Quite a few packages (www-client/links and x11-libs/cairo, for example) fail with ICE when using Graphite optimiztion. Should we put it in one bug? I suppose the issue isn't major enough for tracker bug.
If it's the same error message then it's the same bug. If not, file a new one.
(In reply to comment #4) > If it's the same error message then it's the same bug. If not, file a new one. > Errors are quite ambiguous: www-client/links-2.3_pre1: html_tbl.c: In function ‘new_columns’: html_tbl.c:354:6: internal compiler error: Segmentation fault x11-libs/cairo-1.10.0-r3: cairo-cff-subset.c: In function ‘cff_index_write’: cairo-cff-subset.c:316:1: internal compiler error: Segmentation fault Both compiles fine without graphite CFLAGS. I'm not much of a gcc expert, but problem seems to be the same to me.
The segmentation fault message means they are different than this bug (they may be the same bug, but not this one).
(In reply to comment #6) > The segmentation fault message means they are different than this bug (they may > be the same bug, but not this one). > Blast! Sorry for being that stupid. I'll verify issues once more and file another bug. Sorry again for everyone's time and mailbox littering.
Fixed in 4.5.2.