When I try to merge reiserfsprogs (any version), gcc reaches the misc.c file, then dies on line 192 with: misc.c: In function 'bad_stat64': misc.c:192: error: can't find a register in class 'BREG' while reloading 'asm' Reproducible: Always Steps to Reproduce: 1. Use hardened stage1 tarball with my USE flags below 2. Build the system up (had same error in modutils, was instructed to install another package for that) 3. emerge reiserfsprogs and there you go. Actual Results: misc.c: In function 'bad_stat64': misc.c:192: error: can't find a register in class 'BREG' while reloading 'asm' Expected Results: Compiled and merged. Gentoo Base System version 1.4.15 Portage 2.0.50-r7 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.24-xfs- r3) ================================================================= System uname: 2.4.24-xfs-r3 i586 Pentium 75 - 200 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i586 -fomit-frame-pointer -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" 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="-O2 -march=i586 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aalib acl acpi apm berkdb bidi caps cjk crypt cscope curl directfb doc emacs emacs-w3 fam fbcon firebird freetds freewnn gd gdbm gif ginac gmp gpm guile hardened hardenedphp icc icc-pgo imap informix innodb java jikes jpeg junit kerberos krb4 ldap leim libg++ libwww mbox mcal memlimit mpi mysql ncurses netcdf nls nocardbus odbc offensive pam perl pic pie png python readline sasl slang snmp spell sqlite sse ssl svg tcpd tetex threads tiff unicode vhosts wmf x86 zeo zlib ~x86"
More of a toolchain error than base-system or hardened. There are several people from hardened on the toolchain team, though, so I won't CC either hardened or base-system to save everyone a few mails. This bug is also similar to #50127, and memtest86 also fails with this same error. Seems to be a commonality that's popping up.
Ron, What happening here is that the toolchian your using will not add inverse logic when filter-flags -fPIC is used. If you upgrade your gcc to >=3.3.3-r6 this error will go away for you. I've tested and it works if using a current stable toolchain so please update that before merging reiserfsprogs. Marking bug as invalid.