Re: Bare metal ARM Cross compiler for arm-none-eabi target without libunwind?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>I suspect (but you'll have to check) that this is because _divdi3 is
>compiled with exceptions, and this is indeed because division by zero
>might throw.  The simplest fix is to compile it without exceptions.
>The correct fix is to make unwinding work on your platform.

I found this on gcc-patches from 2011-11, maybe it does solve something also for ARM?

"[patch, ia64, libgcc] Patch to fix libunwind build on IA64"
http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01926.html

The patch is basically modding Makefile.in as:

 # Build LIBUNWIND.
 
-c_flags := -fexceptions
+c_flags := -fno-exceptions

I though think my patch proposal could be interesting though to be able to control it from configure.

Thanks &Best Regards/Fredrik



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux