[mc1322x] Building mc1322x contiki

Umberto Manzoli ruytenburch at gmail.com
Tue Oct 6 15:07:08 EDT 2009


Hi Jon,
  I had some similar problems some time ago, and I found out it was a
misplacement of (re)locations directives into the linker script.
Would be so kind to check your linker script  and see if all needed code
(and/or included by libraries) is assembled and relocated within 0x0040000
and
0x00400000 + 96K? Which is the output of a size command  (with -A -x
switches) on the produced elf executable?

Bye,
  UM

2009/10/6 Jon Smirl <jonsmirl at gmail.com>

> On Tue, Oct 6, 2009 at 1:53 PM, Mariano Alvira <mar at devl.org> wrote:
> > On Tue, Oct 06, 2009 at 01:45:25PM -0400, Mariano Alvira wrote:
> >> On Tue, Oct 06, 2009 at 01:39:37PM -0400, Jon Smirl wrote:
> >> >
> >> > The problem is rooted at unwind-arm.o which calls abort.o It looks
> >> > like uldivmod can trigger an exception, the exception handling pulls
> >> > in 500K of run-time.
> >> >
> >> > So I need to figure out how to rebuild my libc with exceptions
> >> > handling turned off?
> >>
> >> Maybe we should look at how the oe toolchain is built
> >> w.r.t. exceptions first before trying to rebuild yours...
> >>
> >> -Mar.
> >
> > It looks like my cross is built with
> > "--disable-libunwind-exceptions". It sounds to me like this could be
> > the problem.
>
> That didn't fix it. -fno-exceptions didn't do it either. I've asked
> the Phytec people how to fix it but they are gone for the day.
>
> I'll try building the OE toolchain. I like the Phytec one, it is so
> much simpler to build.
>
> http://www.pengutronix.de/oselas/toolchain/index_en.html
>
>
> >
> > I've attached the gcc-cross_4.3.2.bb that I used for my toolchain.
> >
> > -Mar.
> >
> >
> >
>
>
>
> --
> Jon Smirl
> jonsmirl at gmail.com
>
> _______________________________________________
> mc1322x mailing list
> mc1322x at devl.org
> http://devl.org/cgi-bin/mailman/listinfo/mc1322x
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devl.org/pipermail/mc1322x/attachments/20091006/813cf08a/attachment.htm>


More information about the mc1322x mailing list