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

John Naylor <johncnaylorls@gmail.com>

From: John Naylor <johncnaylorls@gmail.com>
To: Andy Fan <zhihuifan1213@163.com>
Cc: Soumyadeep Chakraborty <soumyadeep2007@gmail.com>, Nathan Bossart <nathandbossart@gmail.com>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2025-06-16T02:32:54Z
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.

On Sun, Jun 15, 2025 at 8:23 AM Andy Fan <zhihuifan1213@163.com> wrote:
>
> John Naylor <johncnaylorls@gmail.com> writes:
> > 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!

Pushed, thanks for testing, and thanks Soumyadeep for the report!

-- 
John Naylor
Amazon Web Services