Re: test failure with gcc-12 -O3 -march=native

From: Andres Freund <andres(at)anarazel(dot)de>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: test failure with gcc-12 -O3 -march=native
Date: 2022-08-12 04:28:54
Message-ID: 20220812042854.ytiy4vt5qrcppagw@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2022-08-12 04:30:53 Remove log_checkpoints = true from .pl tests
Previous Message Zhihong Yu 2022-08-12 03:36:42 Re: avoid negating LONG_MIN in cash_out()