[DNX#2006040142000802] [U-Boot-Users] Re: MIPS LE build problems
DENX Support System
support at denx.de
Sat Apr 1 00:20:35 CEST 2006
Hello list,
inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006040142000802] was created:
<snip>
> Hi
>
> > 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.5
>
> > #########################################################################
> > ## MIPS64 5Kc
> > diff --git a/cpu/mips/config.mk b/cpu/mips/config.mk
> > --- a/cpu/mips/config.mk
> > +++ b/cpu/mips/config.mk
> > @@ -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
>
>
> > MIPSFLAGS=$(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
>
>
>
> -------------------------------------------------------
> 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
More information about the U-Boot
mailing list