https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96202
Bug ID: 96202
Summary: --enable-cet complains about missing assembler support
with GCC 7 host compiler
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
When configuring GCC with --enable-cet it fails during for example lto-plugin
config, claiming the assembler does not support CET. But instead it is the
host compiler (GCC 7) that does not support -fcf-protection.
When the host compiler is used the checks need to be skipped and only the
stage2/stage3 binaries need to be CET instrumented when bootstrapping.
GCC 10 (and probably older releases) is affected as well.