vim emerges without any problems (as do ctags and vim-core). vim-core v6.3 vim v6.3 ctags v5.5r1 Notably, gvim works without any problems. ldd /usr/bin/vim linux-gate.so.1 => (0xffffe000) libncurses.so.5 => /lib/libncurses.so.5 (0xb7f9c000) libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb7f96000) libperl.so.1 => /usr/lib/libperl.so.1 (0xb7e95000) libutil.so.1 => /lib/libutil.so.1 (0xb7e92000) libc.so.6 => /lib/libc.so.6 (0xb7d8a000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7d3a000) libm.so.6 => /lib/libm.so.6 (0xb7d18000) libdl.so.2 => /lib/libdl.so.2 (0xb7d15000) libnsl.so.1 => /lib/libnsl.so.1 (0xb7d01000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7cd5000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fee000) strace: (only the last bit for clarity) stat64("/usr/share/vim/vim63", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 getcwd("/root", 1024) = 6 chdir("/root") = 0 chdir("/root") = 0 getcwd("/root", 1025) = 6 chdir("/root") = 0 sysinfo({uptime=167348, loads=[13600, 82944, 117952] totalram=520425472, freeram=6361088, sharedram=0, bufferram=20262912} totalswap=509952000, freeswap=509865984, procs=106}) = 0 getrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0 stat64("/usr/share/vim", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ /usr/share/vim exists and has a 'vim63' directory under it. Another machine that has the exact same version of vim, gcc, glibc.. runs just fine. I even compared /etc/ld.so.conf's. I have no idea how to investigate this further. Reproducible: Always Steps to Reproduce: 1. run vim at prompt 2. 3. Actual Results: Segmentation fault Expected Results: Actually run. :) Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7 -mm4) ================================================================= System uname: 2.6.7-mm4 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirr or.datapipe.net/gentoo http://128.213.5.34/gentoo/ http://mirror.datapipe.net/ge ntoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups divx4linux dvd encode esd foomati cdb gdbm gif gpm gtk gtk2 imap imlib java jpeg ldap libg++ libwww mad mikmod mot if mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime re adline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv xvid zlib"
Scrolling back through the emerge, I found this: >>> Merging app-editors/vim-6.3 to / --- /usr/ --- /usr/bin/ >>> /usr/bin/vim >>> /usr/bin/vimdiff -> vim >>> /usr/bin/rvim -> vim >>> /usr/bin/ex -> vim >>> /usr/bin/view -> vim >>> /usr/bin/rview -> vim * Updating documentation tags in /usr/share/vim/vim63 /usr/sbin/ebuild.sh: line 1433: 11324 Segmentation fault DISPLAY= $vim -u NONE -U NONE -T xterm -X -n -f '+set nobackup nomore' "+helptags $d/doc" '+qa!' </dev/null >&/dev/null * * gvim has now a seperate ebuild, 'emerge gvim' will install gvim * * Caching service dependencies... >>> app-editors/vim-6.3 merged. >>> Recording app-editors/vim in "world" favorites file... I wonder if that has any bearing on it.
Found out it was mm-sources (2.6.7-mm4) broke it. Compiled gentoo-dev-sources (2.6.7-gentoo-r8) and it's fine in that. What is even more strange is I am running mm-sources on some laptops at home and vim works fine in that. I had emerge'd mm-sources with the hope that the APIC timer bug would be fixed, since this is an IBM machine and the clock just stops periodically after a certain amount of time. I'm hoping that perhaps 2.6.7-gentoo-r8 has that fixed.