Subject: Bug#855197: gcc-6: Please use --with-cpu on sparc
without biarch



Source: gcc-6
Version: 6.3.0-6
Severity: normal
Tags: patch
User: helmutg@xxxxxxxxxx
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 - glaubitz@xxxxxxxxxx
`. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

Attachment: sparc-fix-nobiarch.patch
Description: Text document

...



Programming list archiving by: Enterprise Git Hosting