Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5xwh-0002qc-9d for pgsql-committers@arkaria.postgresql.org; Fri, 28 Sep 2018 18:56:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g5xwf-0007Hs-Al for pgsql-committers@arkaria.postgresql.org; Fri, 28 Sep 2018 18:56:57 +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.89) (envelope-from ) id 1g5xwf-0007Hl-5S for pgsql-committers@lists.postgresql.org; Fri, 28 Sep 2018 18:56:57 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5xwc-0004it-LP for pgsql-committers@lists.postgresql.org; Fri, 28 Sep 2018 18:56:56 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 89266CE4; Fri, 28 Sep 2018 14:56:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 28 Sep 2018 14:56:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=t/W1PW1VFb8fQYHSPE64aqMMGCmruMtfVkYQ7QC5TJQ=; b=ngQyY7iq hiLo76DcNCPyfJbSKoYIRPGUhCN2YDsGk/MI6eVlEp+GvOfLgSacio8u1R9d7VIb 2QVFYpAUAxiHXhGZ+0UVsdPxFDnXd3GLUJcTVELd/7YTgxxXmCn5jsxmwmMyJzI2 cdGbBpUL/yvIBKgPw21op1b0ToRp/km7175AbLJgZxEAyjchSO662RMv7jjdiRRV rVXhaWvqsqX7HGotcEZylt81Rvptfed52VueT6l4SrVfj8OcALyZaW1Il57JqUKN ov8dILMZ3zeMULyKMEPeNnPHuREHrM/m5ieuU4s1uhvcOj54PIcCaSI+fXT8v3ew vEdVsToclf3EcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=t/W1PW1VFb8fQYHSPE64aqMMGCmru MtfVkYQ7QC5TJQ=; b=oqqlDxE/zjnBly2k5/4i9eOum+fxLybAv+y9jbgQuQktZ jOnD3Y9pbRtk00MW1vwt89dzWP0q34WWF2nR5eWcGDpMh4Loc6raNXnnrW4V1MU2 ku97t2PdJXwy4kdgXFCsHFcP3AKbb81xhuIK1w+KulCAZf7gqvCF3jE5lP75FL4H b+tW4r4ZdaVFzSaZ/yiNbmYr4QctUSm0DMKR/z1SkgVVhyyZoVfKHdvadGTavs3S td6EhbUemIYaCvf4mTYfsKC72Q6gts5Jg3QKNUj8a+tOWA1Lj46j5sUy/IaqacVk ssOWZBj9YURbQwRAfnRw0Yl+SShu+vYlSa6ylt0Qw== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (unknown [172.58.94.169]) by mail.messagingengine.com (Postfix) with ESMTPA id 0E40EE474F; Fri, 28 Sep 2018 14:56:51 -0400 (EDT) Date: Fri, 28 Sep 2018 11:56:48 -0700 From: Andres Freund To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Build src/common files as a library with -fPIC. Message-ID: <20180928185648.afdfgyw2wpagkved@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-09-28 18:28:30 +0000, Tom Lane wrote: > Build src/common files as a library with -fPIC. > > Build a third version of libpgcommon.a, with -fPIC and -DFRONTEND, > as commit ea53100d5 did for src/port. Use that in libpq to avoid > symlinking+rebuilding source files retail. > > Also adjust ecpg to use the new src/port and src/common libraries. > > Arrange to install these libraries, too, to simplify out-of-tree > builds of shared libraries that need any of these modules. > > Discussion: https://postgr.es/m/13022.1538003440@sss.pgh.pa.us > Discussion: https://postgr.es/m/E1g5Y8r-0006vs-QA@gemulon.postgresql.org I assume you noticed https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=woodlouse&dt=2018-09-28%2018%3A42%3A53 https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=dory&dt=2018-09-28%2018%3A30%3A25 Looks like Mkvcbuild.pm needs some tweaking, too. Greetings, Andres Freund