Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129542 - aspell-0.60.4 segfaults on most actions
Summary: aspell-0.60.4 segfaults on most actions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-10 16:59 UTC by gad.kadosh
Modified: 2006-05-01 09:13 UTC (History)
0 users

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


Attachments
MAKEOPTS="-j1" emerge aspell aspell-en &> aspell.log (aspell.log.bz2,9.78 KB, text/plain)
2006-04-11 10:17 UTC, gad.kadosh
Details
MAKEOPTS="-j1" emerge aspell aspell-en &> aspell.log (aspell.log,148.98 KB, text/plain)
2006-04-11 10:21 UTC, gad.kadosh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gad.kadosh 2006-04-10 16:59:18 UTC
When I compile aspell-0.60.4 with gcc-4.1 it compiles fine, but segfaults on any useful action I try, including emerging some dictionary:

/var/tmp/portage/aspell-en-6.0.0/work/aspell6-en-6.0-0
Finding Dictionary file location ... /usr/lib/aspell-0.60
Finding Data file location ... /usr/lib/aspell-0.60
/usr/bin/prezip-bin -d < en-common.cwl | /usr/bin/aspell  --lang=en create master ./en-common.rws
/usr/bin/prezip-bin -d < en-variant_0.cwl | /usr/bin/aspell  --lang=en create master ./en-variant_0.rws
/bin/sh: line 1: 26467 Done                    /usr/bin/prezip-bin -d <en-variant_0.cwl
     26468 Segmentation fault      | /usr/bin/aspell --lang=en create master ./en-variant_0.rws
make: *** [en-variant_0.rws] Error 139
make: *** Waiting for unfinished jobs....
/bin/sh: line 1: 26464 Done                    /usr/bin/prezip-bin -d <en-common.cwl
     26465 Segmentation fault      | /usr/bin/aspell --lang=en create master ./en-common.rws
make: *** [en-common.rws] Error 139


 # emerge --info
Portage 2.1_pre7-r5 (default-linux/ppc/ppc32/2006.0/G4, gcc-4.1.0, glibc-2.4-r2, 2.6.17-rc1 ppc)
=================================================================
System uname: 2.6.17-rc1 ppc 7447A, altivec supported
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -ftree-vectorize -mabi=altivec -pipe -fomit-frame-pointer -ftracer"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -ftree-vectorize -mabi=altivec -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentopia /usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X a52 aac acl alsa altivec apache2 avahi beagle berkdb bitmap-fonts bluetooth cairo caps cdr cli crypt ctype cups dba dbus dri dvd dvdr eds emboss encode evo exif expat fam fastbuild fbcon firefox flac foomaticdb force-cgi-redirect fortran ftp galago gd gdbm gif glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal ieee1394 imlib ipv6 isdnlog jpeg ldap libg++ libnotify libsexy libwww logrotate mad matroska memlimit mikmod mng mono mp3 mpeg nautilus ncurses nfs nls nptl nptlonly nsplugin ogg opengl pam pcre pdf pdflib perl pic pie png pnp posix ppds pppd python quicktime readline samba scanner sdl session simplexml soap sockets spell spl ssl svg symlink tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xsl xv zlib elibc_glibc input_devices_evdev kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS


I have also tried with no LDFLAGS and very minimal CFLAGS: "-g -O0 -mcpu=G4 -pipe" but the results were the same.
Comment 1 gad.kadosh 2006-04-11 10:17:15 UTC
Created attachment 84453 [details]
MAKEOPTS="-j1" emerge aspell aspell-en &> aspell.log
Comment 2 gad.kadosh 2006-04-11 10:21:59 UTC
Created attachment 84454 [details]
MAKEOPTS="-j1" emerge aspell aspell-en &> aspell.log
Comment 3 gad.kadosh 2006-04-19 12:38:47 UTC
By the way, I never mentioned but of course this works with gcc-3.4
Comment 4 Luca Barbato gentoo-dev 2006-05-01 09:13:33 UTC
-maltivec is the problem for aspell, I added a workaround in the ebuild to prevent altivec support (and vector mismatch) to appear.