Page MenuHomeFreeBSD

i386+gcc: Turn off stack protection
Needs ReviewPublic

Authored by imp on Apr 15 2026, 2:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 8:31 PM
Unknown Object (File)
Thu, May 14, 7:59 PM
Unknown Object (File)
Tue, May 12, 6:29 AM
Unknown Object (File)
Mon, May 11, 4:35 AM
Unknown Object (File)
Tue, Apr 28, 6:01 PM
Unknown Object (File)
Tue, Apr 28, 4:59 PM
Unknown Object (File)
Tue, Apr 28, 2:46 AM
Unknown Object (File)
Mon, Apr 27, 8:21 AM
Subscribers
None

Details

Reviewers
jhb
Summary

Stack protection doesn't build with gcc, so just turn it off for the kernel + modles.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Apr 15 2026, 2:39 PM
imp created this revision.

Humm, so we do in fact enable it with LLVM and on other architectures? I wonder how LLVM is able to link an i386 kernel.