public inbox for [email protected]
help / color / mirror / Atom feedFrom: John Naylor <[email protected]>
To: [email protected]
Subject: pgsql: Use function attributes for SSE 4.2 even when targeting that ext
Date: Tue, 01 Apr 2025 05:06:59 +0000
Message-ID: <[email protected]> (raw)
Use function attributes for SSE 4.2 even when targeting that extension
On Red Hat 9 systems (or similar), the packaged gcc targets x86-64-v2,
but clang does not. This has caused build failures in the wake of
commit e2809e3a1 when building --with-llvm.
The most expedient fix is to use the same function attributes for
the inlined function as we do for the global function.
Reported-by: Kyotaro Horiguchi <[email protected]> (plus members skimmer and bumblebee)
Diagnosed-by: Tom Lane <[email protected]>
Tested-by: Todd Cook <[email protected]>
Discussion: https://postgr.es/m/CANWCAZZSxs3a1YRKehkgk2OHKbrVn+xZ+AWW8Co2R_f70NqqmA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/af0c248557aecb335462d980cb7319bdf85a5c66
Modified Files
--------------
src/include/port/pg_crc32c.h | 6 ++++++
1 file changed, 6 insertions(+)
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: Use function attributes for SSE 4.2 even when targeting that ext
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox