pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Jason Petersen <jason@citusdata.com>
Cc: pgsql-pkg-debian@postgresql.org, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x
Date: Wed, 31 May 2017 11:43:38 +0200
Message-ID: <20170531094338.6ysozitkzxv2vasl@msg.df7cb.de> (raw)
In-Reply-To: <1564.1496176732@sss.pgh.pa.us>
References: <980D4281-A01F-4F5D-9874-FFED701F403F@citusdata.com>
	<20160426151339.GF12563@msg.df7cb.de>
	<20160426153235.GA2862@msg.df7cb.de>
	<20160427230516.44fuzdxlifch2wwp@alap3.anarazel.de>
	<20160428080824.GA22412@msg.df7cb.de>
	<20170529155850.qojdfrwkkqnjb3ap@msg.df7cb.de>
	<27883.1496087111@sss.pgh.pa.us>
	<20170530161541.koj5xbvvovrrtxtd@alap3.anarazel.de>
	<24279.1496162840@sss.pgh.pa.us>
	<1564.1496176732@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Re: Tom Lane 2017-05-30 <1564.1496176732@sss.pgh.pa.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


-- 
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (20+ messages)  latest in thread

Message-ID: <20170531094338.6ysozitkzxv2vasl@msg.df7cb.de>
Permalink:  ../20170531094338.6ysozitkzxv2vasl@msg.df7cb.de/
Also on:    postgresql.org/message-id/20170531094338.6ysozitkzxv2vasl@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-pkg-debian@postgresql.org
  Cc: myon@debian.org, tgl@sss.pgh.pa.us, andres@anarazel.de, jason@citusdata.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x
  In-Reply-To: <20170531094338.6ysozitkzxv2vasl@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox