$ mutt Sorting mailbox...Segmentation fault I tested this with a variety of USE flags and also disabling the various patches within the ebuild to no avail. Reproducible: Always Steps to Reproduce: 1. emerge =mutt-1.5.4 2. mutt Actual Results: segfaults Expected Results: shouldn't segfault Portage 2.0.47-r10 (default-alpha-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20-gentoo-alpha-r2 alpha EV67 GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/cups /etc/init.d /etc/pam.d /etc/postfix/sample /etc/sound /etc/X11/app-defaults /etc/X11/gdm /etc/X11/rstart /etc/X11/serverconfig /etc/X11/Sessions /etc/X11/starthere /etc/X11/sysconfig /etc/X11/xdm /etc/X11/xinit /etc/X11/xkb /etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/local/tmp" PORTDIR_OVERLAY="/usr/local/home/agriffis/proj/portage" USE="alpha crypt cups encode gif jpeg libg++ mikmod ncurses nls oss pdflib png qt quicktime spell truetype xml2 xmms xv zlib gnome-libs gtkhtml gdbm berkdb readline tetex bonobo tcltk java guile ruby X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gnome gtk motif opengl mozilla -arts -esd -kde -slang ev6 pic imap" COMPILER="gcc3" CHOST="alpha-unknown-linux-gnu" CFLAGS="-mcpu=ev67 -O3 -pipe" CXXFLAGS="-mcpu=ev67 -O3 -pipe" ACCEPT_KEYWORDS="alpha ~alpha" MAKEOPTS="-j5" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc"
This only appears to happen with -O3 (and probably higher). It doesn't happen with -O2. I also tested mutt-1.4.1 and discovered that it also segfaults with -O3, but not with -O2.
I fixed this in the ebuild. Note this is really a duplicate of bug 11170 but on alpha instead of ppc.