<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:i@maskray.me" title="Fangrui Song <i@maskray.me>"> <span class="fn">Fangrui Song</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Corrupt debug info when using lld with gcc 9.1"
href="https://bugs.llvm.org/show_bug.cgi?id=42401">bug 42401</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Corrupt debug info when using lld with gcc 9.1"
href="https://bugs.llvm.org/show_bug.cgi?id=42401#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Corrupt debug info when using lld with gcc 9.1"
href="https://bugs.llvm.org/show_bug.cgi?id=42401">bug 42401</a>
from <span class="vcard"><a class="email" href="mailto:i@maskray.me" title="Fangrui Song <i@maskray.me>"> <span class="fn">Fangrui Song</span></a>
</span></b>
<pre>clang -fuse-ld=lld foo-gcc.s foo-main.s -o main
gdb main
I reproduced the
Reading symbols from a.arch...Dwarf Error: wrong version in compilation unit
header (is 1024, should be 2, 3, 4 or 5) [in module /tmp/rep/a.arch]
bug with Arch Linux extra/lld 8.0.0-1 and the prebuilt 8.0.0 Ubuntu 18.04
archive on <a href="http://releases.llvm.org/download.html#8.0.0">http://releases.llvm.org/download.html#8.0.0</a>
lld trunk is fine. I checked out the 8.x branch
<a href="https://github.com/llvm/llvm-project/tree/release/8.x">https://github.com/llvm/llvm-project/tree/release/8.x</a>, it is also fine.
So this is a bug (I cannot narrow down to the revision that fixed the issue) in
the 8.0.0 release that will not go into the 8.0.1 release.
Moritz, you may just wait for the 8.0.1 release :)</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>