MIPS LE build problems
Hello list,
inside the automatic U-Boot patch tracking system a new ticket [DNX#2006040142000802] was created:
<snip>
Quoted 46 lines
Hi
Quoted 1 line
I have attached the patch.
Thanks.
Few comments, though.
I use my own toolchain, built with the crosstool and a few patches.
binutils: 2.15
gcc: 3.3.5
glibc: 2.3.5cpu/mips/config.mk v=$(shell \ · line 24
Quoted 7 lines
#########################################################################
## MIPS64 5Kccpu/mips/config.mk +0
-0@@ -24,9 +24,17 @@ v=$(shell \ mips-linux-as --version|grep "GNU assembler"|awk '{print $$3}'|awk -F . '{print $$2}')Should this be, like:
$(CROSS_COMPILE)as --version|grep "GNU assembler"|awk '{print $$3}'|awk -F . '{print $$2}')Because my compiler is: mipsel-linux-gcc
cpu/mips/config.mk v=$(shell \ · line 30
Quoted 8 lines
cpu/mips/config.mk +2
-2MIPSFLAGS=$(shell \ if [ "$v" -lt "14" ]; then \ - echo "-mcpu=4kc -EB -mabicalls"; \ + echo "-mcpu=4kc"; \ else \ - echo "-march=4kc -mtune=4kc -Wa,-mips_allow_branch_to_undefined -EB -mabicalls"; \ + echo "-march=4kc -mtune=4kc -Wa,-mips_allow_branch_to_undefined"; \ fi)The -mips_allow_branch_to_undefined does not work for me :-) I used this patch:
http://sources.redhat.com/ml/binutils/2004-04/msg00476.html
And I have to use -allow_branch_to_undefined. Anybody knows why?BR,
Matej
Quoted 12 lines
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
</snip>
Your U-Boot support team