https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96203
Bug ID: 96203
Summary: LTO bootstrap with --enable-cet is broken
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: ---
/tmp/obj/./prev-gcc/xg++ -B/tmp/obj/./prev-gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/tmp/obj/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/tmp/obj/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/tmp/obj/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/tmp/obj/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/rguenther/src/gcc-10-branch/libstdc++-v3/libsupc++
-L/tmp/obj/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/tmp/obj/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -g -O2
-fno-checking -flto=jobserver -frandom-seed=1 -DIN_GCC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE
-static-libstdc++ -static-libgcc -no-pie -o build/genchecksum \
build/genchecksum.o .././libiberty/libiberty.a
lto-wrapper: fatal error: option -fcf-protection with mismatching values (none,
full)
compilation terminated.
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2921: build/genchecksum] Error 1