[U-Boot-Users] MIPS problems compiling with ELDK 3.1

Wolfgang Denk wd at denx.de
Thu Dec 1 18:20:46 CET 2005


In message <20051201163250.vgooj1zz1cgg40sw at mail.tu-chemnitz.de> you wrote:
> 
> I am not familiar with U-Boot but I would like to compile U-Boot-1.1.3 

1.1.3 is pretty old. Please use current code.

> for a MIPS processor (using the dbau1550 board). The big problem I have 
> is the occuring error while compiling. Unfortunatly, I couldn't find 
> some working advice in your mailing list. I have used the AMD 
> recommended cross compiler toolchain from MontaVista and the from 
> Wolfgang Denk recommended ELDK 3.1 toolchain, neighter works.

I cannot confirm this:

-> cd /tmp
-> tar jxf /opt/tarballs/u-boot-1.1.3.tar.bz2 
-> cd u-boot-1.1.3/
-> export CROSS_COMPILE=mips_4KC-
-> MAKEALL dbau1500
Configuring for dbau1x00 board...
net.c: In function `NetStartAgain':
net.c:598: warning: integer overflow in expression
nfs.c: In function `NfsHandler':
nfs.c:673: warning: integer overflow in expression
nfs.c: In function `NfsStart':
nfs.c:762: warning: integer overflow in expression
   text    data     bss     dec     hex filename
 131448    4448   20148  156044   2618c u-boot
-> mips_4KC-gcc -v
Reading specs from /opt/eldk/3.1.1/usr/bin/../lib/gcc-lib/mips-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --with-newlib --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux --target=mips-linux
Thread model: posix
gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-9)

I get the same results using the older ELDK 3.1, i. e.:

-> mips_4KC-gcc -v
Reading specs from /opt/eldk/3.1/usr/bin/../lib/gcc-lib/mips-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --with-newlib --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux --target=mips-linux
Thread model: posix
gcc version 3.3.3 (DENX ELDK 3.1 3.3.3-8)


> The error which occurs is:
> 
> /cpu/mips/start.S
> /cpu/mips/start.S: Assembler messages:
> /cpu/mips/start.S:246: Error: Cannot branch to undefined symbol.
> /cpu/mips/start.S:251: Error: Cannot branch to undefined symbol.
> /cpu/cpu/mips/start.S:263: Error: Cannot branch to undefined symbol.
> make: *** [cpu/mips/start.o] Error 1
> 
> Could anybody give some hints or advices?

This does not look like an error message issued by ELDK 3.x tools.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Once they go up, who cares where  they  come  down?  That's  not  my
department."                                       - Werner von Braun




More information about the U-Boot mailing list