Re: [PATCH] _GCC_PICFLAG: use -fPIC for s390x targets

2011-12-13 Thread Andreas Krebbel
On 12/07/2011 10:33 AM, Rainer Orth wrote: > Mike Frysinger writes: >> s390*-*-*) >> $1=-fpic >> ;; > > Perhaps it's better to remove both s390* cases and use the -fPIC default > everywhere, as does libtool. picflag.m4 is supposed to be usable > everywhere. >From a performance pe

Re: [PATCH] _GCC_PICFLAG: use -fPIC for s390x targets

2011-12-13 Thread Rainer Orth
Martin Schwidefsky writes: > On Wed, 07 Dec 2011 10:33:54 +0100 > Rainer Orth wrote: > >> Mike Frysinger writes: >> >> > s390*-*-*) >> >$1=-fpic >> >;; >> >> Perhaps it's better to remove both s390* cases and use the -fPIC default >> everywhere, as does libtool. picflag.m4 is su

Re: [PATCH] _GCC_PICFLAG: use -fPIC for s390x targets

2011-12-13 Thread Martin Schwidefsky
On Wed, 07 Dec 2011 10:33:54 +0100 Rainer Orth wrote: > Mike Frysinger writes: > > > s390*-*-*) > > $1=-fpic > > ;; > > Perhaps it's better to remove both s390* cases and use the -fPIC default > everywhere, as does libtool. picflag.m4 is supposed to be usable > everywhere. What

Re: [PATCH] _GCC_PICFLAG: use -fPIC for s390x targets

2011-12-07 Thread Rainer Orth
Mike Frysinger writes: > Building newer libiberty for s390x targets fails with relocation errors: > libiberty/pic/libiberty.a(hashtab.o): In function 'htab_create': > libiberty/hashtab.c:408:(.text+0x5e4): relocation truncated to fit: > R_390_GOT12 against symbol 'xcallo

[PATCH] _GCC_PICFLAG: use -fPIC for s390x targets

2011-12-06 Thread Mike Frysinger
Building newer libiberty for s390x targets fails with relocation errors: libiberty/pic/libiberty.a(hashtab.o): In function 'htab_create': libiberty/hashtab.c:408:(.text+0x5e4): relocation truncated to fit: R_390_GOT12 against symbol 'xcalloc' defined in .text section