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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to