[llvm-bugs] [Bug 51917] New: Can't build LLDB 13 with older linux kernel

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 20 12:30:44 PDT 2021


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

            Bug ID: 51917
           Summary: Can't build LLDB 13 with older linux kernel
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: caleb.zulawski at gmail.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

I am trying to build with a kernel older than 4.1, and get the following error:

llvm-project-13.0.0rc3.src/lldb/source/Plugins/Process/Linux/IntelPTManager.cpp:148:23:
error: 'struct perf_event_mmap_page' has no member named 'aux_size'
  148 |   return m_mmap_meta->aux_size;
      | 

aux_size was added in Linux 4.1.  It appears the Intel PT plugin was added in
LLVM 13, I can currently build LLVM 12 and hope to be able to upgrade to 13
when it's released.

-- 
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/20210920/8e15aebf/attachment.html>


More information about the llvm-bugs mailing list