Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x

From: Christoph Berg <myon(at)debian(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Jason Petersen <jason(at)citusdata(dot)com>, pgsql-pkg-debian(at)postgresql(dot)org, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x
Date: 2017-05-31 09:43:38
Message-ID: 20170531094338.6ysozitkzxv2vasl@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-pkg-debian

Re: Tom Lane 2017-05-30 <1564(dot)1496176732(at)sss(dot)pgh(dot)pa(dot)us>
> It'd be interesting if people could gather similar numbers on other
> platforms of more real-world relevance, such as ppc64. But based on
> this small sample, I wouldn't object to just going to -fPIC across
> the board.

ppc64el, Debian unstable:

text data bss dec hex filename
-fpic: 79520 928 1768 82216 14128 postgres_fdw.so
-fPIC: 79520 928 1768 82216 14128 postgres_fdw.so
-> no change

s390x, Debian unstable:

text data bss dec hex filename
-fpic: 80735 2552 48 83335 14587 postgres_fdw.so
-fPIC: 81247 2552 48 83847 14787 postgres_fdw.so
-> +0.61%

arm64, Debian unstable:

text data bss dec hex filename
-fpic: 64130 2600 48 66778 104da postgres_fdw.so
-fPIC: 64274 2600 48 66922 1056a postgres_fdw.so
-> +0.22%

sparc64, Debian unstable:

text data bss dec hex filename
-fpic: 75804 3296 48 79148 1352c postgres_fdw.so
-fPIC: 72748 920 48 73716 11ff4 postgres_fdw.so
-> 6.9% decrease (!)

9.6.3, gcc (Debian 6.3.0-18) 6.3.0 20170516, -O2, all objects unstripped
(sparc64 is gcc (Debian 6.3.0-17) 6.3.0 20170510)

Christoph

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-05-31 11:53:53 Re: Use of non-restart-safe storage by temp_tablespaces
Previous Message Petr Jelinek 2017-05-31 09:21:56 Re: logical replication busy-waiting on a lock

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Tom Lane 2017-05-31 13:55:31 Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x
Previous Message Robert Haas 2017-05-30 20:56:22 Re: [PATCH] relocation truncated to fit: citus build failure on s390x