Page MenuHomeFreeBSD

build: stop providing an explicit -fno-common
AcceptedPublic

Authored by kevans on Jun 7 2025, 3:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 8, 7:53 PM
Unknown Object (File)
Tue, Jul 8, 5:08 PM
Unknown Object (File)
Tue, Jul 8, 11:57 AM
Unknown Object (File)
Mon, Jul 7, 8:28 PM
Unknown Object (File)
Mon, Jul 7, 9:08 AM
Unknown Object (File)
Mon, Jul 7, 8:02 AM
Unknown Object (File)
Sun, Jul 6, 10:05 AM
Unknown Object (File)
Sun, Jul 6, 12:26 AM
Subscribers

Details

Summary

All of the compilers used to build FreeBSD should now default to
-fno-common, so this isn't really necessary anymore -- it was only
added to avoid regressing the -fno-common build before it became the
default everywhere.

For <kmod.mk>, we'll leave that one in place. I didn't actually add
that one, and it's more important that we always have -fno-common in
kmod builds.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64699
Build 61583: arc lint + arc unit