public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Nick Garnett <nickg@ecoscentric.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: RandyLin@mxic.com.tw, ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Samsung SNDS warning....bss not in segment
Date: Fri, 07 Nov 2003 18:09:00 -0000	[thread overview]
Message-ID: <m37k2cw4y6.fsf@miso.calivar.com> (raw)
In-Reply-To: <1068215750.6577.3.camel@hermes>

Gary Thomas <gary@mlbassoc.com> writes:

> On Thu, 2003-11-06 at 19:28, RandyLin@mxic.com.tw wrote:
> > I got a warning when compile redboot for Samsung SNDS
> > BFD:/redboot_snds_install/redboot.img:warning:allocated section '.bss' not
> > in segment
> > I didn't modify any code.
> > what it means? how to fix it?
> 
> It means that your image uses more memory than is available on
> your platform.  Probably a very bad thing, as the best that you
> could do is adjust your configuration somewhat (disable some
> packages or features that you don't need, make buffers smaller, etc).
> I say "bad thing" because even if you get it to fit, there probably
> won't be much memory left for RedBoot to do anything useful on your
> platform.

While that may be true, I suspect that this is just an instance of a
known bug in the toolchain. This is happening when objcopy is being
used to generate redboot.img an ELF file with the debug info stripped
out.  The message is not seen when linking to create redboot.elf or
generating redboot.srec and redboot.bin from it.

This bug is actually entirely benign, it is only a warning,
redboot.img gets generated correctly. Something in the BFD library is
just confused and the conditions for generating this message are
wrong. It should go away with newer versions of binutils.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

  reply	other threads:[~2003-11-07 18:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07  2:30 RandyLin
2003-11-07 14:35 ` Gary Thomas
2003-11-07 18:09   ` Nick Garnett [this message]
2003-11-07 18:17     ` Gary Thomas

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=m37k2cw4y6.fsf@miso.calivar.com \
    --to=nickg@ecoscentric.com \
    --cc=RandyLin@mxic.com.tw \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=gary@mlbassoc.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).