This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Samsung SNDS warning....bss not in segment


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]