[llvm-bugs] [Bug 44984] unknown directive: FORCE_COMMON_ALLOCATION in lld linker
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Feb 25 11:49:48 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44984
Fangrui Song <i at maskray.me> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |i at maskray.me
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #2 from Fangrui Song <i at maskray.me> ---
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
(https://reviews.llvm.org/D75056)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678
commit 6271dd984d7f920d4fb17ad37af6a1f8e6b796dc
Author: Wilco Dijkstra <wdijkstr at arm.com>
Date: Wed Nov 20 08:29:23 2019
PR85678: Change default to -fno-common
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200225/8197ac2d/attachment.html>
More information about the llvm-bugs
mailing list