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)
Mon, Jun 22, 1:02 AM
Unknown Object (File)
Fri, May 29, 11:57 PM
Unknown Object (File)
Fri, May 29, 10:01 PM
Unknown Object (File)
Wed, May 27, 9:30 PM
Unknown Object (File)
Apr 19 2026, 8:36 PM
Unknown Object (File)
Apr 19 2026, 8:36 PM
Unknown Object (File)
Apr 12 2026, 12:54 AM
Unknown Object (File)
Apr 11 2026, 8:17 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

Event Timeline

kevans requested review of this revision.Jun 7 2025, 3:28 AM
This revision is now accepted and ready to land.Jun 7 2025, 3:29 AM

Unless I've missed a back out, the LLVM commit appears to have been included in LLVM 11 which is older than we care about https://github.com/llvm/llvm-project/commit/0a9fc9233e172601e26381810d093e02ef410f65