Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132378 - [4.1/ICE] vim 7 ICE using -ftree-vectorize -Os -maltivec
Summary: [4.1/ICE] vim 7 ICE using -ftree-vectorize -Os -maltivec
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-05 13:37 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-05-15 17:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ccAZmxIl.out (ccAZmxIl.out,261.81 KB, text/plain)
2006-05-05 13:38 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-05 13:37:49 UTC
I hit this little problem on my iBook, vim 7 beta doesn't build when using gcc 4.1.0 and -ftree-vectorize.

As JoseJX tried, the problem lies directly in -ftree-vectorize, because adding it on his setup broke vim with the same error.

Emerge info:

Gentoo Base System version 1.12.0_pre19
Portage 2.1_pre10-r2 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.4, glibc-2.3.6-r4, 2.6.15-gentoo ppc)
=================================================================
System uname: 2.6.15-gentoo ppc 7455, altivec supported
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.18
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-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -pipe -mcpu=7400 -maltivec -mabi=altivec -ftracer -ftree-vectorize"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-Os -pipe -mcpu=7400 -maltivec -mabi=altivec -ftracer -ftree-vectorize"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig confcache cvs distlocks metadata-transfer noinfo sandbox sfperms sign"
GENTOO_MIRRORS="http://ftp.unina.it/pub/linux/distributions/gentoo      http://gentoo.osuosl.org/"
INSTALL_MASK="/usr/share/info   /usr/share/gtk-doc"
LANG="en_US.UTF-8"
LINGUAS="en it"
PKGDIR="/var/portage/pkg-voyager-linux"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage/cvs/gentoo-x86"
PORTDIR_OVERLAY="/var/portage/crossoverlay /var/portage/cvs/flame-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc alsa altivec bash-completion berkdb cli crypt cups dri eds emboss ffmpeg fortran gif hal ipv6 isdnlog jpeg kde libwww mp3 mpeg ncurses no-old-linux ogg oggvorbis opengl pam pcre pdflib png pppd qt readline reflection samba sasl session slp spell spl ssl truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml2 xorg xv zeroconf zlib elibc_glibc kernel_linux linguas_en linguas_it userland_GNU video_cards_none video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, MAKEOPTS

Error:

charset.c:276: error: unrecognizable insn:
(insn 68 67 69 10 (set (mem/c/i:QI (plus:SI (reg/f:SI 115 virtual-stack-vars)
                (const_int 24 [0x18])) [0 S1 A128])
        (reg:SI 135 [ temp.2020 ])) -1 (nil)
    (nil))
charset.c:276: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/vim-7.0_beta/temp/ccAZmxIl.out file, please attach this to your bugreport.
make[1]: *** [objects/charset.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/vim-7.0_beta/work/vim7/src'
make: *** [first] Error 2

Going to attach the preprocessed sources now.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-05 13:38:33 UTC
Created attachment 86220 [details]
ccAZmxIl.out
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-05-05 13:55:22 UTC
Confirmed and reducing.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-05-15 17:00:54 UTC
This is fixed in 4.1.1, which will be out in the next few days, so there is no point in backporting this.
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-05-15 17:01:15 UTC
helps to actually change the status of the bug...