Bad register name

Steven Chang steven01 at ms3.hinet.net
Mon Feb 24 16:23:13 UTC 2014


When I built x86_64 cross tool chain by crosstool-ng with uClibc 0.9.30.2 on
Ubuntu 10.04, I got the following Assmebly errors. Then I build uClibc
independent for TARGET_ARCH="x86_64" at menuconfig, I also got the same
error. Has anyone knows how to fix it.

 

AS lib/crt1.o

libc/sysdeps/linux/x86_64/crt1.S: Assembler messages:

libc/sysdeps/linux/x86_64/crt1.S:96: Error: bad register name `%rdx'

libc/sysdeps/linux/x86_64/crt1.S:97: Error: bad register name `%rsi'

libc/sysdeps/linux/x86_64/crt1.S:98: Error: bad register name `%rsp'

libc/sysdeps/linux/x86_64/crt1.S:101: Error: bad register name `%rsp'

libc/sysdeps/linux/x86_64/crt1.S:103: Error: bad register name `%rax'

libc/sysdeps/linux/x86_64/crt1.S:107: Error: bad register name `%rsp'

libc/sysdeps/linux/x86_64/crt1.S:121: Error: bad register name `%rdi'

libc/sysdeps/linux/x86_64/crt1.S:124: Error: bad register name `%rcx'

libc/sysdeps/linux/x86_64/crt1.S:125: Error: bad register name `%r8'

make: *** [lib/crt1.o] Error 1

 

 



More information about the uClibc mailing list