Re: s390-linux fails to build

2015-07-24 Thread Dominik Vogt
On Thu, Jul 23, 2015 at 03:03:29PM +0200, Ulrich Weigand wrote: > Oh, I agree this will not be *used*. I just wanted to point out that it > will not *break* cross-compilers as is. I've just verified that cross compilation *does* work at the moment with the patches quoted in some earlier post. (A

Re: s390-linux fails to build

2015-07-23 Thread Dominik Vogt
On Thu, Jul 23, 2015 at 03:09:46PM +0200, Jakub Jelinek wrote: > On Thu, Jul 23, 2015 at 03:03:29PM +0200, Ulrich Weigand wrote: > > Oh, I agree this will not be *used*. I just wanted to point out that it > > will not *break* cross-compilers as is. > > I think it would be better for consistency a

Re: s390-linux fails to build

2015-07-23 Thread Jakub Jelinek
On Thu, Jul 23, 2015 at 03:03:29PM +0200, Ulrich Weigand wrote: > Jakub Jelinek wrote: > > On Thu, Jul 23, 2015 at 02:46:43PM +0200, Ulrich Weigand wrote: > > > > I bet that is gone break also cross-compilers from s390* to other > > > > targets. > > > > > > I think this should be fine on s390. T

Re: s390-linux fails to build

2015-07-23 Thread Ulrich Weigand
Jakub Jelinek wrote: > On Thu, Jul 23, 2015 at 02:46:43PM +0200, Ulrich Weigand wrote: > > > I bet that is gone break also cross-compilers from s390* to other targets. > > > > I think this should be fine on s390. The problem with i386 is that > > the driver-native.c file uses data types only defi

Re: s390-linux fails to build

2015-07-23 Thread Jakub Jelinek
On Thu, Jul 23, 2015 at 02:46:43PM +0200, Ulrich Weigand wrote: > This is supposed to be fixed by this pending patch: > https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01546.html LGTM. > > The config.host change also looks wrong, e.g. i?86 or mips have: > > i[34567]86-*-* \ > > | x86_64-*-* ) >

Re: s390-linux fails to build

2015-07-23 Thread Ulrich Weigand
Jakub Jelinek wrote: > On Thu, Jul 23, 2015 at 01:03:19PM +0100, Nick Clifton wrote: > > Hi Helmut, Hi Ulrich, Hi Andreas, > > > > A toolchain configured as --target=s390-linux currently fails to build > > gcc because of an undefined function: > > > > undefined reference to `s390_host_det

Re: s390-linux fails to build

2015-07-23 Thread Jakub Jelinek
On Thu, Jul 23, 2015 at 01:03:19PM +0100, Nick Clifton wrote: > Hi Helmut, Hi Ulrich, Hi Andreas, > > A toolchain configured as --target=s390-linux currently fails to build > gcc because of an undefined function: > > undefined reference to `s390_host_detect_local_cpu(int, char const**)' >