<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 - lli fails to build with GCC 8"
href="https://bugs.llvm.org/show_bug.cgi?id=37486">37486</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lli fails to build with GCC 8
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>5.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>OrcJIT
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>valentin.korenblit@smile.fr
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>I'm working with llvm-5.0.1.src.tar.xz, using gcc 8.1.1 under Fedora 28:
Error message:
In file included from
/home/naourr/work/instance-2/output/build/host-llvm-5.0.1/tools/lli/lli.cpp:30:
/home/naourr/work/instance-2/output/build/host-llvm-5.0.1/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h:
In member function 'llvm::Expected<std::vector<char> >
llvm::orc::remote::OrcRemoteTargetClient<ChannelT>::readMem(char*,
llvm::JITTargetAddress, uint64_t)':
/home/naourr/work/instance-2/output/build/host-llvm-5.0.1/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h:722:26:
error: could not convert
'((llvm::orc::remote::OrcRemoteTargetClient<ChannelT>*)this)->callB<llvm::orc::remote::OrcRemoteTargetRPCAPI::ReadMem>(Src,
Size)' from 'Expected<vector<unsigned char,allocator<unsigned char>>>' to
'Expected<vector<char,allocator<char>>>'
return callB<ReadMem>(Src, Size);
Full log:
<a href="http://autobuild.buildroot.net/results/824c70e982d8ec7e518cf4db058767df42db6b04/build-end.log">http://autobuild.buildroot.net/results/824c70e982d8ec7e518cf4db058767df42db6b04/build-end.log</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>