Re: "common" symbols are no longer common?!?!?!

David Holland <[email protected]> Sat, 22 Feb 2025 18:24:25 +0000
Newsgroups gmane.os.netbsd.current,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Sat, Feb 22, 2025 at 02:28:43PM +0300, Valery Ushakov wrote:
 > > So, it seems like sometime in the last year common symbols are no
 > > longer marked as common!
 > 
 > gcc switched the default from -fcommon to -fno-common around gcc 10,
 > iirc, and gcc 10 is the default compiler in NetBSD 10.
 > 
 > Use explicit -fcommon.

Or fix the code. Commons exist to support FORTRAN notions about
linking; using them from C has always been a bug.

-- 
David A. Holland
[email protected]