This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/84326] New: [8 Regression] bootstrap fails on powerpc64-linux-gnu when configured wth --with-cpu-32=power7 --with-cpu-64=power7
- From: "doko at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Feb 2018 08:07:00 +0000
- Subject: [Bug bootstrap/84326] New: [8 Regression] bootstrap fails on powerpc64-linux-gnu when configured wth --with-cpu-32=power7 --with-cpu-64=power7
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84326
Bug ID: 84326
Summary: [8 Regression] bootstrap fails on powerpc64-linux-gnu
when configured wth --with-cpu-32=power7
--with-cpu-64=power7
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
trunk r257477 fails to build at least on powerpc64-linux-gnu, when configuring
with --with-cpu-32=power7 --with-cpu-64=power7 (checked with a cross compiler).
the binutils 2.30 branch is used. Seen PR77847, PR80210.
make[4]: Entering directory
'/home/packages/cross/8/u/gcc-8-cross-ports-1ubuntu1/gcc/build/gcc'
for tool in gnatbind gnatchop gnat gnatkr gnatlink gnatls gnatmake gnatname
gnatprep gnatxref gnatfind gnatclea
n ; do \
if [ -f $tool ] ; \
then \
mv $tool $tool-cross; \
fi; \
done
/home/packages/cross/8/u/gcc-8-cross-ports-1ubuntu1/gcc/build/./gcc/xgcc
-B/home/packages/cross/8/u/gcc-8-cross-ports-1ubuntu1/gcc/build/./gcc/ -xc
-nostdinc /dev/null -S -o /dev/null
-fself-test=../../src/gcc/testsuite/selftests
cc1: warning: will not generate 'power7' instructions because assembler lacks
'power7' support
cc1: error: '-msecure-plt' not supported by your assembler
cc1: note: self-tests are not enabled in this build
Makefile:1986: recipe for target 's-selftest-c' failed
make[4]: *** [s-selftest-c] Error 1
make[4]: Leaving directory
'/home/packages/cross/8/u/gcc-8-cross-ports-1ubuntu1/gcc/build/gcc'
Makefile:4305: recipe for target 'all-gcc' failed
make[3]: *** [all-gcc] Error 2
make[3]: Leaving directory
'/home/packages/cross/8/u/gcc-8-cross-ports-1ubuntu1/gcc/build'
Makefile:906: recipe for target 'all' failed
make[2]: *** [all] Error 2
GCC is configured with
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++
--prefix=/usr
--with-gcc-major-version-only
--program-suffix=-8
--enable-shared
--enable-linker-build-id
--libexecdir=/usr/lib
--without-included-gettext
--enable-threads=posix
--libdir=/usr/lib
--enable-nls
--with-sysroot=/
--enable-clocale=gnu
--enable-libstdcxx-debug
--enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new
--enable-gnu-unique-object
--disable-libquadmath
--enable-plugin
--with-system-zlib
--disable-libphobos
--enable-secureplt
--disable-softfloat
--enable-targets=powerpc64-linux,powerpc-linux
--with-cpu-32=power7
--with-cpu-64=power7
--enable-multiarch
--disable-werror
--with-long-double-128
--enable-multilib
--enable-checking=release
--build=x86_64-linux-gnu
--host=x86_64-linux-gnu
--target=powerpc64-linux-gnu
--program-prefix=powerpc64-linux-gnu-
--includedir=/usr/powerpc64-linux-gnu/include