<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 - malformed or corrupted AST file"
href="https://bugs.llvm.org/show_bug.cgi?id=41589">41589</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>malformed or corrupted AST file
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>8.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>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>marin.baron.pro@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=21821" name="attach_21821" title="Logs">attachment 21821</a> <a href="attachment.cgi?id=21821&action=edit" title="Logs">[details]</a></span>
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</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>