[llvm-bugs] [Bug 31035] New: Clang 3.8 can't build libunwind 3.9
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 16 03:55:23 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31035
Bug ID: 31035
Summary: Clang 3.8 can't build libunwind 3.9
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Headers
Assignee: unassignedclangbugs at nondot.org
Reporter: renato.golin at linaro.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
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+.
http://buildmaster.tcwglab.linaro.org/builders/clang-cmake-armv7-a15-full/builds/1788/steps/build%20stage%201/logs/stdio
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)
^~~~~~~
The alternative is to use Clang 3.9 for now, but it would be good to document
if we're going to accept this API change (and force 2-tage builds) or fix the
personality routine to accept either headers.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161116/ef431e71/attachment.html>
More information about the llvm-bugs
mailing list