<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="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"
   href="https://bugs.llvm.org/show_bug.cgi?id=39249">39249</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>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
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++abi
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>herrtimson@yahoo.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20987" name="attach_20987" title="patch to fix this bug">attachment 20987</a> <a href="attachment.cgi?id=20987&action=edit" title="patch to fix this bug">[details]</a></span>
patch to fix this bug

This is follow-up of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Error while building with GCC 4.9 on Raspbian (Raspberry Pi)"
   href="show_bug.cgi?id=35945">https://bugs.llvm.org/show_bug.cgi?id=35945</a>, 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:
<a href="https://src.fedoraproject.org/rpms/v8/blob/master/f/v8-6.7.17-fix-gcc-unwind-header.patch">https://src.fedoraproject.org/rpms/v8/blob/master/f/v8-6.7.17-fix-gcc-unwind-header.patch</a>

<a href="https://reviews.llvm.org/D53127">https://reviews.llvm.org/D53127</a>

please assign <a href="mailto:mgorny@gentoo.org">mgorny@gentoo.org</a>, he agreed to help out if there are unforeseen
problems with this patch.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>