<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 WONTFIX - unknown directive: FORCE_COMMON_ALLOCATION in lld linker"
href="https://bugs.llvm.org/show_bug.cgi?id=44984">bug 44984</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;">CC</td>
<td>
</td>
<td>i@maskray.me
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - unknown directive: FORCE_COMMON_ALLOCATION in lld linker"
href="https://bugs.llvm.org/show_bug.cgi?id=44984#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - unknown directive: FORCE_COMMON_ALLOCATION in lld linker"
href="https://bugs.llvm.org/show_bug.cgi?id=44984">bug 44984</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>FORCE_COMMON_ALLOCATION (force_common_definition in binutils-gdb/ld/ldlang.c)
is only useful for -r.
-r linking with a linker script is rare... Since there is an alternative (-dc),
I think we can claim this to be a wontfix.
I think FORTRAN 77 COMMON block is strongly discouraged. Note, GCC head (the
future 11 release) defaults to -fno-common. Clang is following suit
(<a href="https://reviews.llvm.org/D75056">https://reviews.llvm.org/D75056</a>)
<a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678</a>
commit 6271dd984d7f920d4fb17ad37af6a1f8e6b796dc
Author: Wilco Dijkstra <<a href="mailto:wdijkstr@arm.com">wdijkstr@arm.com</a>>
Date: Wed Nov 20 08:29:23 2019
PR85678: Change default to -fno-common</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>