[llvm-bugs] [Bug 29153] New: libunwind build fails because __builtin_unreachable is used
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Aug 26 10:08:45 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29153
Bug ID: 29153
Summary: libunwind build fails because __builtin_unreachable is
used
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
Assignee: unassignedbugs at nondot.org
Reporter: eclectic923 at yahoo.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
I'm building libunwind-1.1 for Arm CortexA8 using gcc 4.3.3.
I get an error linking during libunwind build that __builtin_unreachable isn't
defined.
Basically, the this is bug-22198, except the offending source file is
src/arm/Gresume.c. I used the same solution as bug-22198. Replace
__builtin_unreachable with __builtin_trap.
This allows the library to build, and when I create a test application to use
the library it works.
--
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/20160826/a930f5da/attachment-0001.html>
More information about the llvm-bugs
mailing list