This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.2.2 arm-linux-gnueabi: c++ exceptions handling?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]