HomeFreeBSD

libcompiler_rt: stop building with stack smashing protection

Description

libcompiler_rt: stop building with stack smashing protection

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.

Reviewed by: arichardson, dim, kib
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D27786

(cherry picked from commit a723bb667e48b9ec55c3a262c9cc49e700e52989)

Details

Provenance
rlibbyAuthored on Dec 28 2020, 8:44 AM
dimCommitted on Dec 22 2021, 10:01 AM
Reviewer
arichardson
Differential Revision
D27786: libcompiler_rt: stop building with stack smashing protection
Parents
rG9735d993c225: Merge commit d989ffd10 from llvm git (by Dimitry Andric):
Branches
Unknown
Tags
Unknown