[cfe-dev] libc++abi on linux

Ben Pope benpope81 at gmail.com
Mon Jul 9 00:52:42 PDT 2012


On Monday, July 09, 2012 03:42 PM, Richard Smith wrote:
> I believe that should be fine; all unwind.h implementations should be
> essentially equivalent.

It would be real nice to know if it's been tested against any specific 
configuration, though.

> The problem which libc++abi + Clang faces seems
> to be that the unwind.h provided by Clang is simply missing a bunch of
> the declarations that libc++abi expects it to contain. It tries to
> #include_next some other unwind.h to solve that problem, but that
> doesn't work so well if there's no system unwind.h and libunwind isn't
> installed.

Yes, it seems strange that these things don't work together.

> I don't know if there's a good reason why Clang's header is
> missing things which libc++abi uses, like _Unwind_Exception.

Is it because on Darwin, the unwind stuff is part of the platform, but 
on Linux it seems to be part of gcc?

Ben




More information about the cfe-dev mailing list