https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101235

            Bug ID: 101235
           Summary: Fails to bootstrap with binutils 2.32
           Product: gcc
           Version: 11.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

Configuring with

../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,ada,go --enable-checking=release
--disable-werror --with-gxx-include-dir=/usr/include/c++/11 --enable-ssp
--disable-libssp --disable-libvtv --enable-cet=auto --disable-libcc1
--disable-plugin --with-bugurl=https://bugs.opensuse.org/
'--with-pkgversion=SUSE Linux' --with-slibdir=/lib64 --with-system-zlib
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --with-gcc-major-version-only
--enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function
--program-suffix=-11 --without-system-libunwind --with-cpu=power8
--with-tune=power9 --enable-secureplt --with-long-double-128
--enable-targets=powerpcle-linux --disable-multilib
--build=powerpc64le-suse-linux --host=powerpc64le-suse-linux

causes the build to fail with

[ 1330s] Assembler messages:
[ 1330s] Error: invalid switch -mpower10
[ 1330s] Error: unrecognized option -mpower10
[ 1330s] make[3]: *** [../../../libgcc/shared-object.mk:14: float128-p10.o]
Erro
r 1
[ 1330s] make[3]: *** Waiting for unfinished jobs....
[ 1330s] make[3]: Leaving directory
'/home/abuild/rpmbuild/BUILD/gcc-11.1.1+git400/obj-powerpc64le-suse-linux/powerpc64le-suse-linux/libgcc'
[ 1330s] make[2]: *** [Makefile:19304: all-stage1-target-libgcc] Error 2
[ 1330s] make[2]: Leaving directory
'/home/abuild/rpmbuild/BUILD/gcc-11.1.1+git400/obj-powerpc64le-suse-linux'
[ 1330s] make[1]: *** [Makefile:25648: stage1-bubble] Error 2
[ 1330s] make[1]: Leaving directory
'/home/abuild/rpmbuild/BUILD/gcc-11.1.1+git400/obj-powerpc64le-suse-linux'
[ 1330s] make: *** [Makefile:26587: profiledbootstrap] Error 2
[ 1330s] error: Bad exit status from /var/tmp/rpm-tmp.3OT8Gy (%build)

I don't remember seeing the fail with 11.1.0 so the issue must have crept in
recently.

Reply via email to