Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFkIw-00013L-SN for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 30 May 2017 16:47:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dFkIw-0006ZO-Ez for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 30 May 2017 16:47:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFkIw-0006Z9-3r; Tue, 30 May 2017 16:47:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFkIt-0005UR-CQ; Tue, 30 May 2017 16:47:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v4UGlKR5024280; Tue, 30 May 2017 12:47:20 -0400 From: Tom Lane To: Andres Freund cc: Christoph Berg , Jason Petersen , pgsql-pkg-debian@postgresql.org, PostgreSQL Hackers Subject: Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x In-reply-to: <20170530161541.koj5xbvvovrrtxtd@alap3.anarazel.de> 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> Comments: In-reply-to Andres Freund message dated "Tue, 30 May 2017 09:15:41 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24278.1496162840.1@sss.pgh.pa.us> Date: Tue, 30 May 2017 12:47:20 -0400 Message-ID: <24279.1496162840@sss.pgh.pa.us> 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 Andres Freund 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