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)
Sun, Sep 13, 3:46 PM
Unknown Object (File)
Fri, Sep 11, 5:06 PM
Unknown Object (File)
Sat, Sep 5, 12:59 AM
Unknown Object (File)
Sun, Aug 30, 3:17 PM
Unknown Object (File)
Sun, Aug 30, 9:57 AM
Unknown Object (File)
Aug 12 2026, 8:24 AM
Unknown Object (File)
Aug 10 2026, 3:21 PM
Unknown Object (File)
Aug 9 2026, 4:22 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.