On 23.11.2016 17:52, John Paul Adrian Glaubitz wrote: > Currently, rebootstrap fails on sparc-linux-gnu because the gcc-6 > package no longer builds with --mcpu=ultrasparc on this target. > This was previously with the sparc-force-cpu.diff patch which > got removed while fixing the multilib issue on sparc64. > > However, since gcc upstream still defaults to --mcpu=v7 on sparc > (32-bit) by default, we need to set the CPU to "ultrasparc" > in the Debian gcc package. > > This is achieved with the following simple patch: > > diff -Nru gcc-6-6.2.1.old/debian/rules2 gcc-6-6.2.1.new/debian/rules2 > --- gcc-6-6.2.1.old/debian/rules2 2016-11-23 17:42:53.000000000 +0100 > +++ gcc-6-6.2.1.new/debian/rules2 2016-11-23 17:42:02.417500510 +0100 > @@ -541,6 +541,7 @@ > ifneq (,$(findstring sparc-linux,$(DEB_TARGET_GNU_TYPE))) > ifeq ($(biarch64),yes) > CONFARGS += --enable-targets=all > + CONFARGS += --with-cpu=ultrasparc > endif > endif
why do you set this for the 64bit multilib as well?