Okay I originally thought this was caused by splitdebug but enabling it with -g3 seemed not to kill my system, so I've changed bug #118207 and opening this one for the breakage. The problem is _not_ caused by --as-needed flag. Portage 2529-svn (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.14-hardened-r3 x86_64) ================================================================= System uname: 2.6.14-hardened-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.2 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-r1 sys-devel/binutils: 2.16.1, 2.16.91.0.5 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -Os -fomit-frame-pointer -ftracer -pipe -ftree-vectorize -Wformat=2 -Wno-pointer-sign -g3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -Os -fomit-frame-pointer -ftracer -pipe -ftree-vectorize -Wformat=2 -g3" DISTDIR="/var/portage/distfiles" FEATURES="autoaddcvs autoconfig collision-protect confcache cvs digest distlocks multilib-strict noinfo sandbox sfperms sign splitdebug" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gentoo.osuosl.org/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en it" MAKEOPTS="-j2 -s" PKGDIR="/var/portage/pkg-enterprise" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage/cvs/gentoo-x86" PORTDIR_OVERLAY="/var/portage/crossoverlay /var/portage/cvs/gentoo-alt/overlay /var/portage/cvs/flame-portage /var/portage/cvs/gentoo-java-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3dnowex S3TC a52 aac acl acpi4linux alsa apm audiofile avi bash-completion berkdb bzip2 bzlib cdda cddb cdio cdr cjk crypt css cups curl dlloader dnd dpms dri dts dvd dvdr dvdread eds emboss ethereal exif expat fam fame ffmpeg flac foomaticdb gd gif glut gmp gnutls gpgme gphoto2 gtk2 howl idn ieee1394 imagemagick imlib imlib2 ipv6 ithreads joystick jpeg kde latex lcms libwww lm_sensors lzw lzw-tiff mad maildir matroska mmap mng mozsvg mp3 mpeg mpeg4 mpm-threadpool native no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nodrm nojdepend nojsch nojython nolog4j nomotif nooro noregexp norhino noxalan noxerces nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdf pdflib pic png ppds qemu-fast qt recode rtc ruby samba scanner slang snmp speex spell sqlite ssl stencil-buffer subversion svg svgz symlink sysfs syslog tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vhosts vorbis wxwindows x11vnc xine xml2 xpm xv xvid zlib zvbi elibc_glibc kernel_linux linguas_en linguas_it userland_GNU" Unset: ASFLAGS, CTARGET, LC_ALL
-g3 is known to sometimes generate bad code, but besides that fact, i dont know why people insist on using it -g -ggdb provides plenty of information most of the time
-g -ggdb worked fine. -g3 should be filtered then?
no
Diego, You never really explained how this kills bash. What exactly happened?
Lots of Aborts... not much to say.