Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103836 - app-portage/eix-0.3.0_beta crashes with "Illegal instruction" on SPARC
Summary: app-portage/eix-0.3.0_beta crashes with "Illegal instruction" on SPARC
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-26 08:47 UTC by Karl-Johan Karlsson
Modified: 2005-09-19 01:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Johan Karlsson 2005-08-26 08:47:36 UTC
app-portage/eix-0.3.0_beta builds the package database just fine, but when 
trying to search I get to wait for a long time (~20s on an Ultra10), until it 
crashes with the message "Illegal instruction". This happens on both a hardened 
Ultra10 and a non-hardened Blade100, both running gentoo-sources 2.6.12-r9. 
emerge --info for the Ultra10 (the Blade100 currently doesn't boot for unrelated 
reasons) at the end. eix 0.2.6 works.

"strace eix -s gentoo-sources" shows:
[...]
read(3, "esklets\0Nhttp://gdesklets.gnomed"..., 16384) = 16384
read(3, "Maker DockApp: Lists all your ru"..., 8192) = 8192
read(3, "r with native ALSA and OSS suppo"..., 24576) = 24576
read(3, ".icewm.org/ http://themes.freshm"..., 8192) = 8192
read(3, " keyboard-based window manager\0\'"..., 8192) = 8192
read(3, "2.4_pre1\2\0\0050.2.4\2\0\0\0\1\0\0\0\0\0050.2.4\2"..., 8192) = 6346
read(3, "", 8192)                       = 0
read(3, "", 8192)                       = 0
read(3, "", 8192)                       = 0
read(3, "", 8192)                       = 0
read(3, "", 8192)                       = 0
read(3, "", 8192)                       = 0
[...]
_llseek(3, 237568, [237568], SEEK_SET)  = 0
read(3, "\3\0\0040.97\1\0\0040.97\4\0\0\0\0\0\0\0\0\0031.0\1\0\003"..., 8192) = 
8192
read(3, "f-syntax\0(vim plugin: BNF file s"..., 8192) = 8192
read(3, "d=152\0\rpublic-domain\0\1\0\0032.2\1\0\0032."..., 8192) = 8192
_llseek(3, 237568, [237568], SEEK_SET)  = 0
read(3, "\3\0\0040.97\1\0\0040.97\4\0\0\0\0\0\0\0\0\0031.0\1\0\003"..., 8192) = 
8192
read(3, "f-syntax\0(vim plugin: BNF file s"..., 8192) = 8192
read(3, "d=152\0\rpublic-domain\0\1\0\0032.2\1\0\0032."..., 8192) = 8192
[...]
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGILL +++

emerge --info for the Ultra10:

Portage 2.0.51.22-r2 (default-linux/sparc/sparc64/2005.1, gcc-3.3.6, glibc-2.3.
3.20040420-r2, 2.6.12-gentoo-r9 sparc64)
=================================================================
System uname: 2.6.12-gentoo-r9 sparc64 sun4u
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -O2 -pipe"
CHOST="sparc-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="-mcpu=ultrasparc -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv 
usersandbox"
GENTOO_MIRRORS="http://mirror.gentoo.se http://distfiles.gentoo.org http://www.
ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="sparc arts avi bash-completion berkdb bitmap-fonts crypt cups dlloader eds 
emacs encode esd fbcon foomaticdb fortran gcc64 gdbm gif gstreamer gtk2 hardened 
imlib jpeg kerberos libwww mad mikmod motif mpeg ncurses nls ogg oggvorbis 
opengl pam pdflib perl png python readline sdl spell ssl tcpd truetype truetype-
fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Reproducible: Always
Steps to Reproduce:
Comment 1 Emil Beinroth 2005-08-26 18:00:19 UTC
Does eix '' work?
Comment 2 Karl-Johan Karlsson 2005-08-27 01:46:03 UTC
Yes, it works.
Comment 3 Emil Beinroth 2005-08-27 15:05:00 UTC
I ran into the same problem while testing eix on my shiny new mips-machine.
The bug should be fixed in the new 0.3.0 release of eix:
http://eix.sourceforge.net/ebuilds/eix-0.3.0.ebuild
Can you confirm this?
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2005-08-27 15:33:48 UTC
0.3.0 in cvs, please test 
Comment 5 Matti Bickel (RETIRED) gentoo-dev 2005-08-28 11:29:07 UTC
I had the same prob on ppc, 0.3.0 fixed it. Thanks
Comment 6 Albert Holm 2005-08-28 14:08:04 UTC
0.3.0 seems to work on a blade 100 sparc.
Comment 7 Albert Holm 2005-09-19 01:51:38 UTC
An upgrade to eix-0.3.0-r1 seems to have solved it for the Ultra10 in question 
too.