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)
Wed, Jun 17, 12:36 PM
Unknown Object (File)
May 25 2026, 10:44 AM
Unknown Object (File)
May 14 2026, 8:31 PM
Unknown Object (File)
May 14 2026, 7:59 PM
Unknown Object (File)
May 12 2026, 6:29 AM
Unknown Object (File)
May 11 2026, 4:35 AM
Unknown Object (File)
Apr 28 2026, 6:01 PM
Unknown Object (File)
Apr 28 2026, 4:59 PM
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.