First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 114628
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefan Schweizer <genstef@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Plaza <daniel.plaza.espi@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
workaround-bug114628.patch Workaround for the bug. patch Emil Beinroth 2006-02-09 09:46 0000 441 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 114628 depends on: Show dependency tree
Bug 114628 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-06 08:23 0000
I have updated gcc to 3.4.4-r1 in my alpha and I have compiled app-portage/eix
0.3.0-r2. When I run "update-eix" I get:

# update-eix 
Reading Portage settings ..
Received SIGSEGV - you probably found a bug in eix.
Please post the output of eix -V along with your bugreport.
Sorry for the inconvenience.

The output of eix -V is:

# eix -V
eix 0.3.0 (gcc-3.4.4, alpha-unknown-linux-gnu)

If I compile eix without -O2 it works. Also If I compile eix with debug (and
-O2), "update-eix" and "eix" work fine so I can't debug them.

My emerge info:

Portage 2.0.51.22-r3 (default-linux/alpha/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.12.5 alpha)
=================================================================
System uname: 2.6.12.5 alpha EV6
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=ev6 -pipe"
CHOST="alpha-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="-mieee -O2 -mcpu=ev6 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="alpha arts bash-completion berkdb bitmap-fonts bzip2 crypt cups eds encode
expat font-server foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg
kde ldap libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg
oggvorbis opengl oss pam pcre pdflib perl pic png python qt quicktime readline
sdl spell ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Emil Beinroth 2005-12-08 11:26:27 0000 -------
Does app-portage/eix-0.5.0 work?

------- Comment #2 From Daniel Plaza 2005-12-09 03:46:39 0000 -------
  app-portage/eix-0.5.0 doesn't work if it's compiled with -O2. If I remove -O2
it  works fine.

------- Comment #3 From Daniel Plaza 2006-02-08 09:38:54 0000 -------
  Same problem with eix-0.5.1-r1.

------- Comment #4 From Emil Beinroth 2006-02-09 09:46:20 0000 -------
Created an attachment (id=79340) [edit]
Workaround for the bug.

I've tested eix on a alpha-box of a friend, and I can't find anything wrong
with the code.
But this patch somehow removes the segfault.

