bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/23411] Different behavior when linking common symbol staticall


From: ccoutant at gmail dot com
Subject: [Bug gold/23411] Different behavior when linking common symbol statically or to shared object
Date: Sat, 14 Jul 2018 17:20:58 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23411

Cary Coutant <ccoutant at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #5 from Cary Coutant <ccoutant at gmail dot com> ---
The point about Fortran is a fair one, and, I think, compelling. If a .o
contains a named common block, and an archive contains a BLOCK DATA, the linker
should include the BLOCK DATA.

Compiling with gcc -fno-common does provide a way to get the strict ANSI C
behavior, and requires no extra linker support.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]