<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:hjl.tools@gmail.com" title="H.J. Lu <hjl.tools@gmail.com>"> <span class="fn">H.J. Lu</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Address sanitizer interacts badly with -Wl,--as-needed on linux"
href="https://llvm.org/bugs/show_bug.cgi?id=15823">bug 15823</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;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>hjl.tools@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Address sanitizer interacts badly with -Wl,--as-needed on linux"
href="https://llvm.org/bugs/show_bug.cgi?id=15823#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Address sanitizer interacts badly with -Wl,--as-needed on linux"
href="https://llvm.org/bugs/show_bug.cgi?id=15823">bug 15823</a>
from <span class="vcard"><a class="email" href="mailto:hjl.tools@gmail.com" title="H.J. Lu <hjl.tools@gmail.com>"> <span class="fn">H.J. Lu</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=15823#c9">comment #9</a>)
<span class="quote">> I've implemented Alexander's suggestion in r215940.
> $ cat clock_gettime.c
> #include <stdio.h>
> #include <time.h>
>
> int main() {
> struct timespec ts;
> clock_gettime(CLOCK_REALTIME, &ts);
> return 0;
> }
> $ ./bin/clang -fsanitize=address -Wl,-as-needed clock_gettime.c && ./a.out
>
> Please reopen this bug if you still see errors.</span >
r215940 caused:
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - FAIL: LeakSanitizer-AddressSanitizer :: TestCases/stale_stack_leak.cc"
href="show_bug.cgi?id=24503">https://llvm.org/bugs/show_bug.cgi?id=24503</a></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>