[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845461: gcc-6: Please build with --with-cpu=ultrasparc on sparc



On 11/24/2016 06:34 PM, Jose E. Marchesi 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.
> 
> What is the issue with GCC 6 and --mpu=ultrasparc?

We want to make sure that gcc-6 is built with --with-cpu=ultrasparc on
32-bit sparc-linux-gnu (which is currently only present in Debian
rebootstrap [1]). The question is whether my suggested patch to
do that is correct.

I think that always passing --with-cpu=ultrasparc on sparc (32-bit)
will always make sure the compiler is configured to generate v8+
in 32-bit and v9 code in 64-bit mode.

Is that correct?

Adrian

> [1] https://jenkins.debian.net/view/rebootstrap/

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: