Subject: Bug#855197: gcc-6: Please use --with-cpu on sparc
The rebootstrap for sparc with nobiarch still fails .
This is because we're using --with-cpu-32=ultrasparc for all
sparc configurations although we have to use --with-cpu=ultrasparc
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.
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@xxxxxxxxxx
`. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Description: Text document