[llvm-dev] Clang 3.8 can't compile libunwind 3.9
Renato Golin via llvm-dev
llvm-dev at lists.llvm.org
Wed Nov 16 02:06:19 PST 2016
So, I just realised clang 3.8 comes with an unwind.h which doesn't
have _URC_OK defined (introduced in r262178, just after 3.8 split).
But on that commit, the personality routine depends on it for EHABI
calls, which is defined by default on ARM environments.
The end result is that I can only use Clang 3.9+ to compile libunwind 3.9+.
compiler-rt/lib/builtins/gcc_personality_v0.c:149:57: error: use of
undeclared identifier '_URC_OK'; did you mean '_UVRSR_OK'?
if (__gnu_unwind_frame(exceptionObject, context) != _URC_OK)
Do we take this as an ABI break and document it? Or do we try to fix it?
More information about the llvm-dev