Hi,

I am trying to build OpenWrt as User Mode Linux on a 64bit machine.
The build fails with the following message:

Do you have any suggestions on how to proceed? On a 32bit machine, the
build is successful.

i486-openwrt-linux-uclibc-gcc -c libc/sysdeps/linux/x86_64/crt1.S -o
lib/crt1.o -include ./include/libc-symbols.h -Wall -Wstrict-prototypes
-fno-strict-aliasing -O2 -pipe -march=i486 -funit-at-a-time -fhonour-
copts -fno-stack-protector -fno-builtin -nostdinc -I./include -I.
-I./libc/sysdeps/linux/x86_64 -fno-asm -DUCLIBC_INTERNAL -Os
-funit-at-a-time -fno-tree-loop-optimize -fno-tree-dominator-opts
-fno-strength-re duce
-I./libpthread/linuxthreads.old/sysdeps/unix/sysv/linux/x86_64
-I./libpthread/linuxthreads.old/sysdeps/x86_64
-I./libpthread/linuxthreads.old/sysdeps/unix/sysv/linux
-I./libpthread/linuxthreads.old/sysdep s/pthread
-I./libpthread/linuxthreads.old -I./libpthread
-I/home/builder/backfire/uml/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/linux-dev/usr/include/
-I/home/builder/backfire/uml/staging_dir/toolchai
n-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/gcc/i486-openwrt-linux-uclibc/4.1.2//include-fixed
-I/home/builder/backfire/uml/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/gcc/i486-openwrt-linux-ucli
bc/4.1.2/include -DNDEBUG -MT lib/crt1.o -MD -MP -MF lib/.crt1.o.dep
-D__ASSEMBLER__ -Wa,--noexecstack -DL_crt1
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[4]: *** [lib/crt1.o] Error 1


--

Robert
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to