https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98695
Bug ID: 98695 Summary: cc1: error: ‘-fcf-protection’ is not compatible with this target Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: crazylht at gmail dot com CC: hjl.tools at gmail dot com Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-*-* i?86-*-* gcc build fail with configure as Using built-in specs. COLLECT_GCC=./gcc/xgcc Target: x86_64-pc-linux-gnu Configured with: /export/users2/liuhongt/gcc/git_trunk/master/configure --disable-bootstrap --enable-languages=c,c++,fortran,lto,objc,obj-c++ --prefix=/export/users2/liuhongt/install/git_trunk_master Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.0 20210115 (experimental) (GCC) error output. make[8]: *** [Makefile:857: fxor_1_.lo] Error 1 cc1: error: ‘-fcf-protection’ is not compatible with this target cc1: error: ‘-fcf-protection’ is not compatible with this target cc1: error: ‘-fcf-protection’ is not compatible with this target cc1: error: ‘-fcf-protection’ is not compatible with this target make[8]: *** [Makefile:857: fnand_1_.lo] Error 1 make[8]: *** [Makefile:857: store_2_.lo] Error 1 make[8]: *** [Makefile:857: cas_2_.lo] Error 1 make[8]: *** [Makefile:857: exch_1_.lo] Error 1 make[8]: *** [Makefile:857: fadd_2_.lo] Error 1 make[8]: *** [Makefile:857: load_2_.lo] Error 1 cc1: error: ‘-fcf-protection’ is not compatible with this target make[8]: *** [Makefile:857: exch_2_.lo] Error 1 make[8]: *** [Makefile:857: tas_1_.lo] Error 1 cc1: error: ‘-fcf-protection’ is not compatible with this target make[8]: *** [Makefile:857: fsub_2_.lo] Error 1 make[7]: *** [Makefile:608: all-recursive] Error 1 make[6]: *** [Makefile:448: all] Error 2 make[5]: *** [Makefile:903: multi-do] Error 1 make[4]: *** [Makefile:873: all-multi] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:608: all-recursive] Error 1 make[2]: *** [Makefile:448: all] Error 2 make[1]: *** [Makefile:19169: all-target-libatomic] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:971: all] Error 2