Re: pltcl crash on recent macOS

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-06-13T21:05:32Z
Lists: pgsql-hackers
On 13.06.22 18:01, Tom Lane wrote:
> Having said that, I wonder whether the position of the -bundle_loader
> switch in the command line is relevant to which way the hash_search
> reference is resolved.  Seems like we could put it in front of the
> various -l options if that'd help.

Switching the order of -bundle_loader and -lc did not help.



Commits

  1. PL/Tcl: Don't link with -lc explicitly

  2. Build pltcl.so correctly on platforms that want dependent