All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karim Yaghmour <karim@opersys.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problems with binutils 2.15
Date: Mon, 31 May 2004 00:23:01 -0400	[thread overview]
Message-ID: <40BAB325.1050603@opersys.com> (raw)

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

             reply	other threads:[~2004-05-31  4:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-31  4:23 Karim Yaghmour [this message]
2004-05-31  9:16 ` [U-Boot-Users] Problems with binutils 2.15 Wolfgang Denk
2004-05-31 12:43   ` Karim Yaghmour
2004-06-01  6:52   ` Yuli Barcohen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40BAB325.1050603@opersys.com \
    --to=karim@opersys.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.