pgsql: Workaround code generation bug in clang - Mailing list pgsql-committers

From John Naylor
Subject pgsql: Workaround code generation bug in clang
Date
Msg-id E1uQzbV-001rDj-1O@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Workaround code generation bug in clang

At optimization level -O0, builds on recent clang fail to produce the
correct CRC32C with our AVX-512 implementation. For now, just disable
the runtime check for clang at -O0. When this is fixed upstream and we
know the extent of the breakage, we can adjust to be version-specific.

Reported-by: Soumyadeep Chakraborty <soumyadeep2007@gmail.com>
Reported-by: Andy Fan <zhihuifan1213@163.com>
Tested-by: Andy Fan <zhihuifan1213@163.com>
Discussion: https://postgr.es/m/CAE-ML%2B-OV6p9uvCFBcSQjZUEh__y0h-KjN%2BBseyGJHt7u8EP%2Bw%40mail.gmail.com
Discussion: https://postgr.es/m/87o6uqd3iv.fsf%40163.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f83f14881c7a09198863cb46033af8959a462d8b

Modified Files
--------------
src/port/pg_crc32c_sse42_choose.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: psql: Change new \conninfo to use SSL instead of TLS
Next
From: Peter Eisentraut
Date:
Subject: pgsql: libpq-oauth: Add exports.list to .gitignore