Re: pgsql: Avoid unsatisfied-external-reference errors in static inlines.

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Avoid unsatisfied-external-reference errors in static inlines.
Date: 2022-07-14 14:48:25
Message-ID: 01214fad-1249-183c-2161-837d8f1c1de0@enterprisedb.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 14.07.22 12:05, Peter Eisentraut wrote:
> On 13.07.22 20:24, Tom Lane wrote:
>> Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> writes:
>>> What platforms did this fail on?  How can one observe the failure
>>> locally?
>>
>> wrasse at least:
>>
>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=wrasse&dt=2022-07-13%2014%3A49%3A17
>>
>>
>> I think possibly you could duplicate the problem with gcc
>> by using -fkeep-inline-functions, but I've not tried.
>
> Confirmed, -fkeep-inline-functions will catch it.  Good to know.

It seems that -fkeep-inline-functions is more demanding than what wrasse
is running on. I need the attached patch to get it to build cleanly.

(The first hunk undoes some parts of
2cd2569c72b8920048e35c31c9be30a6170e1410, but the others are unrelated
and old.)

I think this would be good to apply so that this method of checking
inline functions is available in the future.

Attachment Content-Type Size
0001-WIP-Support-gcc-fkeep-inline-functions.patch text/plain 3.2 KB

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-07-14 15:19:06 Re: pgsql: Avoid unsatisfied-external-reference errors in static inlines.
Previous Message Thomas Munro 2022-07-14 14:21:59 pgsql: Don't clobber postmaster sigmask in dsm_impl_resize.