app-editors/vim-6.3-r2 app-editors/vim-6.3-r4 ---- gdme0 vim # emerge info Portage 2.0.51-r15 (default-ppc64-2004.3, gcc-3.4.1, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r3 ppc64) ================================================================= System uname: 2.6.8-gentoo-r3 ppc64 POWER4 (gp) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jan 27 2005, 18:17:24)] dev-lang/python: 2.3.3-r1 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.90.0.3-r3 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=power4 -mtune=power4" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=power4 -mtune=power4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks nostrip" GENTOO_MIRRORS="http://ftp.du.se/os/gentoo http://mirror.gentoo.no" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="berkdb crypt f77 hardened nls nptl pam perl ppc64 python readline ssl tcpd" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY --- .. at the end of emerging: * Updating documentation tags in /usr/share/vim/vim63 /usr/lib/portage/bin/ebuild.sh: line 1858: 6072 Segmentation fault DISPLAY= $vim -u NONE -U NONE -T xterm -X -n -f '+set nobackup nomore' "+helptags $d/doc" '+qa!' </dev/null >&/dev/null >>> original instance of package unmerged safely. * Updating documentation tags in /usr/share/vim/vim63 /usr/lib/portage/bin/ebuild.sh: line 1858: 6123 Segmentation fault DISPLAY= $vim -u NONE -U NONE -T xterm -X -n -f '+set nobackup nomore' "+helptags $d/doc" '+qa!' </dev/null >&/dev/null .. and if I just do 'vim' and exit: Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault gdme0 vim # app-editors/vim-6.2-* worked fine but has been removed from portage :/ Tell me if you need some more info, thanks.
Same situation with vim-7.0 alpha versions :-( I'm gonna do some more testing with other flags.
I found a solution for this. If I do a 'USE="-perl" emerge vim-core vim' I get a working vim. Everytime I add perl to USE flag it segfaults. This machine, which is segfaulting, is using dev-lang/perl-5.8.5-r3. I have another machine running dev-lang/perl-5.8.2-r1 which is working fine using the perl USE flag and vim-core & vim. What to do eh?
Also vim-7.0 alpha works without the perl USE flag. So clearly it must be something with the perl libs.
excellent detective work!
I solved this problem by compiling vim-6.3-r2 using gcc-3.4.3-r1. It seems that it operates normally even if perl is contained in USE Flag. The step for solution : 1. ACCEPT_KEYWORDS=~ppc64 emerge =sys-devel/gcc-3.4.3-r1 2. ACCEPT_KEYWORDS=~ppc64 emerge abiword 3. emerge gcc (back to stable version of gcc)
i'm sorry. my bad... The following is my mistake: 2. ACCEPT_KEYWORDS=~ppc64 emerge abiword The right command is the following: 2. ACCEPT_KEYWORDS=~ppc64 emerge vim
gcc-3.4.3-r1 is stable now. this bug should be fixed then.
closing