[llvm-bugs] [Bug 34719] New: Build broken with glibc 2.26 on AArch64

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 25 13:18:03 PDT 2017


            Bug ID: 34719
           Summary: Build broken with glibc 2.26 on AArch64
           Product: compiler-rt
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: tstellar at redhat.com
                CC: llvm-bugs at lists.llvm.org

This glibc commit[1] renamed the __reserved field from the m_context struct to
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;

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: https://sourceware.org/bugzilla/show_bug.cgi?id=21457


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/20170925/29336b39/attachment.html>

More information about the llvm-bugs mailing list