Re: Strip -mmacosx-version-min options from plperl build
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>,
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-08-24T14:24:50Z
Lists: pgsql-hackers
On 2022-08-24 We 09:30, Tom Lane wrote: > Peter Eisentraut <peter.eisentraut@enterprisedb.com> 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. > > Me too. I note that we have -Wl,--out-implib=libplperl.a but we don't appear to do anything with libplperl.a. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
Commits
-
mingw: Define PGDLLEXPORT as __declspec (dllexport) as done for msvc
- 0e497eadb1f4 16.0 landed
-
Fix PL/Perl build on Cygwin
- 1c3aa54502dd 16.0 landed
-
Remove further unwanted linker flags from perl_embed_ldflags
- b4e936859dc4 16.0 landed