<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 - clang-8 regression: "Invalid summary version 6, 1, 2, 3 or 4 expected""
href="https://bugs.llvm.org/show_bug.cgi?id=40659">40659</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang-8 regression: "Invalid summary version 6, 1, 2, 3 or 4 expected"
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sylvestre@debian.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, peter.smith@linaro.org
</td>
</tr></table>
<p>
<div>
<pre>echo "int foo(void) { return 0; }"> foo.c
echo "int foo(void); int main() {foo(); return 0;}">main.c
$ clang-7 -fuse-ld=lld -flto -O2 foo.c main.c -o foo
=> works fine
$ clang-8 -fuse-ld=lld -flto -O2 foo.c main.c -o foo
ld.lld: error: Invalid summary version 6, 1, 2, 3 or 4 expected
ld.lld: error: Invalid summary version 6, 1, 2, 3 or 4 expected
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Maybe it is intended but if this is the case, the error message should be
improved</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>