font dir generation failed on my system for some font directries since ttmkfdir always created a segfault (emerging xorg or starting xfs). Even calling ttmkfdir -h to get the usage just results in a seg fault. After some investigation I found the culprit to be the -foptimize-sibling-calls flag. Without this one, the font.scale generation went fine. Please note, that the current ebuild already filters the -Ox flags, but this is not enough. If the flag is explicitly set, it must be filtered explicitly! Somewhat related to 55383, but that one identifies another critical flag, that is not yet filtered. Reproducible: Always Steps to Reproduce: 1. CFLAGS=-foptimize-sibling-calls emerge ttmkfdir 2. ttmkfdir -h Actual Results: segmentation fault Expected Results: print usage line Portage 2.0.51-r2 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r9 i686) ================================================================= System uname: 2.4.26-gentoo-r9 i686 AMD Athlon(tm) XP 2700+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fomit-frame-pointer -foptimize-sibling-calls -fprefetch-loop-arrays -falign-functions=32" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fomit-frame-pointer -foptimize-sibling-calls -fprefetch-loop-arrays -falign-functions=32 -fno-default-inline" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms userpriv" GENTOO_MIRRORS="http://gentoo.inode.at/ http://sunsite.cnlab-switch.ch/mirror/gentoo/http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.heanet.ie/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/volatile" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X Xaw3d aac aalib acl alsa apache2 apm arts artswrappersuid audiofile avi bdf berkdb bitmap-fonts blender-game bonobo bzlib calendar caps cdparanoia cdrcdrom cgi codecs crypt cscope ctype cups curl curlwrappers cyrus dbase dbm dga dio directfb divx4linux dnd doc dts dvd dvdr dvdread edl emoticon encode esd ethereal exif expat f77 faad fam fastcgi fbcon fbdev ffmpeg fftw flac flash fltk foomaticdb foreign-package gcj gd gdbm ggi gif gimp glut gnome gnomedb gnuplot gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile iconv ieee1394 image imagemagick imap imlib innodb intl iodbc j2ee java javacomm javadoc javamail javascript jbig jce jp2 jpeg jpeg2k junit jython kde lcms libcaca libdsk libg++ libwww live lua lzo lzw lzw-tiff mad maildir mailwrapper maps mcal md5sum mdb mhash mikmod mime ming mixer mmap mmx mng monkey mono motif mozcalendar mozdevelop mozilla moznoirc mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer mysql nas ncurses netcdf nls nntp nvidia oav odbc ofx oggvorbis ooo-kde openal opengl openssh operanom2 oss pam parse-clocks pcap pcre pdf pdflib perl php pic plotutils png posix povray ppds python qt quicktime quotes readline recode rhino rtc ruby samba scanner sdk sdl shared slang slp smartcard sndfile soap sockets sounds soundtouch sox speexspell spl sse ssl svg svga tcltk tcpd tetex tidy tiff tokenizer transcode truetype unicode usb userlocales v4l v4l2 videos vim-with-x vnc wmf wxwin wxwindows x86 xbase xfsxine xml xml2 xmms xosd xpm xscreensaver xv xvid xvmc yv12 zlib video_cards_nvidia linguas_de linguas_en_GB"
We only accept bugs with standard accepted safe use flags which are -OX -gX -march -mtune -mcpu and -m32 on x86
meep
fixed in ttmkfdir-3.0.9-r2