https://bugs.llvm.org/show_bug.cgi?id=41589
Bug ID: 41589
Summary: malformed or corrupted AST file
Product: clang
Version: 8.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Created attachment 21821
--> https://bugs.llvm.org/attachment.cgi?id=21821&action=edit
Logs
Step 1 - build with gcc
CXX=gcc cmake && make
Step 2 - build with clang (at the same output)
CXX=clang cmake && make
I have the impression that when precompiled headers of gcc are given to clang,
clang panics.
I don't really know if :
- it needs bug report
- it's to build system to clean after compiler change...
- the compiler should check the precompiled headers and exit more elegantly.
~ find /usr/ -name climits
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1/include/c++/climits
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1/include/c++/tr1/climits
/usr/include/c++/8.3.0/climits
/usr/include/c++/8.3.0/tr1/climits
/usr/include/boost/compatibility/cpp_c_headers/climits
~ gcc --version
gcc (GCC) 8.3.0
Copyright © 2018 Free Software Foundation, Inc.
Ce logiciel est un logiciel libre; voir les sources pour les conditions de
copie. Il n'y a
AUCUNE GARANTIE, pas même pour la COMMERCIALISATION ni L'ADÉQUATION À UNE TÂCHE
PARTICULIÈRE.
~ clang --version
clang version 8.0.0 (tags/RELEASE_800/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs