[mc1322x] Building mc1322x contiki
Mariano Alvira
mar at devl.org
Tue Oct 6 13:53:22 EDT 2009
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.
-Mar.
-------------- next part --------------
PR = "r6"
require gcc-${PV}.inc
require gcc-cross4.inc
require gcc-configure-cross.inc
require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
EXTRA_OECONF += " --enable-cheaders=c_std --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}"
More information about the mc1322x
mailing list