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

From: Andy Fan <zhihuifan1213(at)163(dot)com>
To: John Naylor <johncnaylorls(at)gmail(dot)com>
Cc: Soumyadeep Chakraborty <soumyadeep2007(at)gmail(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Invalid control file checksum with AVX-512 during initdb on a clang19 -O0 build
Date: 2025-06-15 01:23:41
Message-ID: 87jz5ddcgy.fsf@163.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

John Naylor <johncnaylorls(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Charles Samborski 2025-06-15 16:20:11 Lower priority of the configure option --with-libraries causes wrong lib resolution
Previous Message Tom Lane 2025-06-14 22:26:37 Re: BUG #18950: pgsql function that worked in Postgresql 16 does not return in Postgresql 17