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.

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

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 defined by

s390-linux fails to build

2015-07-23 Thread Nick Clifton
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**)' Makefile:1858: recipe for target 'xgcc' failed The patch below

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 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 and

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. The problem with

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