On re-emerging inkscape during and after upgrade to gcc-4.1.1 the ebuild failed like so: text-editing.cpp: In function 'void sp_te_adjust_linespacing_screen(SPItem*, const Inkscape::Text::Layout::iterator&, const Inkscape::Text::Layout::iterator&, SPDesktop*, gdouble)': text-editing.cpp:950: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. text-context.cpp: In function 'int sp_text_context_style_query(SPStyle*, int, SPTextContext*)': text-context.cpp:1378: warning: dereferencing type-punned pointer will break strict-aliasing rules if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/perl5/5.8.8/i686-linux/CORE -I/usr/include/python2.4 -I/usr/include/freetype2 -I/usr/include/freetype2 -DPOTRACE=\"potrace\" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I../cxxtest -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O3 -march=i686 -pipe -fomit-frame-pointer -ffast-math -MT tools-switch.o -MD -MP -MF ".deps/tools-switch.Tpo" -c -o tools-switch.o tools-switch.cpp; \ then mv -f ".deps/tools-switch.Tpo" ".deps/tools-switch.Po"; else rm -f ".deps/tools-switch.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/perl5/5.8.8/i686-linux/CORE -I/usr/include/python2.4 -I/usr/include/freetype2 -I/usr/include/freetype2 -DPOTRACE=\"potrace\" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I../cxxtest -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O3 -march=i686 -pipe -fomit-frame-pointer -ffast-math -MT uri-references.o -MD -MP -MF ".deps/uri-references.Tpo" -c -o uri-references.o uri-references.cpp; \ then mv -f ".deps/uri-references.Tpo" ".deps/uri-references.Po"; else rm -f ".deps/uri-references.Tpo"; exit 1; fi Preprocessed source stored into /tmp/portage/inkscape-0.43/temp/ccYi9fIs.out file, please attach this to your bugreport. make[2]: *** [text-editing.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/tmp/portage/inkscape-0.43/work/inkscape-0.43/src' make[1]: *** [all-recursive] Error 1 [snip] Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called gnome2_src_compile gnome2.eclass, line 64: Called die As strongly suggested by the above, I attach ccYi9fIs.out Beware, it is 1.9M Reducing the CFLAGS to -O2 does not help. It may or may not help: boehm-gc and R do not compile as well. My emerge --info Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17.6 i686) ================================================================= System uname: 2.6.17.6 i686 Pentium II (Klamath) Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -ffast-math" DISTDIR="/usr/src/packages" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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'" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib alsa apache2 audiofile bash-completion berkdb bitmap-fonts bzip2 calendar cdr cli crypt ctype cups curl curlwrappers dlloader dri dvd dvdr dvdread emacs encode expat fam fbcon ffmpeg fftw fortran ftp gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 isdnlog java javascript jpeg ldap libg++ libwww logrotate mad mmx motif mp3 mpeg mysql ncurses nptl nptlonly offensive ogg openal oracle pam pcre pdf perl png posix ppds pppd python quicktime readline real reflection sdl session sockets source spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis win32codecs xml xml2 xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_mga" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 145895 ***
Dupe.