On Linux/x86_64,

77d372abec0fbf2cfe922e3140ee3410248f979e is the first bad commit
commit 77d372abec0fbf2cfe922e3140ee3410248f979e
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Thu Jan 14 05:56:46 2021 -0800

    x86: Error on -fcf-protection with incompatible target

caused build failure when configured with:

../gcc/configure --with-arch=skylake-avx512 --with-cpu=skylake-avx512  
--enable-clocale=gnu --with-system-zlib --enable-shared --enable-cet 
--with-demangler-in-ld --enable-libmpx --with-fpmath=sse 

Build log(last 100 lines):

config.status: creating src/c++17/Makefile
Adding multilib support to src/c++17/Makefile in ../../../../../gcc/libstdc++-v3
with_multisubdir=32
config.status: creating src/c++20/Makefile
Adding multilib support to src/c++20/Makefile in ../../../../../gcc/libstdc++-v3
with_multisubdir=32
config.status: creating src/filesystem/Makefile
Adding multilib support to src/filesystem/Makefile in 
../../../../../gcc/libstdc++-v3
with_multisubdir=32
config.status: creating doc/Makefile
Adding multilib support to doc/Makefile in ../../../../../gcc/libstdc++-v3
with_multisubdir=32
config.status: creating po/Makefile
Adding multilib support to po/Makefile in ../../../../../gcc/libstdc++-v3
with_multisubdir=32
config.status: creating testsuite/Makefile
Adding multilib support to testsuite/Makefile in ../../../../../gcc/libstdc++-v3
with_multisubdir=32
config.status: creating python/Makefile
Adding multilib support to python/Makefile in ../../../../../gcc/libstdc++-v3
with_multisubdir=32
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../../gcc/libstdc++-v3
with_multisubdir=32
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
make[3]: Entering directory 
'/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/r11-6672/bld/x86_64-linux/32/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
make[3]: [Makefile:1754: x86_64-linux/bits/largefile-config.h] Error 1 (ignored)
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
echo 1 > stamp-dual-abi
echo 1 > stamp-cxx11-abi
echo 1 > stamp-allocator-new
echo 'define _GLIBCXX_USE_FLOAT128 1' > stamp-float128
sed -e '/^#pragma/b' \
    -e 
'/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g'
 \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < 
/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/gcc/libstdc++-v3/../libgcc/gthr.h
 > x86_64-linux/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < 
/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/gcc/libstdc++-v3/../libgcc/gthr-single.h
 > x86_64-linux/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < 
/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/gcc/libstdc++-v3/../libgcc/gthr-posix.h
 > x86_64-linux/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < 
/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/gcc/libstdc++-v3/../libgcc/gthr-posix.h
 > x86_64-linux/bits/gthr-default.h
make[3]: Leaving directory 
'/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/r11-6672/bld/x86_64-linux/32/libstdc++-v3/include'
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
make[3]: Entering directory 
'/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/r11-6672/bld/x86_64-linux/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
make[3]: [Makefile:1753: x86_64-linux/bits/largefile-config.h] Error 1 (ignored)
make[3]: [Makefile:1754: x86_64-linux/bits/largefile-config.h] Error 1 (ignored)
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
echo 1 > stamp-dual-abi
echo 1 > stamp-cxx11-abi
echo 1 > stamp-allocator-new
echo 'define _GLIBCXX_USE_FLOAT128 1' > stamp-float128
sed -e '/^#pragma/b' \
    -e 
'/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g'
 \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < 
/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/gcc/libstdc++-v3/../libgcc/gthr.h
 > x86_64-linux/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < 
/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/gcc/libstdc++-v3/../libgcc/gthr-single.h
 > x86_64-linux/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < 
/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/gcc/libstdc++-v3/../libgcc/gthr-posix.h
 > x86_64-linux/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < 
/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/gcc/libstdc++-v3/../libgcc/gthr-posix.h
 > x86_64-linux/bits/gthr-default.h
make[3]: Leaving directory 
'/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/r11-6672/bld/x86_64-linux/libstdc++-v3/include'
make[2]: Leaving directory 
'/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/r11-6672/bld'
make[1]: *** [Makefile:24977: stage1-bubble] Error 2
make[1]: Leaving directory 
'/local/skpandey/gccwork/toolwork/gcc-bisect-build-master/master/r11-6672/bld'
make: *** [Makefile:1001: all] Error 2

(Please do not reply to this email, for question about this report, contact me 
at skpgkp2 at gmail dot com)

Reply via email to