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 1oRD8s-0007jJ-3j for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Aug 2022 13:43:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oRD8r-0007Hi-3R for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Aug 2022 13:43:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRD8q-0007HZ-QR for pgsql-hackers@lists.postgresql.org; Thu, 25 Aug 2022 13:43:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRD8n-0007yT-GR for pgsql-hackers@postgresql.org; Thu, 25 Aug 2022 13:43:28 +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 27PDhJAb1465159; Thu, 25 Aug 2022 09:43:19 -0400 From: Tom Lane To: Peter Eisentraut cc: Andrew Dunstan , pgsql-hackers Subject: Re: Strip -mmacosx-version-min options from plperl build In-reply-to: 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> <1009406.1661347818@sss.pgh.pa.us> <65922608-fe34-fee0-a0be-82b6cd7daaea@dunslane.net> <1181344.1661381760@sss.pgh.pa.us> <27e1214f-26e8-7970-ad08-6da1bccdf985@dunslane.net> Comments: In-reply-to Peter Eisentraut message dated "Thu, 25 Aug 2022 15:01:14 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1465157.1661434999.1@sss.pgh.pa.us> Date: Thu, 25 Aug 2022 09:43:19 -0400 Message-ID: <1465158.1661434999@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Eisentraut writes: >>> In short: if the Cygwin Perl headers redefine PGDLLEXPORT (unlikely) >>> or somehow #define "__attribute__()" or "visibility()" into no-ops >>> (perhaps more likely) then we could explain this failure, and that >>> would also explain why it doesn't fail elsewhere. > This could be checked by running plperl.c through the preprocessor > (replace gcc -c plperl.c -o plperl.o by gcc -E plperl.c -o plperl.i) and > seeing what becomes of those symbols. Yeah, that was what I was going to suggest: grep the "-E" output for _PG_init and Pg_magic_func and confirm what their extern declarations look like. > If we want to get the buildfarm green again sooner, we could force a > --export-all-symbols directly. I'm not hugely upset as long as it's just the one machine failing. regards, tom lane