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)
Sat, Oct 11, 8:30 AM
Unknown Object (File)
Fri, Oct 10, 5:25 PM
Unknown Object (File)
Wed, Oct 8, 9:15 PM
Unknown Object (File)
Fri, Oct 3, 9:06 AM
Unknown Object (File)
Tue, Sep 30, 6:37 PM
Unknown Object (File)
Sep 13 2025, 2:23 AM
Unknown Object (File)
Sep 9 2025, 2:26 PM
Unknown Object (File)
Sep 8 2025, 1:19 PM
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