<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:rafael.espindola@gmail.com" title="Rafael Ávila de Espíndola <rafael.espindola@gmail.com>"> <span class="fn">Rafael Ávila de Espíndola</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Regression with Musl after adding support for outputting to /dev/null"
href="https://bugs.llvm.org/show_bug.cgi?id=32425">bug 32425</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>WONTFIX
</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 WONTFIX - Regression with Musl after adding support for outputting to /dev/null"
href="https://bugs.llvm.org/show_bug.cgi?id=32425#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Regression with Musl after adding support for outputting to /dev/null"
href="https://bugs.llvm.org/show_bug.cgi?id=32425">bug 32425</a>
from <span class="vcard"><a class="email" href="mailto:rafael.espindola@gmail.com" title="Rafael Ávila de Espíndola <rafael.espindola@gmail.com>"> <span class="fn">Rafael Ávila de Espíndola</span></a>
</span></b>
<pre>
<span class="quote">> > Also, ld.lld --reproduce should leave a tar file that you can upload here
> > for further analysis.
>
> Attached it also (had to compress, so it is under 1Mb).</span >
The problem is that crt1.o has
000000000000001b 0000000300000002 R_X86_64_PC32 0000000000000000
__libc_start_main - 4
Which requires knowing the address of __libc_start_main. That can be done when
producing an executable if the symbol in preemptable (we create a plt and use
that as the symbol address). But in this case the symbol is not preemptable:
1488: 000000000004d436 57 FUNC GLOBAL PROTECTED 9 __libc_start_main
We should produce a better error message and we could even add an option for
ignoring pointer equality (after all that is what we do in icf), but the test
as written is working as intended.</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>