[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with catching exceptions on ARM
From: |
David Chisnall |
Subject: |
Re: Problem with catching exceptions on ARM |
Date: |
Fri, 31 Jan 2014 13:55:21 +0000 |
Hi Mathias,
Can you try using a very recent trunk clang? Support for ARM EABI exceptions
has been present in clang for a while, but it was only enabled by default a few
days ago. Without the unwind tables, the runtime will abort when you try to
throw an exception because it can't work out how to unwind the stack.
David
On 31 Jan 2014, at 13:44, Mathias Bauer <mathias_bauer@gmx.net> wrote:
> Dear list members,
>
> I'm currently porting a mid-size Objective-C library that usually runs on Mac
> OS and iOS to GNUstep/Linux. After several weeks of work I'm now a happy
> camper on my Ubuntu/X86 system, but switching to OpenSuse/ARMv7 brought up a
> new problem that I couldn't solve even after several days.
>
> I'm using the LLVM 3.3 Release Package from OpenSuse (official repo) and the
> libobjc2 sources from the GNUstep repo
> (http://svn.gna.org/svn/gnustep/libs/libobjc2/trunk).
>
> Both where used for building GNUstep (I'm only using base as I don't have any
> UI).
>
> The problem is that with this combination no exceptions are caught in my
> code. Means: try/catch doesn't work, raising an exception will always abort
> the program. The same code works fine on Ubuntu/X86.
>
> Does this ring a bell for somebody?
>
> Regards,
> Mathias
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep