Re: [HACKERS] [PATCH] relocation truncated to fit: citus buildfailure on s390x - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: [HACKERS] [PATCH] relocation truncated to fit: citus buildfailure on s390x
Date
Msg-id 20170530172119.jgdqc6httm2arh4j@msg.df7cb.de
Whole thread Raw
In response to Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Re: Tom Lane 2017-05-30 <25131.1496163846@sss.pgh.pa.us>
> Christoph Berg <myon@debian.org> writes:
> > My main point here would be that we are already setting this for all
> > extensions for sparc and sparc64, so s390(x) would just follow suit.
>
> For some values of "we", sure ;-).

Afaict for all values of "we":

ifeq "$(findstring sparc,$(host_cpu))" "sparc"
CFLAGS_SL = -fPIC
else
CFLAGS_SL = -fpic
endif

https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/makefiles/Makefile.linux

Christoph


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x
Next
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] Re: Alter subscription..SET - NOTICE message is comingfor table which is already removed