Re: [PATCH] S/390: Set ABI default based on uname

2018-03-20 Thread Michael Matz
Hi, On Tue, 20 Mar 2018, Andreas Krebbel wrote: > On 03/13/2018 04:53 PM, Michael Matz wrote: > > Hi, > > > > On Tue, 13 Mar 2018, Andreas Krebbel wrote: > > > >> Leaving history aside don't you agree that it would have been more > >> sensible to require a -m option only if you want to build

Re: [PATCH] S/390: Set ABI default based on uname

2018-03-20 Thread Andreas Krebbel
On 03/13/2018 04:53 PM, Michael Matz wrote: > Hi, > > On Tue, 13 Mar 2018, Andreas Krebbel wrote: > >> Leaving history aside don't you agree that it would have been more >> sensible to require a -m option only if you want to build for an ABI >> different from what is currently mandated by the

Re: [PATCH] S/390: Set ABI default based on uname

2018-03-13 Thread Michael Matz
Hi, On Tue, 13 Mar 2018, Andreas Krebbel wrote: > Leaving history aside don't you agree that it would have been more > sensible to require a -m option only if you want to build for an ABI > different from what is currently mandated by the personality setting? I agree with you. But we can't

Re: [PATCH] S/390: Set ABI default based on uname

2018-03-13 Thread Andreas Krebbel
On 03/12/2018 06:50 PM, Jakub Jelinek wrote: > On Mon, Mar 12, 2018 at 06:42:15PM +0100, Andreas Krebbel wrote: >> On 03/12/2018 06:31 PM, Jakub Jelinek wrote: >>> On Mon, Mar 12, 2018 at 06:28:09PM +0100, Andreas Krebbel wrote: Currently the default ABI option for a GCC built on a 64 bit

Re: [PATCH] S/390: Set ABI default based on uname

2018-03-12 Thread Jakub Jelinek
On Mon, Mar 12, 2018 at 06:42:15PM +0100, Andreas Krebbel wrote: > On 03/12/2018 06:31 PM, Jakub Jelinek wrote: > > On Mon, Mar 12, 2018 at 06:28:09PM +0100, Andreas Krebbel wrote: > >> Currently the default ABI option for a GCC built on a 64 bit system is > >> always -m64. This is inconvenient

Re: [PATCH] S/390: Set ABI default based on uname

2018-03-12 Thread Andreas Krebbel
On 03/12/2018 06:31 PM, Jakub Jelinek wrote: > On Mon, Mar 12, 2018 at 06:28:09PM +0100, Andreas Krebbel wrote: >> Currently the default ABI option for a GCC built on a 64 bit system is >> always -m64. This is inconvenient when e.g. building 32 bit libraries >> on a 64 bit system. The usual way

Re: [PATCH] S/390: Set ABI default based on uname

2018-03-12 Thread Jakub Jelinek
On Mon, Mar 12, 2018 at 06:28:09PM +0100, Andreas Krebbel wrote: > Currently the default ABI option for a GCC built on a 64 bit system is > always -m64. This is inconvenient when e.g. building 32 bit libraries > on a 64 bit system. The usual way to do this is to set the personality > to s390 (32

[PATCH] S/390: Set ABI default based on uname

2018-03-12 Thread Andreas Krebbel
Currently the default ABI option for a GCC built on a 64 bit system is always -m64. This is inconvenient when e.g. building 32 bit libraries on a 64 bit system. The usual way to do this is to set the personality to s390 (32 bit) and let the configure script do the right thing. Having a GCC which