Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-18 Thread John Paul Adrian Glaubitz
Hi Jose! On 01/05/2016 11:21 AM, Jose E. Marchesi wrote: > Right. cpu_32, cpu_64, tune_32 and tune_64 are not supported in sparc* > targets yet. > > I will prepare a patch for that and send it upstream. Any news on this issue? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-18 Thread Jose E. Marchesi
On 01/05/2016 11:21 AM, Jose E. Marchesi wrote: > Right. cpu_32, cpu_64, tune_32 and tune_64 are not supported in sparc* > targets yet. > > I will prepare a patch for that and send it upstream. Any news on this issue? Didn't happen yet.

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread John Paul Adrian Glaubitz
On 01/05/2016 11:21 AM, Jose E. Marchesi wrote: > Right. cpu_32, cpu_64, tune_32 and tune_64 are not supported in sparc* > targets yet. > > I will prepare a patch for that and send it upstream. Great, thanks a lot! Could you also attach it to this bug report as well once you have it? Adrian

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread Jose E. Marchesi
> Right. cpu_32, cpu_64, tune_32 and tune_64 are not supported in sparc* > targets yet. > > I will prepare a patch for that and send it upstream. Great, thanks a lot! Could you also attach it to this bug report as well once you have it? Sure.

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread John Paul Adrian Glaubitz
On 01/05/2016 11:31 AM, Jose E. Marchesi wrote: > The default cpu option for -m32 in sparc is very very conservative: a v7 > cpu. It may be worth it to consider bumping it to ultrasparc/v9a or, at > least v9, when GCC is built for sparcv9-* targets... Yeah, we actually want to force -multrasparc

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread Jose E. Marchesi
On 01/04/2016 02:48 PM, John Paul Adrian Glaubitz wrote: > On 01/01/2016 02:36 PM, Matthias Klose wrote: >> how was this tested? The last time I checked that option was ignored. > > Argh, you are right, I actually mentioned that earlier [1]. So, looking at the code

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread Jose E. Marchesi
Not building -mcpu=ultrasparc results in ATOMIC_INT_LOCK_FREE == 1 which is responsible for the missing symbols on sparc64 multilib [2]. Maybe Jose (CC) can give some hints regarding the proper buildflags which will make gcc build with -mcpu=ultrasparc when -mcpu32 is

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread Matthias Klose
On 05.01.2016 11:31, Jose E. Marchesi wrote: Not building -mcpu=ultrasparc results in ATOMIC_INT_LOCK_FREE == 1 which is responsible for the missing symbols on sparc64 multilib [2]. Maybe Jose (CC) can give some hints regarding the proper buildflags which will make gcc

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread Jose E. Marchesi
> The default cpu option for -m32 in sparc is very very conservative: a v7 > cpu. It may be worth it to consider bumping it to ultrasparc/v9a or, at > least v9, when GCC is built for sparcv9-* targets... right, but v9 seems to imply 64bit/sparc64. used this patch to work

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread Jose E. Marchesi
> Your patch above uses -mcpu=ultrasparc, and that is not right for > sparc-* triplets targetting 32-bit processors. ohh ... ok, but 32bit sparc is gone in Debian anyway. If somebody wants to revive this architecture, then we probably would have to change the triplet as

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread Matthias Klose
On 05.01.2016 13:23, Jose E. Marchesi wrote: > Your patch above uses -mcpu=ultrasparc, and that is not right for > sparc-* triplets targetting 32-bit processors. ohh ... ok, but 32bit sparc is gone in Debian anyway. If somebody wants to revive this architecture, then we

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-05 Thread Matthias Klose
On 05.01.2016 13:06, Jose E. Marchesi wrote: > The default cpu option for -m32 in sparc is very very conservative: a v7 > cpu. It may be worth it to consider bumping it to ultrasparc/v9a or, at > least v9, when GCC is built for sparcv9-* targets... right, but v9 seems to

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-04 Thread John Paul Adrian Glaubitz
On 01/04/2016 02:48 PM, John Paul Adrian Glaubitz wrote: > On 01/01/2016 02:36 PM, Matthias Klose wrote: >> how was this tested? The last time I checked that option was ignored. > > Argh, you are right, I actually mentioned that earlier [1]. So, looking at the code [1] it seems the reason is

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-04 Thread John Paul Adrian Glaubitz
On 01/01/2016 02:36 PM, Matthias Klose wrote: > how was this tested? The last time I checked that option was ignored. Argh, you are right, I actually mentioned that earlier [1]. Not building -mcpu=ultrasparc results in ATOMIC_INT_LOCK_FREE == 1 which is responsible for the missing symbols on

Bug#809509: Processed: retitle 809509 to gcc-6: Please build with -mcpu=ultrasparc on sparc64 when building 32-bit binaries

2016-01-01 Thread Matthias Klose
how was this tested? The last time I checked that option was ignored.