Page MenuHomeFreeBSD

Features/ssp.mk: Do not pass -fstack-protector as LDFLAGS
ClosedPublic

Authored by arrowd on Jul 1 2025, 4:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 12, 2:56 AM
Unknown Object (File)
Wed, Sep 9, 5:52 PM
Unknown Object (File)
Jul 23 2026, 6:33 AM
Unknown Object (File)
Jul 21 2026, 5:35 PM
Unknown Object (File)
Jul 21 2026, 1:25 PM
Unknown Object (File)
Jul 20 2026, 3:32 PM
Unknown Object (File)
Jul 3 2026, 7:19 AM
Unknown Object (File)
Jun 29 2026, 10:08 PM
Subscribers
None

Details

Summary

This isn't really a linker flag and worked only because C/C++ compiler is
usually used as linker.

This is backed by my own study of LLVM's code as well as this reply from
Flang's dev: https://discourse.llvm.org/t/flang-working-as-linker/87133/5

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable