[mc1322x] Building mc1322x contiki

Jon Smirl jonsmirl at gmail.com
Tue Oct 6 15:01:46 EDT 2009


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



More information about the mc1322x mailing list