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.
Does app-portage/eix-0.5.0 work?
app-portage/eix-0.5.0 doesn't work if it's compiled with -O2. If I remove -O2 it works fine.
Same problem with eix-0.5.1-r1.
Created attachment 79340 [details, diff] 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.
(In reply to comment #4) Thanks, with that patch it works ok, but I can understand why.
(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?
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
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?
I was wrong, it is "-fomit-frame-pointer" that causes the issue.
Sorry for spamming you. I was wrong again. It works if compiled with "-O2" but without it, it segfaults.
(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.
No bugs for 0.5.1-r2 outstanding and it WORKSFORME... Might I suggest we move for stabilizing a 0.5.1 ebuild?
yes, jer please mark stable if you have a stable system.
x86 team: please stabilize 0.5.1-r2
arches please test app-portage/eix-0.5.1-r2 and mark stable
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
You seem to have forgotten to actually CC the arches.
And now I was having the same problem. 8-)
Forgot to add ppc-macos. Stable on hppa!
I've been using 0.5.1-r2 since it was added to portage, and it looks good. Stable on x86.
stable on amd64.
Hansmi has already marked this ppc stable.
ppc-macos stable
sparc stable.
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
stable on ppc64
thanks kloeri, alpha done, all done