Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 134710

Summary: [4.1.1/ICE] gcc segfaults compiling ruby-1.8.4.20060226 (ftree-vectorize)
Product: Gentoo Linux Reporter: Piojo <lfmunozmejias>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The preprocessed source file for ruby's regex.c

Description Piojo 2006-05-28 18:50:18 UTC
When emerging ruby-1.8.4.20060226 I get an ICE:

regex.c: In function &#8216;ruby_re_compile_fastmap&#8217;:
regex.c:2772: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

How to reproduce:

i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -maccumulate-outgoing-args -fprefetch-loop-arrays -ftree-vectorize  -fPIC  -DRUBY_EXPORT  -I. -I.  -c  ccI32ToV.c

Reproducible: always.

emerge info:

Portage 2.1_rc2-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.12.0
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -maccumulate-outgoing-args -fprefetch-loop-arrays -ftree-vectorize"
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/conf.d/net /etc/conf.d/rc /etc/fstab /etc/gconf /etc/locales.build /etc/make.conf /etc/modules.autoload.d/kernel-2.6 /etc/rc.conf /etc/revdep-rebuild /etc/services /etc/sudoers /etc/terminfo /etc/texmf/web2c /usr/kde/3.5/share/config/kdm/kdmrc /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -maccumulate-outgoing-args -fprefetch-loop-arrays -ftree-vectorize -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://213.186.33.38/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/ http://213.186.33.38/gentoo-distfiles/ http://213.186.33.37/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="es"
MAKEOPTS="-j2"
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="/home/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa apache2 apm arts asf audiofile avi bash-completion berkdb bitmap-fonts blas bootsplash browserplugin bzip2 cdparanoia cli crypt cups dri dvd emacs encode fam ffmpeg flac foomaticdb fortran gd gdbm gif gimp gimpprint gmail gtk gtk2 hal idn imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg jpeg2k kde kdeenablefinal lapack lcms libg++ libwww mad mikmod mmx mmx2 mmxext mng motif moznocompose moznoirc moznomail mp3 mpeg mplayer ncurses nls no-old-linux nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdf pdflib perl png postgres pppd python qt quicktime readline reflection rtc scanner sdl sensord session spell spl sse ssl svg svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales video_cards_nvidia vorbis win32codecs xcomposite xine xorg xv xvid zlib elibc_glibc kernel_linux linguas_es userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Piojo 2006-05-28 18:51:43 UTC
Created attachment 87772 [details]
The preprocessed source file for ruby's regex.c
Comment 2 Piojo 2006-05-28 20:26:01 UTC
It compiles all right when removing -ftree-vectorize CFLAG.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-05-29 13:57:07 UTC

*** This bug has been marked as a duplicate of 128044 ***