From mboxrd@z Thu Jan 1 00:00:00 1970 From: DENX Support System Date: Sat, 1 Apr 2006 00:20:35 +0200 Subject: [DNX#2006040142000802] [U-Boot-Users] Re: MIPS LE build problems Message-ID: <1143843635.570727.856500416@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2006040142000802] was created: > 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 Your U-Boot support team