Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQqSj-0007HI-5U for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Aug 2022 13:30:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oQqSg-0000ig-Cg for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Aug 2022 13:30:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQqSg-0000iX-3J for pgsql-hackers@lists.postgresql.org; Wed, 24 Aug 2022 13:30:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQqSb-0000TH-7k for pgsql-hackers@postgresql.org; Wed, 24 Aug 2022 13:30:22 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 27ODUIDm1009407; Wed, 24 Aug 2022 09:30:18 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: Strip -mmacosx-version-min options from plperl build In-reply-to: <843fbed9-0749-bba4-b6b0-e3e7d1244b0d@enterprisedb.com> References: <8c4fcb72-2574-ff7c-4c25-1f032d4a2a57@enterprisedb.com> <2369869.1660830828@sss.pgh.pa.us> <9518842c-6844-0c99-85ec-ec43fba3115f@enterprisedb.com> <843fbed9-0749-bba4-b6b0-e3e7d1244b0d@enterprisedb.com> Comments: In-reply-to Peter Eisentraut message dated "Wed, 24 Aug 2022 12:12:15 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1009405.1661347818.1@sss.pgh.pa.us> Date: Wed, 24 Aug 2022 09:30:18 -0400 Message-ID: <1009406.1661347818@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Eisentraut writes: > This patch has failed on Cygwin lorikeet: > CREATE EXTENSION plperl; > +ERROR: incompatible library > "/home/andrew/bf/root/HEAD/inst/lib/postgresql/plperl.dll": missing > magic block Presumably this is caused by not having > -Wl,--export-all-symbols which is something we ought to be injecting for ourselves if we aren't doing anything to export the magic-block constant explicitly. But I too am confused why we haven't seen this elsewhere. regards, tom lane