------- Comment #5 From Daniel Plaza 2006-02-09 11:56:39 0000 -------
(In reply to comment #4)

Thanks, with that patch it works ok, but I can understand why. 

------- Comment #6 From Daniel Plaza 2006-02-09 11:56:39 0000 -------
(In reply to comment #4)

Thanks, with that patch it works ok, but I can understand why. ¿Only moving a
variable declaration can make it work? ¿Maybe GCC problem?

------- Comment #7 From Georg Lippold 2006-02-20 14:23:09 0000 -------
the patch doesn't work for me on 0.3.0. 

emerge info:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.10GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -fomit-frame-pointer -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -fomit-frame-pointer -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_US@euro"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac acl acpi aim alsa apache2 apm arts audiofile avi bash-completion
berkdb bitmap-fonts bluetooth bzip2 bzlib cdb cdr crypt cscope cups curl dga
divx4linux dlloader dmx dts dv dvb dvd dvdread eds emboss encode esd exif expat
fam ffmpeg flac font-server foomaticdb fortran ftp gcj gd gdbm gif glut gnome
gnutls gpm gstreamer gtk gtk2 guile hal hardened howl i8x0 icq idn imagemagick
imap imlib ipv6 jabber java jpeg junit kde lcms ldap libg++ libwww live
lm_sensors mad mbox memlimit mhash mikmod mime mmap mmx mmxext mng mono motif
mp3 mpeg mpi mppe-mppc msn ncurses nis nls nptl offensive ogg oggvorbis opengl
oscar oss pam pcmcia pcre pdflib perl pic pie png pnp portaudio posix postgres
ppds python qt quicktime readline real samba sasl scanner sdl slang sockets sox
spell sse sse2 ssl svg svga sysfs tcpd tetex tga theora threads tiff truetype
truetype-fonts trusted type1-fonts udev unicode unsupported_8bit usb v4l vcd
vorbis wifi win32codecs wmf wxwindows xanim xface xine xinerama xml2 xmms xmvc
xosd xpm xv xvid yahoo zeo zlib video_cards_i915 userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS

------- Comment #8 From Georg Lippold 2006-02-23 07:54:20 0000 -------
I played a bit with gcc options and found out that eix doesn't segfault if
compiled only with CFLAGS=CXXFLAGS="-O2 -pipe". If I compile it with
"-march=pentium-m" however, it segfaults regularly. Maybe really a bug in
gcc-3.4.4?

------- Comment #9 From Georg Lippold 2006-02-23 07:59:35 0000 -------
I was wrong, it is "-fomit-frame-pointer" that causes the issue.

------- Comment #10 From Georg Lippold 2006-02-23 08:09:03 0000 -------
Sorry for spamming you. I was wrong again. It works if compiled with "-O2" but
without it, it segfaults.

------- Comment #11 From Emil Beinroth 2006-02-23 13:55:29 0000 -------
(In reply to comment #6)
> the patch doesn't work for me on 0.3.0. 

Please try the ~x86 version of eix.
PS: This bug is for alpha, you have x86.

------- Comment #12 From Jeroen Roovers 2006-03-15 15:55:14 0000 -------
No bugs for 0.5.1-r2 outstanding and it WORKSFORME... Might I suggest we move
for stabilizing a 0.5.1 ebuild?

------- Comment #13 From Stefan Schweizer 2006-03-15 16:22:18 0000 -------
yes, jer please mark stable if you have a stable system.

------- Comment #14 From Stefan Schweizer 2006-03-21 13:07:36 0000 -------
x86 team: please stabilize 0.5.1-r2

------- Comment #15 From Stefan Schweizer 2006-03-21 13:36:49 0000 -------
arches please test app-portage/eix-0.5.1-r2 and mark stable

------- Comment #16 From Matthias Langer 2006-03-22 03:55:28 0000 -------
I've just installed eix-0.5.1-r2 for testing against x86. I've done eix-sync
and about 15 searches with different options (-S -C -r ...), and everthing
seems to work as expected.

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2,
2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 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-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig colission-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aalib alsa apm audiofile avi berkdb bitmap-fonts
bonobo bzip2 bzlib cairo cdr cli crypt css ctype cups curl dba dbus divx4linux
dri dts dv dvd dvdr dvdread emboss encode evo exif expat fam fame fastbuild
ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut
gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick
imlib ipv6 java jpeg junit lcms libg++ libwww mad memlimit mhash mikmod mmx
mmxext mng motif mp3 mpeg nautilus ncurses nls nptl nsplugin nvidia ogg
oggvorbis openal opengl pam pcre pdflib perl plotutils png posix python
quicktime readline real ruby sdl session simplexml slang soap sockets speex
spell spl sqlite sse ssl subtitles svga tcltk tcpd tetex theora tiff tokenizer
truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs wma
xine xml xml2 xmms xsl xv xvid zlib linguas_de linguas_en userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

------- Comment #17 From Jeroen Roovers 2006-03-22 14:09:41 0000 -------
You seem to have forgotten to actually CC the arches.

------- Comment #18 From Jeroen Roovers 2006-03-22 14:10:34 0000 -------
And now I was having the same problem. 8-)

------- Comment #19 From Jeroen Roovers 2006-03-22 14:49:44 0000 -------
Forgot to add ppc-macos.

Stable on hppa!

------- Comment #20 From Andrej Kacian (RETIRED) 2006-03-22 16:18:26 0000 -------
I've been using 0.5.1-r2 since it was added to portage, and it looks good.
Stable on x86.

------- Comment #21 From Luis Medinas (RETIRED) 2006-03-22 16:43:02 0000 -------
stable on amd64.

------- Comment #22 From Joe Jezak 2006-03-24 22:47:55 0000 -------
Hansmi has already marked this ppc stable.

------- Comment #23 From Fabian Groffen 2006-03-24 23:08:45 0000 -------
ppc-macos stable

------- Comment #24 From Gustavo Zacarias (RETIRED) 2006-03-27 16:25:06 0000 -------
sparc stable.

------- Comment #25 From Thomas Cort (RETIRED) 2006-04-01 05:29:53 0000 -------
I tested app-portage/eix-0.5.1-r2 on alpha. It compiles and works. Alpha team,
please add the alpha keyword.

# emerge --info
Portage 2.0.54 (default-linux/alpha/2006.0, gcc-3.3.2, glibc-2.3.5-r3, 2.6.15.1
alpha)
=================================================================
System uname: 2.6.15.1 alpha EV56
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 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.15.92.0.2-r10
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
CHOST="alpha-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="-mieee -O2 -mcpu=ev56 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict test"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo
http://gentoo.cites.uiuc.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="alpha X alsa apache2 arts berkdb bitmap-fonts bzip2 cli crypt ctype cups
dba dri eds encode esd expat fastbuild foomaticdb force-cgi-redirect fortran
ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww
mad memlimit mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam
pcre pdflib perl png posix python qt quicktime readline sdl session simplexml
soap sockets spell spl ssl symlink tcpd tokenizer truetype truetype-fonts
type1-fonts udev userlocales vorbis xml xmms xsl xv zlib linguas_en
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL

------- Comment #26 From Markus Rothe 2006-04-01 05:50:03 0000 -------
stable on ppc64

------- Comment #27 From Stefan Schweizer 2006-04-02 00:22:52 0000 -------
thanks kloeri, alpha done, all done

First Last Prev Next    No search results available      Search page      Enter new bug