pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
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 18:52:58 +0200
Message-ID: <20170530165258.ptkt2u457wqfmqye@msg.df7cb.de> (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>

Re: Andres Freund 2017-05-30 <20170530161541.koj5xbvvovrrtxtd@alap3.anarazel.de>
> 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.

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.

-fPIC is the default in Debian now, see the discussion starting at
https://lists.debian.org/debian-devel/2016/05/msg00028.html
including the Fedora: https://lists.debian.org/debian-devel/2016/05/msg00219.html
and Ubuntu: https://lists.debian.org/debian-devel/2016/05/msg00225.html
situation, which all do that.

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: <20170530165258.ptkt2u457wqfmqye@msg.df7cb.de>
Permalink:  ../20170530165258.ptkt2u457wqfmqye@msg.df7cb.de/
Also on:    postgresql.org/message-id/20170530165258.ptkt2u457wqfmqye@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, andres@anarazel.de, tgl@sss.pgh.pa.us, jason@citusdata.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x
  In-Reply-To: <20170530165258.ptkt2u457wqfmqye@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