https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125850
Bug ID: 125850
Summary: Don't build libssp if TARGET_LIBC_PROVIDES_SSP is
defined
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
Blocks: 125466
Target Milestone: ---
TARGET_LIBC_PROVIDES_SSP is defined to 1 if the C library provides stack
protector.
In this case, libssp is unused and shouldn't be built by default.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125466
[Bug 125466] [meta] Inconsistent stack protection implementation between GCC
and run-time