[llvm-bugs] [Bug 39249] New: libc++abi fails to compile on arm when gcc is used with: cxa_personality.cpp:594:30: error: ‘_URC_FATAL_PHASE2_ERROR’ was not declared in this scope

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 10 23:59:52 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39249

            Bug ID: 39249
           Summary: libc++abi fails to compile on arm when gcc is used
                    with: cxa_personality.cpp:594:30: error:
                    ‘_URC_FATAL_PHASE2_ERROR’ was not declared in this
                    scope
           Product: libc++abi
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: herrtimson at yahoo.de
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

Created attachment 20987
  --> https://bugs.llvm.org/attachment.cgi?id=20987&action=edit
patch to fix this bug

This is follow-up of https://bugs.llvm.org/show_bug.cgi?id=35945, which reports
that libc++ doesn't build for the Raspberry PI.

Errors related to char[8] are fixed now, but there are some missing values from
 _Unwind_Reason_Code enum and wrong behavior of  _US_FORCE_UNWIND

I isolated the added lines (with permission) from this fedora patch:
https://src.fedoraproject.org/rpms/v8/blob/master/f/v8-6.7.17-fix-gcc-unwind-header.patch

https://reviews.llvm.org/D53127

please assign mgorny at gentoo.org, he agreed to help out if there are unforeseen
problems with this patch.

-- 
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/20181011/1c18f0d5/attachment.html>


More information about the llvm-bugs mailing list