Re: test failure with gcc-12 -O3 -march=native - Mailing list pgsql-hackers

From Andres Freund
Subject Re: test failure with gcc-12 -O3 -march=native
Date
Msg-id 20220812042854.ytiy4vt5qrcppagw@awork3.anarazel.de
Whole thread Raw
In response to Re: test failure with gcc-12 -O3 -march=native  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi,

On 2022-08-11 19:08:14 -0700, Andres Freund wrote:
> On 2022-08-11 18:24:16 -0700, Andres Freund wrote:
> > I'm now bisecting...
> 
> I found the commit triggering it [1]. Oddly it's a change from a few months
> ago, and I can reconstruct from dpkg.log and shell history that I definitely
> ran the tests many times since upgrading the compiler.  I did however clean my
> ccache cache yesterday, I wonder if somehow the 'old' version got stuck in
> it. ccache says it checks the compiler's mtime though.

Spent a fair bit of time reducing the problem to something triggering the
problem in isolation. This is somewhat scary - I'd be quite surprised if this
were the only place triggering the bug.

And I suspect that it doesn't actually require -mtune=skylake, but I'm not
sure.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106590

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Zhihong Yu
Date:
Subject: Re: avoid negating LONG_MIN in cash_out()
Next
From: Bharath Rupireddy
Date:
Subject: Remove log_checkpoints = true from .pl tests