Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27603 - util-linux breaks at pivot_root.c
Summary: util-linux breaks at pivot_root.c
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-30 09:23 UTC by Mathew Alexander (Marsupilami23)
Modified: 2003-11-18 19:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathew Alexander (Marsupilami23) 2003-08-30 09:23:58 UTC
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
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-29 10:33:20 UTC
Is this still an problem ?  You do not maybe use hardened-gcc ?
Please post output of:

 # emerge info


Thanks.
Comment 2 Mathew Alexander (Marsupilami23) 2003-11-18 19:11:22 UTC
I am no longer having this problem. Bug fixed with newer versions of util-linux. Closing.