[mc1322x] Building mc1322x contiki

Jim Paris jim at jtan.com
Tue Oct 6 14:52:01 EDT 2009


Mariano Alvira 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.
> 
> I've attached the gcc-cross_4.3.2.bb that I used for my toolchain.

There's also "-fno-exceptions" which you can try adding while building
various pieces: your application, libc, libstdc++ (if applicable).

-jim



More information about the mc1322x mailing list