[llvm-bugs] [Bug 40659] New: clang-8 regression: "Invalid summary version 6, 1, 2, 3 or 4 expected"
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Feb 8 01:57:44 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40659
Bug ID: 40659
Summary: clang-8 regression: "Invalid summary version 6, 1, 2,
3 or 4 expected"
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: sylvestre at debian.org
CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org
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
--
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/20190208/bd78a94a/attachment.html>
More information about the llvm-bugs
mailing list