[U-Boot-Users] Error compiling/linking

Speed ktdann at gmail.com
Tue Mar 29 03:58:39 CEST 2005


I'm trying to compile latest U-boot I downloaded from CVS using the
cross compiler I made using crosstool, but getting error without any
print outs that I can work with.

First, this is what I'm using to compile,
Redhat 9.0
gcc-3.2.3
glibc-2.2.5
As for u-boot version ? I'd guess u-boot-1.1.2+alpha (its fresh from
CVS I got today)

make Sandpoint8245_config
make CROSS_COMPILE=powerpc-linux- all

Below is where the error actually occured.
===============START==================
<No error above this line>
a - virtex2.o
a - xilinx.o
make[1]: Leaving directory `/tmp/u-boot-cvs/common'
UNDEF_SYM=`powerpc-linux-objdump -x lib_generic/libgeneric.a
board/a3000/liba3000.a cpu/mpc824x/libmpc824x.a lib_ppc/libppc.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a
drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a |sed  -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
        powerpc-linux-ld -Bstatic -T
/tmp/u-boot-cvs/board/a3000/u-boot.lds -Ttext 0xFFF00000  -n
$UNDEF_SYM cpu/mpc824x/start.o \
                --start-group lib_generic/libgeneric.a
board/a3000/liba3000.a cpu/mpc824x/libmpc824x.a lib_ppc/libppc.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a
drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a --end-group -L
/opt/crosstool/powerpc-linux/gcc-3.2.3-glibc-2.2.5/lib/gcc-lib/powerpc-linux/3.2.3/nof
-lgcc \
                -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
===============END=====================

As you can see, no real helpful message here.
If only there was.. I could have solved it :)

BTW, I was able to compile this using much older compiler (gcc-2.95.3)
so.. I guess its not a u-boot issue, but having gone thru the
disscusions, I've found only one instance of such error reported,
(without any reply) so I figured I'd post it here for any thoughts.

If I've missed any info, let me know.. 
thanks 

PS. I'm getting same error with the u-boot-1.1.2 package also.

-- 
Daniel




More information about the U-Boot mailing list