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

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: Andy Fan <zhihuifan1213(at)163(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-16 02:32:54
Message-ID: CANWCAZYKvKEZyvLmY5=+wOQg2hNjAbOeA9d_-pAupqJ+5Of__g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Richard Guo 2025-06-16 07:22:49 Re: BUG #18953: Planner fails to build plan for complex query with LATERAL references
Previous Message vignesh C 2025-06-16 02:27:50 Re: Logical replication 'invalid memory alloc request size 1585837200' after upgrading to 17.5