All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Problems with binutils 2.15
@ 2004-05-31  4:23 Karim Yaghmour
  2004-05-31  9:16 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Karim Yaghmour @ 2004-05-31  4:23 UTC (permalink / raw)
  To: u-boot

I've been playing around trying to get U-Boot 1.1.1 (and previous
versions) to build with the following toolchain:
- binutils 2.15
- gcc 3.3.2
- glibc 2.3.2

This toolchain was built for a PPC target with no particular CPU
flags or CPU patches. Here's what I'm doing:
$ cd u-boot-1.1.1
$ make TQM860L_config
$ make CROSS_COMPILE=powerpc-linux-

Now, this starts to build and goes far enough, but somehow LD
actually seg faults somewhere down the line. I've copied the
command line that fails in Make directly to the command line and
I get this (the output is somewhat edited for the form, but it's
all there):
----------------------------------------------------------------------
$ UNDEF_SYM=`powerpc-linux-objdump -x lib_generic/libgeneric.a
board/tqm8xx/libtqm8xx.a cpu/mpc8xx/libmpc8xx.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 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 /home/.../u-boot-1.1.1/board/tqm8xx/u-boot.lds
-Ttext 0x40000000  -n $UNDEF_SYM cpu/mpc8xx/start.o \
 >                 --start-group lib_generic/libgeneric.a board/tqm8xx/libtqm8xx.a
cpu/mpc8xx/libmpc8xx.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 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
--no-warn-mismatch -L /home/.../tools/lib/gcc-lib/powerpc-linux/3.3.2/nof -lgcc --end-group \
 >                 -Map u-boot.map -o u-boot

Segmentation fault
----------------------------------------------------------------------

If run from the makefile, this would come right after:
----------------------------------------------------------------------
...
a - usb_kbd.o
a - usb_storage.o
a - virtex2.o
a - xilinx.o
a - circbuf.o
make[1]: Leaving directory `/home/.../u-boot-1.1.1/common'
----------------------------------------------------------------------

I've tried 0.4.0 and 1.0.0 and get very similar behavior.

Anyone see this before?

Karim
-- 
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || karim at opersys.com || 1-866-677-4546

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-01  6:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-31  4:23 [U-Boot-Users] Problems with binutils 2.15 Karim Yaghmour
2004-05-31  9:16 ` Wolfgang Denk
2004-05-31 12:43   ` Karim Yaghmour
2004-06-01  6:52   ` Yuli Barcohen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.