Opened 6 years ago
Closed 5 years ago
#57499 closed defect (fixed)
lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | larryv (Lawrence Velázquez), kencu (Ken) | |
Port: | llvm-devel, lldb-7.0 |
Description
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachProcess.mm:584:12: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS' cmd == LC_VERSION_MIN_TVOS || cmd == LC_VERSION_MIN_WATCHOS; ^ /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachProcess.mm:584:42: error: use of undeclared identifier 'LC_VERSION_MIN_WATCHOS' cmd == LC_VERSION_MIN_TVOS || cmd == LC_VERSION_MIN_WATCHOS; ^ /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachProcess.mm:601:10: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS' case LC_VERSION_MIN_TVOS: ^ /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachProcess.mm:603:10: error: use of undeclared identifier 'LC_VERSION_MIN_WATCHOS' case LC_VERSION_MIN_WATCHOS: ^ /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachTask.mm:408:35: error: use of undeclared identifier 'vm_kernel_page_size' static vm_size_t pagesize = vm_kernel_page_size; ^ /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachTask.mm:414:18: error: no member named 'external_page_count' in 'vm_statistics64' vminfo.external_page_count - vminfo.purgeable_count; ~~~~~~ ^ 2 errors generated. make[2]: *** [tools/lldb/tools/debugserver/source/CMakeFiles/lldbDebugserverCommon.dir/MacOSX/MachTask.mm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 4 errors generated. make[2]: *** [tools/lldb/tools/debugserver/source/CMakeFiles/lldbDebugserverCommon.dir/MacOSX/MachProcess.mm.o] Error 1
Change History (8)
comment:1 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)
comment:2 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)
And actually, I think they should also be local in llvm since llvm has its own mac-o library instead of using the system's.
comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Per the log, this happened on the 10.8 buildbot worker.
comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | lldb-7.0 added |
---|
And it also happened with lldb-7.0 on the 10.10 buildbot worker: see this log.
comment:5 Changed 6 years ago by kencu (Ken)
I have a simple patch for this I've been sitting on while I organize who needs it.
comment:6 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)
If you install libmacho-headers, does that address the issue?
comment:7 Changed 5 years ago by kencu (Ken)
Cc: | kencu added |
---|
comment:8 Changed 5 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
What are you building this on? Those should be declared in pretty much any recent SDK.