emerge output: i686-pc-linux-gnu-gcc -shared -Wl,-soname,libruby18.so.1.8 array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o -ldl -lcrypt -lm -o libruby18.so.1.8.4 ./lib/fileutils.rb:1252: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i686-linux] make: *** [.rbconfig.time] Aborted make: *** Waiting for unfinished jobs.... !!! ERROR: dev-lang/ruby-1.8.4-r3 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ruby-1.8.4-r3.ebuild, line 94: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-ck1-r1 i686) ================================================================= System uname: 2.6.17-ck1-r1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.15 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 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 -fomit-frame-pointers -fforce-addr -pipe -mmmx -msse -m3dnow -march=athlon-xp -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=387,sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -fomit-frame-pointers -fforce-addr -pipe -mmmx -msse -m3dnow -march=athlon-xp -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=387,sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X acpi alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr cli cpudetection crypt cups dlloader dri dvd dvdr dvdread eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog jpeg kde kerberos libg++ libwww linuxthreads-tls mad mikmod mmext mmx mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev userlocales vorbis win32codecs xml xmms xorg xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_de linguas_en userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Does it happen in the same place the same way everytime yo uemerge? Have you tried removing your portage tmpdir and trying again?
yes and yes
Take a look here: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=4004&group_id=426
Also, I may be wrong here, but your flag "-f-omit-frame-pointers"...I think it's just "pointer".
mmh, you are right, but in that case, it cannot be that fomit-frame-pointer is responsible for this, because the flag is wrong and gcc shouldn't do that functionality, except if it understands -fomit-frame-pointers as -fomit-frame-pointer. Will check that though
You might want to try playing with some of your other CFLAGS and see if one of them is the culprit.
Removing -fomit-frame-pointers from CFLAGS, resolved this.