Re: Invalid control file checksum with AVX-512 during initdb on a clang19 -O0 build

Andy Fan <zhihuifan1213@163.com>

From: Andy Fan <zhihuifan1213@163.com>
To: John Naylor <johncnaylorls@gmail.com>
Cc: Soumyadeep Chakraborty <soumyadeep2007@gmail.com>, Nathan Bossart <nathandbossart@gmail.com>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2025-06-15T01:23:41Z
Lists: pgsql-bugs

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Workaround code generation bug in clang

  2. Don't reduce output request size on non-Unix-socket connections.

John Naylor <johncnaylorls@gmail.com> writes:

Hi John,

> Okay, in that case we'd better just kludge around it by disabling the
> runtime check with clang at -O0 (attached). That will at least get
> these kind of builds working while I get more info for a bug report.  

I run into the same issue at [1] and verified your patch works. Thanks
for the fix!

[1] https://www.postgresql.org/message-id/87o6uqd3iv.fsf%40163.com

-- 
Best Regards
Andy Fan