pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Support gcc -fkeep-inline-functions
Date: Fri, 15 Jul 2022 10:22:13 +0000
Message-ID: <E1oCISb-000J1t-2r@gemulon.postgresql.org> (raw)

Support gcc -fkeep-inline-functions

For some systems, we need to avoid unsatisfied-external-reference
errors in static inlines.  See
27d2693187d1bcf2563ee7142ba37d4788c8d52b for example.  In order to
test that on other systems, the gcc option -fkeep-inline-functions can
be used.  But it actually is a bit stricter than what we currently
have in place, so fix up a few more places along the lines of the
above commit.  (This undoes part of commit
2cd2569c72b8920048e35c31c9be30a6170e1410.)

(Note, this does not add that gcc option anywhere to the build system,
it just makes it possible to use it successfully manually.)

Discussion: https://www.postgresql.org/message-id/flat/E1oBgIW-002ehP-VJ%40gemulon.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3e9ca526012b0913db8285211ee52d5d6225334d

Modified Files
--------------
src/include/storage/bufpage.h | 24 +++++++++---------------
src/include/utils/rel.h       |  2 ++
src/include/utils/snapmgr.h   |  2 ++
3 files changed, 13 insertions(+), 15 deletions(-)



Message-ID: <E1oCISb-000J1t-2r@gemulon.postgresql.org>
Permalink:  ../E1oCISb-000J1t-2r@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oCISb-000J1t-2r@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Support gcc -fkeep-inline-functions
  In-Reply-To: <E1oCISb-000J1t-2r@gemulon.postgresql.org>
  References: <E1oCISb-000J1t-2r@gemulon.postgresql.org>

* 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