g-pdc ~ # cat /usr/portage/metadata/timestamp Sun Oct 23 17:06:50 UTC 2005 g-pdc ~ # g-pdc straces # emerge info Portage 2.0.51.22-r3 (default-linux/ppc64/2004.3, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6-PDC ppc64) ================================================================= System uname: 2.6.12-gentoo-r6-PDC ppc64 POWER4 (gp) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -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 -mcpu=power4 -mtune=power4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.nordic/gentoo-portage" USE="acl berkdb crypt cups emboss f77 foomaticdb fortran gd gdbm kerberos ldap libclamav ncurses nls oav pam perl ppc64 python quotas readline samba ssl tcpd unicode winbind zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY g-pdc straces # app-editors/vim emerged with perl USE flag. g-pdc ~ # vim (q!) Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault g-pdc straces # g-pdc straces # perl -v This is perl, v5.8.7 built for powerpc64-linux .... g-pdc straces # ldd /usr/bin/vim libncurses.so.5 => /lib/libncurses.so.5 (0x0000008000030000) libacl.so.1 => /lib/libacl.so.1 (0x00000080000c8000) libperl.so.1 => /usr/lib/libperl.so.1 (0x00000080000e6000) libutil.so.1 => /lib/libutil.so.1 (0x000000800027a000) libc.so.6 => /lib/libc.so.6 (0x000000800028e000) libpthread.so.0 => /lib/libpthread.so.0 (0x0000008000425000) libm.so.6 => /lib/libm.so.6 (0x00000080004d1000) libdl.so.2 => /lib/libdl.so.2 (0x000000800055d000) libattr.so.1 => /lib/libattr.so.1 (0x0000008000572000) libnsl.so.1 => /lib/libnsl.so.1 (0x0000008000588000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x00000080005b7000) /lib64/ld64.so.1 (0x0000008000000000) g-pdc straces # Emerging without perl USE flag: g-pdc straces # ldd /usr/bin/vim libncurses.so.5 => /lib/libncurses.so.5 (0x0000008000030000) libacl.so.1 => /lib/libacl.so.1 (0x00000080000c8000) libpthread.so.0 => /lib/libpthread.so.0 (0x00000080000e6000) libdl.so.2 => /lib/libdl.so.2 (0x0000008000192000) libutil.so.1 => /lib/libutil.so.1 (0x00000080001a6000) libm.so.6 => /lib/libm.so.6 (0x00000080001bb000) libc.so.6 => /lib/libc.so.6 (0x0000008000247000) libattr.so.1 => /lib/libattr.so.1 (0x00000080003dd000) /lib64/ld64.so.1 (0x0000008000000000) g-pdc straces # No SEGV signals when entering vim. All straces (done with -d -v) and emerge logfiles (emerge teed to a logfile) are placed on http://jni.laps.dk/Gentoo. Lemme know if you need anything else!
I left out the version: app-editors/vim-6.3.084
Same problem with app-editors/vim-6.3.086
This is what happens with app-editors/vim-6.4 emerge (with perl USE flag) >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging app-editors/vim-6.3.086... No package files given... Grabbing a set. --- !mtime obj /usr/bin/vim --- !empty dir /usr/bin --- !empty dir /usr --- !targe sym /usr/bin/vimdiff --- !targe sym /usr/bin/view --- !targe sym /usr/bin/rvim --- !targe sym /usr/bin/rview --- !targe sym /usr/bin/ex * Updating documentation tags in /usr/share/vim/vim64 /usr/portage/eclass/vim-doc.eclass: line 37: 6401 Segmentation fault DISPLAY= $vim -u NONE -U NONE -T xterm -X -n -f '+set nobackup nomore' "+helptags $d/doc" '+qa!' </dev/null >&/dev/null >>> Regenerating /etc/ld.so.cache... >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages ... Without the perl USE flag, it works like a charm.
Created attachment 71326 [details, diff] test patch for vim.eclass.patch FYI, some test results When vim-with-x was contained in the USE flag, maketest passed. However, when it was not contained, the Segmentation fault occurred. When --with-features=big in vim-6.4_beta or later version, even if vim-with-x was not contained in the USE flag, I discovered passing maketest. I attach a test patch for vim-6.4_beta or later version from these results. Additional Information # FEATURES=maketest ACCEPT_KEYWORDS=~ppc64 emerge -ptv =vim-6.4_beta [ebuild R ] app-editors/vim-6.4_beta +acl -bash-completion -cscope +gpm -minimal +nls +perl +python (-ruby) -vim-with-x 0 kB
Bleh. Disabling features on ppc64 like that isn't an option. I need a gdb backtrace of this with vim, perl, libperl and glibc built with full debugging CFLAGS and no stripping please.
I will try to see if I can get some time to recompile with debugging enabled. I have removed the .htaccess file which was blocking people from seeing my log files on the http://jni.laps.dk/Gentoo/ page. My apologize.
I have done the following: JohnDoe src # CFLAGS="-O0" CXXFLAGS="-O0" emerge glibc libperl perl JohnDoe src # USE="perl" CFLAGS="-O0" CXXFLAGS="-O0" emerge vim JohnDoe src # CFLAGS="-O0" CXXFLAGS="-O0" emerge gdb Is this enough or should I compile them differently?
I believe this to be fixed somewhere else. Marking FIXED
Closing