All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aras Vaichas <arasv@magellan-technology.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] objcopy stalled, large binary size for sc520 based board
Date: Wed, 29 Sep 2004 13:15:53 +1000	[thread overview]
Message-ID: <415A28E9.7050102@magellan-technology.com> (raw)

I have the same problem as Sreedhar Payavala had back in June.

I am porting sc520_cdp and sc520_spunk to my sc520 based board. I had several 
issues relating to differences between versions of gcc and ld. I fixed them and 
then got stuck for a while with this ld error:

ld: section .data [00000000387d4de4 -> 00000000387d5a76] overlaps section 
.rodata.str1.1 [00000000387d4de4 -> 00000000387d9aca]
ld: section .realmode [00000000387d5a77 -> 00000000387d5bdc] overlaps section 
.rodata.str1.1 [00000000387d4de4 -> 00000000387d9aca]
ld: section .bios [00000000387d5bdd -> 00000000387d611a] overlaps section 
.rodata.str1.1 [00000000387d4de4 -> 00000000387d9aca]
make: *** [u-boot] Error 1

I added the command line argument --no-check-sections to LDFLAGS in config.mk 
and this problem went away (perhaps).

Now I have a problem with objcopy, objcopy never ends and uses massive amounts 
of memory. If I ctrl-c, and check the output files I see:

rwxrwxr-x    1 root  root  594727 Sep 29 13:12 u-boot

I am using ld version "GNU ld version 2.14.90.0.8 20040114" and gcc version 
"gcc (GCC) 3.3.4 20040623"

If anyone can help, it would be appreciated.

regards,

Aras Vaichas

             reply	other threads:[~2004-09-29  3:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-29  3:15 Aras Vaichas [this message]
2004-09-29  5:24 ` [U-Boot-Users] objcopy stalled, large binary size for sc520 based board Wolfgang Denk

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=415A28E9.7050102@magellan-technology.com \
    --to=arasv@magellan-technology.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.