pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Strip -mmacosx-version-min options from plperl build
Date: Thu, 25 Aug 2022 09:43:19 -0400
Message-ID: <1465158.1661434999@sss.pgh.pa.us> (raw)
In-Reply-To: <c4afec71-ba16-c589-b094-66c2514afa4c@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>
	<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>
	<c4afec71-ba16-c589-b094-66c2514afa4c@enterprisedb.com>

Peter Eisentraut <peter.eisentraut@enterprisedb.com> 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





view thread (33+ messages)  latest in thread

Message-ID: <1465158.1661434999@sss.pgh.pa.us>
Permalink:  ../1465158.1661434999@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1465158.1661434999@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@enterprisedb.com, andrew@dunslane.net
  Subject: Re: Strip -mmacosx-version-min options from plperl build
  In-Reply-To: <1465158.1661434999@sss.pgh.pa.us>
  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> <c4afec71-ba16-c589-b094-66c2514afa4c@enterprisedb.com> <1465158.1661434999@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox