<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 - lld from llvm 6 crashes with stack overflow @CopyRewriter::getNewSource when doing PGO + LTO of Firefox"
href="https://bugs.llvm.org/show_bug.cgi?id=38663">38663</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld from llvm 6 crashes with stack overflow @CopyRewriter::getNewSource when doing PGO + LTO of Firefox
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mh+llvm@glandium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, sylvestre@debian.org
</td>
</tr></table>
<p>
<div>
<pre>When building Firefox with clang 6, and enabling both PGO and LTO, the linker
crashes on linux 64-bits with what appears to be an infinite recursion through
CopyRewriter::getNewSource.
After some bisecting, I found the following:
- r322684 is the first revision that is broken on the release_60 branch.
- that revision is a cherry pick of r322313 from trunk, which is
similarly broken.
- trunk was fixed by r322325, which, funnily enough, predates when
r322313 was cherry-picked (and supposedly came with no functional change).
I guess the release_60 branch is dead at this point, but if it's not, this
should be addressed.
This doesn't affect clang 7 (obviously, since r322325 fixed it).</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>