https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94739
Manfred Schwarb <manfred99 at gmx dot ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manfred99 at gmx dot ch --- Comment #4 from Manfred Schwarb <manfred99 at gmx dot ch> --- This broke my i686 build (only, x86_64 build with same settings is OK), I get configure: error: Intel CET must be enabled on Intel CET enabled host make[2]: *** [configure-stage2-lto-plugin] Error 1 make[2]: *** Waiting for unfinished jobs.... configure: error: Intel CET must be enabled on Intel CET enabled host make[2]: *** [configure-stage2-libiberty] Error 1 both in prev-libiberty/config.log and prev-lto-plugin/config.log there is configure:5283: checking for CET support configure:5312: gcc -march=i686 -m32 -Wa,--32 -c -g -fcf-protection conftest.c >&5 gcc: error: unrecognized command line option '-fcf-protection' configure:5312: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | | int | main () | { | | #if !defined(__SSE2__) | #error target does not support multi-byte NOPs | #else | asm ("setssbsy"); | #endif | | ; | return 0; | } My configure command is #> ../gcc-trunk-source/gcc/configure --enable-languages=c,c++,fortran --enable-checking=yes,extra --disable-libstdcxx-pch --enable-libgomp --enable-lto --enable-gold --with-plugin-ld=gold --prefix=/usr/local/gcc-trunk-32bit i686-linux and then I issue the make command with #> make -j4 BOOT_CFLAGS="-g -O2" bootstrap2-lean As mentioned above, the very same commands (without the "i686-linux" configure argument) work fine to build x86_64 binaries.