C++ exceptions in freebsd-arm doesn't seem to work

Adrian Chadd adrian at freebsd.org
Sat Jun 7 16:07:43 UTC 2014


> Sadly, all I can do is confirm what you say:  C++ exceptions don't work
> on ARM EABI, not with clang and not with gcc.  The only combo that works
> is gcc and OABI, but with that combo you lose hardware floating point.
>
> There are rumours that this may be fixed in clang 3.5, but we apparently
> can't import 3.5 because it can't be bootstrapped using gcc 4.2.  I
> haven't had time yet to learn how to build clang 3.5 out-of-tree to
> confirm that exceptions work there.
>

If only we had a way to tell our build system to build the in-src-tree
compiler suite using an external compiler toolchain. That'd make those
problems go away.



-a


More information about the freebsd-arm mailing list