A ticket which seems to cover the same problem: 
https://ghc.haskell.org/trac/ghc/ticket/11829


—Adam

> On 4 Jan 2019, at 16:50, Bas van Dijk <v.dijk....@gmail.com> wrote:
> 
> On Fri, 4 Jan 2019 at 14:15, Gabor Greif <ggr...@gmail.com> wrote:
>> maybe some DWARF unwind tables are not correctly installed in OS X?
> 
> Hi Gabor, thanks, I will look into that.
> 
>> Do intra-C++ exception catching work in your example?
> 
> Yes, I have a C++ executable foo[1] that links with libfoo that
> correctly catches the exception:
> 
>> $(nix-build --no-link -A foo)/bin/test
>  ...
>  Whoops!
> 
> Since it's working in pure C++ I suspect it has something to do with
> how GHC calls either the C++ compiler or linker.
> 
> Bas
> 
> [1] 
> https://github.com/basvandijk/darwin-cxx-exception-bug/blob/master/foo/test.cpp
> _______________________________________________
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to