pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Christoph Berg <myon@debian.org>
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: Tue, 30 May 2017 12:47:20 -0400
Message-ID: <24279.1496162840@sss.pgh.pa.us> (raw)
In-Reply-To: <20170530161541.koj5xbvvovrrtxtd@alap3.anarazel.de>
References: <A37C3A5E-DDEA-40C9-BB67-133B42E4E0A8@citusdata.com>
	<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>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Andres Freund <andres@anarazel.de> writes:
> On 2017-05-29 15:45:11 -0400, Tom Lane wrote:
>> Maybe this is small enough to not be something we need to worry about,
>> but I'm wondering if we should ask citus and other large .so's to set
>> some additional make flag that would cue usage of -fPIC over -fpic.

> I think we can fix this easily enough in Citus, postgis, and whatever.
> But it's not a particularly good user/developer experience, and
> presumably is going to become more and more common. On x86 there
> shouldn't be a difference in efficiency between the two, but some others
> will see some.  Given that most distributions switched to building the
> main executables with -fPIE anyway, to allow for ASLR, it seems unlikely
> that the intra extension overhead is going to be very meaningful in
> comparison.

Very possibly true, but I wish we had some hard facts and not just
guesses.

			regards, tom lane


-- 
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: <24279.1496162840@sss.pgh.pa.us>
Permalink:  ../24279.1496162840@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24279.1496162840@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, andres@anarazel.de, myon@debian.org, jason@citusdata.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x
  In-Reply-To: <24279.1496162840@sss.pgh.pa.us>

* 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