I emerged dillo with the following USE flags: -ipv6 +nls +ssl +truetype When i open dillo it returns a segmentation fault in this fashion: $ dillo Gdk-WARNING **: Missing charsets in FontSet creation Gdk-WARNING **: JISX0208.1983-0 Gdk-WARNING **: KSC5601.1987-0 Gdk-WARNING **: GB2312.1980-0 Gdk-WARNING **: JISX0201.1976-0 Segmentation fault Reproducible: Always Steps to Reproduce: 1. emerge www-client/dillo-0.8.4-r1 2. run dillo Actual Results: 1. it looks as if a window opens and shuts down immediately. 2. the program segfaults. Expected Results: a normal, working web browser # emerge info Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64) ================================================================= System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.12 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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="-O3 -march=athlon64 -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="he_IL.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://mirror.hamakor.org.il/gentoo-portage" USE="amd64 X aac aalib acpi alsa avi bash-completion berkdb bidi bitmap-fonts cdr cpudetection crypt crypto curl directfb dts dvd dvdr eds esd fam flac font-server fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib java jp2 jpeg junit libwww lirc lzw lzw-tiff mad mbrola mikmod mmext motif mozilla mp3 mpeg ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam perl png python readline samba sdl slang ssl tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml2 xmms xpm xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
i can't reproduce it here. did you try sane CFLAGS? CFLAGS="-O2 -march=k8 -pipe" should work
Wow, superb response time! It does seem to work when compiled with the CFLAGS you gave. Is there a reason you refer to them as sane, when compared to my defaults? Is there something insane in my optimization flags?
closing then i don't know which of the options causes gcc to produce bad code, but i think it's one of the "-f"s