Using flags: -march=i686 -O3 -pipe and/or -march=i686 -O2 -pipe upgrading util-linux from version 2.11z-r4 to 2.11z-r6 and gcc version 3.2.3-r1 I'm getting this error: gcc -march=i686 -O3 -pipe -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -march=i686 -O3 -pipe -s pivot_root.c -o pivot_root pivot_root.c: In function `main': pivot_root.c:20: invalid register name `r0' for register variable pivot_root.c:20: invalid register name `r1' for register variable pivot_root.c:20: invalid register name `r0' for register variable pivot_root.c:20: unknown register name `lr' in `asm' pivot_root.c: In function `pivot_root': pivot_root.c:20: invalid register name `r0' for register variable pivot_root.c:20: invalid register name `r1' for register variable pivot_root.c:20: invalid register name `r0' for register variable pivot_root.c:20: unknown register name `lr' in `asm' make[1]: *** [pivot_root] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/util-linux-2.11z-r6/work/util-linux-2.11z/mount' make: *** [all] Error 1 !!! ERROR: sys-apps/util-linux-2.11z-r6 failed. !!! Function src_compile, Line 100, Exitcode 2 !!! emake failed
Is this still an problem ? You do not maybe use hardened-gcc ? Please post output of: # emerge info Thanks.
I am no longer having this problem. Bug fixed with newer versions of util-linux. Closing.