tech-toolchain archive

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

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



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
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index