Source: gcc-6 Version: 6.3.0-6 Severity: normal Tags: patch User: helm...@debian.org Usertags: rebootstrap
Hi! The rebootstrap for sparc with nobiarch still fails [1]. This is because we're using --with-cpu-32=ultrasparc for all sparc configurations although we have to use --with-cpu=ultrasparc instead. An alternative approach would be to apply the patch for PR libstdc++/64735 on sparc as well and use --with-cpu-32=ultrasparc on biarch configurations as well. This means, we'd be defaulting to SPARCv7 on nobiarch confiurations while UltraSPARC (SPARCv8+) would be use for biarch configurations. This would allow the "sparc" port to be bootstrapped for old sun4m hardware. However, after a quick discussion in #sparc, we have come to the conclusion to pin sparc to UltraSPARC for now and create a new GNU triplet for SPARCv7 in the future. The attached patch fixes the FTCBFS issue for sparc-nobiarch. Thanks, Adrian > [1] > https://jenkins.debian.net/view/rebootstrap/job/rebootstrap_sparc_gcc6_nobiarch/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- gcc-6-6.3.0/debian/rules2.old 2017-02-15 11:51:16.000000000 +0100 +++ gcc-6-6.3.0/debian/rules2 2017-02-15 11:53:56.619034818 +0100 @@ -544,9 +544,11 @@ endif ifneq (,$(findstring sparc-linux,$(DEB_TARGET_GNU_TYPE))) - CONFARGS += --with-cpu-32=ultrasparc ifeq ($(biarch64),yes) CONFARGS += --enable-targets=all + CONFARGS += --with-cpu-32=ultrasparc + else + CONFARGS += --with-cpu=ultrasparc endif endif