This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.2.2 arm-linux-gnueabi: c++ exceptions handling?
- From: "Martin Guy" <martinwguy at yahoo dot it>
- To: "Sergei Poselenov" <sposelenov at emcraft dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 26 Sep 2008 14:20:43 +0100
- Subject: Re: GCC 4.2.2 arm-linux-gnueabi: c++ exceptions handling?
- References: <48DCCC2A.50907@emcraft.com>
On 9/26/08, Sergei Poselenov <sposelenov@emcraft.com> wrote:
> Hello all,
>
> I've built the above cross-compiler and ran the GCC testsuite.
> Noted a lot of c++ tests failed with the same output:
> ...
> terminate called after throwing an instance of 'int'
> terminate called recursively
Are you configuring cross glibc with --disable-libunwind-exceptions?
This has been necessary for all ARM EABI cross-compilers I've built so far.
> Could someone having the 4.2 release series compiler configured for
> ARM EABI target try this simple test:
I just tried it with the native Debian ARM EABI compiler: gcc-4.2.4,
binutils-2.18.0.20080103, glibc-2.7 and it silently exits(0).
FWIW, their g++-4.2 is also configured with explicit
--disable-sjlj-exceptions, although that seems to be the default.
M