<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 - Build broken with glibc 2.26 on AArch64"
   href="https://bugs.llvm.org/show_bug.cgi?id=34719">34719</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Build broken with glibc 2.26 on AArch64
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>4.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>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tstellar@redhat.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This glibc commit[1] renamed the __reserved field from the m_context struct to
__glibc_reserved1,
which is causing build failure on aarch64:


lib/sanitizer_common/sanitizer_linux.cc: In function 'bool
__sanitizer::Aarch64GetESR(ucontext_t*, __sanitizer::u64*)':
lib/sanitizer_common/sanitizer_linux.cc:1268:35: error: 'struct mcontext_t' has
no member named '__reserved'; did you mean '__glibc_reserved1'?
   u8 *aux = ucontext->uc_mcontext.__reserved;
                                   ^~~~~~~~~~
                                   __glibc_reserved1


I have not tested trunk yet, but just from looking at the source code, it looks
like trunk compiler-rt will fail to compile too.
See also: <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=21457">https://sourceware.org/bugzilla/show_bug.cgi?id=21457</a>

[1]
<a href="https://sourceware.org/git/?p=glibc.git;a=commit;h=4fa9b3bfe6759c82beb4b043a54a3598ca467289">https://sourceware.org/git/?p=glibc.git;a=commit;h=4fa9b3bfe6759c82beb4b043a54a3598ca467289</a></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>