I want add 64bit support for openwrt 12.09,but I have some trouble on it.What can I do?
I search it on google,but I found nothing useful, I also find it on OpenWrt Wiki, Then I found followed links :
wiki.openwrt.org/doc/devel/add.new.platform
[wiki.openwrt.org/doc/devel/add.new.device
So I copied Chaos Calmer config files (target/linux/x86/64) in to build folder,and It was very smooth at the beginning.
Then the erroe occoured,seems like using the wrong toolchain, How can I do next?
Here are the Error message
sed -n "s/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*\$/#define \1 \2/p" libpthread/nptl/sysdeps/unix/sysv/linux/gen_unwindbuf.s > libpthread/nptl/sysdeps/unix/sysv/linux/unwindbuf.h
awk -f ./extra/scripts/gen-as-const.awk libpthread/nptl/sysdeps/x86_64/tcb-offsets.sym > libpthread/nptl/sysdeps/x86_64/gen_tcb-offsets.c
i486-openwrt-linux-uclibc-gcc -c libpthread/nptl/sysdeps/x86_64/gen_tcb-offsets.c -o libpthread/nptl/sysdeps/x86_64/gen_tcb-offsets.s -include ./include/libc-symbols.h -Wall -Wstrict-prototypes -Wstrict-aliasing -O2 -pipe -march=athlon64 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -fno-stack-protector -nostdinc -I./include -I./include -I. -I./libc/sysdeps/linux -I./libc/sysdeps/linux/x86_64 -Os -funit-at-a-time -fmerge-all-constants -fstrict-aliasing -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -I./libpthread/nptl -I./libpthread/nptl -I./libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/ -I./libpthread/nptl/sysdeps/unix/sysv/linux/x86_64 -I./libpthread/nptl/sysdeps/x86_64 -I./libpthread/nptl/sysdeps/x86_64 -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/pthread -I./libpthread/nptl/sysdeps/pthread/bits -I./libpthread/nptl/sysdeps/generic -I./ldso/ldso/x86_64 -I./ldso/include -I./libc/sysdeps/linux/common -I/home/user/openwrt/build_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/linux-dev/include/ -isystem /home/user/openwrt/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/i486-openwrt-linux-uclibc/4.6.3/include-fixed -isystem /home/user/openwrt/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/i486-openwrt-linux-uclibc/4.6.3/include -DNDEBUG -D__USE_STDIO_FUTEXES__ -S -MT libpthread/nptl/sysdeps/x86_64/gen_tcb-offsets.s -MD -MP -MF libpthread/nptl/sysdeps/x86_64/.gen_tcb-offsets.s.dep
libpthread/nptl/sysdeps/x86_64/gen_tcb-offsets.c: In function 'dummy':
libpthread/nptl/sysdeps/x86_64/gen_tcb-offsets.c:19:79: error: 'tcbhead_t' has no member named 'rtld_savespace_sse'
make[4]: *** [libpthread/nptl/sysdeps/x86_64/gen_tcb-offsets.s] Error 1
make[4]: Leaving directory `/home/user/openwrt/build_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2'
make[3]: *** [/home/user/openwrt/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.uclibc_headers_installed] Error 2
make[3]: Leaving directory `/home/user/openwrt/toolchain/uClibc/headers'
make[2]: *** [toolchain/uClibc/headers/install] Error 2
make[2]: Leaving directory `/home/user/openwrt'
make[1]: *** [/home/user/openwrt/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/home/user/openwrt'
make: *** [prepare] Error 2
Hope experts come out pointing,and I'd very appreciate that.
(Last edited by jbccjb on 18 Feb 2017, 22:08)