Page MenuHomeFreeBSD

libcompiler_rt: stop building with stack smashing protection
ClosedPublic

Authored by rlibby on Dec 27 2020, 8:17 PM.

Details

Summary

libcompiler_rt implements certain functions that clang and gcc emit
calls to as part of their codegen (e.g. for extended width math). Build
it without stack smashing protection (SSP, -fstack-protector) in order
to support building binaries without SSP, especially the dynamic linker.
Besides, SSP is probably not very valuable in this library.

Test Plan
make tinderbox

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.