Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFkOL-0001ZI-Vr for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 30 May 2017 16:53:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dFkOK-0001V4-IB for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 30 May 2017 16:53:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFkOF-0001Hw-WA; Tue, 30 May 2017 16:53:04 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFkOB-0004WR-Ui; Tue, 30 May 2017 16:53:03 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1470:60c0:76e5:bff:fef3:7e00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3wcfmp4trNz3F0R; Tue, 30 May 2017 18:52:58 +0200 (CEST) Date: Tue, 30 May 2017 18:52:58 +0200 From: Christoph Berg To: Andres Freund Cc: Tom Lane , Jason Petersen , pgsql-pkg-debian@postgresql.org, PostgreSQL Hackers Subject: Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x Message-ID: <20170530165258.ptkt2u457wqfmqye@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Andres Freund , Tom Lane , Jason Petersen , pgsql-pkg-debian@postgresql.org, PostgreSQL Hackers 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170530161541.koj5xbvvovrrtxtd@alap3.anarazel.de> User-Agent: NeoMutt/20170113 (1.7.2) X-Pg-Spam-Score: -1.9 (-) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org 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