Re: pltcl crash on recent macOS - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: pltcl crash on recent macOS
Date
Msg-id CA+hUKGKcQkS0a2g0GSRbo1ySv4gYbp6T9FL_MPvNg0g7cTWySQ@mail.gmail.com
Whole thread Raw
In response to Re: pltcl crash on recent macOS  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: pltcl crash on recent macOS  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
On Tue, Jun 14, 2022 at 8:21 AM Peter Eisentraut
<peter.eisentraut@enterprisedb.com> wrote:
> The difference is that I use CC=gcc-11.  I have change to CC=cc, then it
> works (nm output shows "from executable").  So it's gcc that gets thrown
> off by the -lc.

Hrmph, I changed my CC to "ccache gcc-mp-11" (what MacPorts calls GCC
11), and I still can't reproduce the problem.  I still get "(from
executable)".  In your original quote you showed "gcc", not "gcc-11",
which (assuming it is found as /usr/bin/gcc) is just a little binary
that redirects to clang... trying that, this time without ccache in
the mix... and still no cigar.  So something is different about GCC 11
from homebrew, or the linker invocation it produces under the covers,
or the linker it's using?



pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: better page-level checksums
Next
From: Peter Geoghegan
Date:
Subject: Re: better page-level checksums