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: unassignedb...@nondot.org
Reporter: sylves...@debian.org
CC: llvm-bugs@lists.llvm.org, peter.sm...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs