<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 - LLDB 11.0.1 build failure on macOS"
href="https://bugs.llvm.org/show_bug.cgi?id=48717">48717</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLDB 11.0.1 build failure on macOS
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>carlo.antonio.cabrera@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=24369" name="attach_24369" title="Build logs">attachment 24369</a> <a href="attachment.cgi?id=24369&action=edit" title="Build logs">[details]</a></span>
Build logs
Building the 11.0.1 release tarball hosted on GitHub fails while building LLDB
on macOS 10.14, 10.15, and 11.0 (Intel + ARM). (cf.
<a href="https://github.com/Homebrew/homebrew-core/pull/68393">https://github.com/Homebrew/homebrew-core/pull/68393</a>)
Big Sur build logs attached. Complete CI run logs available at
<a href="https://github.com/Homebrew/homebrew-core/runs/1657718020">https://github.com/Homebrew/homebrew-core/runs/1657718020</a>.
The build produces the following errors:
In file included from
/tmp/llvm-20210106-61437-1bv9jsd/llvm-project-llvmorg-11.0.1/lldb/source/Plugins/Platform/MacOSX/PlatformMacO
SX.cpp:12:
/tmp/llvm-20210106-61437-1bv9jsd/llvm-project-llvmorg-11.0.1/lldb/source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.h:59:41:
error: non-virtual member function marked 'override' hides virtual member
function
bool *did_create_ptr) override;
^
/tmp/llvm-20210106-61437-1bv9jsd/llvm-project-llvmorg-11.0.1/lldb/source/./Plugins/Platform/MacOSX/PlatformDarwin.h:46:3:
note: hid
den overloaded virtual function 'PlatformDarwin::GetSharedModule' declared
here: type mismatch at 5th parameter ('llvm::SmallVector
Impl<lldb::ModuleSP> *' (aka 'SmallVectorImpl<shared_ptr<lldb_private::Module>
<span class="quote">> *') vs 'lldb::ModuleSP *' (aka 'shared_ptr<lldb_pr</span >
ivate::Module> *'))
GetSharedModule(const lldb_private::ModuleSpec &module_spec,
^
In file included from
/tmp/llvm-20210106-61437-1bv9jsd/llvm-project-llvmorg-11.0.1/lldb/source/Plugins/Platform/MacOSX/PlatformMacO
SX.cpp:13:
/tmp/llvm-20210106-61437-1bv9jsd/llvm-project-llvmorg-11.0.1/lldb/source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.h:59:4
1: error: non-virtual member function marked 'override' hides virtual member
function
bool *did_create_ptr) override;
^
/tmp/llvm-20210106-61437-1bv9jsd/llvm-project-llvmorg-11.0.1/lldb/source/./Plugins/Platform/MacOSX/PlatformDarwin.h:46:3:
note: hid
den overloaded virtual function 'PlatformDarwin::GetSharedModule' declared
here: type mismatch at 5th parameter ('llvm::SmallVector
Impl<lldb::ModuleSP> *' (aka 'SmallVectorImpl<shared_ptr<lldb_private::Module>
<span class="quote">> *') vs 'lldb::ModuleSP *' (aka 'shared_ptr<lldb_pr</span >
ivate::Module> *'))
GetSharedModule(const lldb_private::ModuleSpec &module_spec,
^
In file included from
/tmp/llvm-20210106-61437-1bv9jsd/llvm-project-llvmorg-11.0.1/lldb/source/Plugins/Platform/MacOSX/PlatformMacO
SX.cpp:18:
/tmp/llvm-20210106-61437-1bv9jsd/llvm-project-llvmorg-11.0.1/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h:61:41:
erro
r: non-virtual member function marked 'override' hides virtual member function
bool *did_create_ptr) override;
^
/tmp/llvm-20210106-61437-1bv9jsd/llvm-project-llvmorg-11.0.1/lldb/source/./Plugins/Platform/MacOSX/PlatformDarwin.h:46:3:
note: hid
den overloaded virtual function 'PlatformDarwin::GetSharedModule' declared
here: type mismatch at 5th parameter ('llvm::SmallVector
Impl<lldb::ModuleSP> *' (aka 'SmallVectorImpl<shared_ptr<lldb_private::Module>
<span class="quote">> *') vs 'lldb::ModuleSP *' (aka 'shared_ptr<lldb_pr</span >
ivate::Module> *'))
GetSharedModule(const lldb_private::ModuleSpec &module_spec,</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>