When eix is compiled using the patched hardened gcc, update-eix can't run (see below). When compiled with the vanilla-gcc it works. Reproducible: Always Steps to Reproduce: Knoppix / # gcc-config -l [1] i686-pc-linux-gnu-3.3.6 [2] i686-pc-linux-gnu-3.3.6-hardenednopie [3] i686-pc-linux-gnu-3.3.6-hardenednopiessp [4] i686-pc-linux-gnu-3.3.6-hardenednossp [5] i686-pc-linux-gnu-3.3.6-vanilla [6] i686-pc-linux-gnu-3.4.4 * [7] i686-pc-linux-gnu-3.4.4-hardenednopie [8] i686-pc-linux-gnu-3.4.4-hardenednopiessp [9] i686-pc-linux-gnu-3.4.4-hardenednossp [10] i686-pc-linux-gnu-3.4.4-vanilla Knoppix / # emerge eix ... Knoppix / # update-eix Reading Portage settings .. Building database (/var/cache/eix) from scratch .. Received SIGSEGV - you probably found a bug in eix. Please post the output of eix -V along with your bugreport. Sorry for the inconvenience. Knoppix / # gcc-config 10 * Switching native-compiler to i686-pc-linux-gnu-3.4.4-vanilla ... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * # source /etc/profile Knoppix / # env-update && source /etc/profile >>> Regenerating /etc/ld.so.cache... Knoppix / # emerge eix ... Knoppix / # update-eix Reading Portage settings .. Building database (/var/cache/eix) from scratch .. [0] /usr/portage/ (cache: flat) Reading 100% [1] /usr/local/portage (cache: none) Reading 100% Applying masks .. Database contains 10282 packages in 144 categories. Knoppix / # Actual Results: SEGV Expected Results: !SEGV Knoppix / # emerge info Portage 2.0.53_rc7 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r3, 2.6.12 i686) ================================================================= System uname: 2.6.12 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.0_pre10 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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.20-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-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="" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl adns apache2 bash-completion berkdb bzip2 crypt curl curl-wrappers expat ftp hardened hardened-php imagemagick imlib jpeg maildir mysql ncurses nptl nptlonly pam pcre perl pic png posix prelude python readline samba sockets ssl tcpd unicode vhosts x86 xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
You didn't say which version of eix you're using.
I'm sorry. I'm using the eix-ebuild 0.5.0_pre1, eix itself claims to be 0.5.0_beta.
Can you do a strace update-eix 2>&1 | tail -n 50, and provide the output please?
Please try without ssp enabled. gcc-config -l ; gcc-config foo-hardenednossp I've not looked at the eix code but I think it's written in c++; ssp-all has been known to have some problem on glibc with code that uses vectors.
Hello, sorry for waiting that long. I had to get a vmware for myself since the original image is already deployed. OK, solar's suggestion works (of course ;-) ). I will post an attachment with the strace.
Created attachment 73487 [details] last 50 lines of the strace
Just tried to repeat this with gcc-3.4.4-r1/hardened and eix-0.5.0-r1, no problem here. Resolving FIXED - Marcel, if the problem still occurs for you with the latest versions please reopen.