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

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: test failure with gcc-12 -O3 -march=native
Date: 2022-08-12 01:06:02
Message-ID: 20220812010602.GD26198@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 11, 2022 at 01:03:43PM -0700, Andres Freund wrote:
> Hi,
>
> For my optimized builds I've long used -O3 -march=native. After one of the

On what kind of arch ?

> Given that I did not encounter this problem with gcc-12 before, and that
> gcc-12 has been released, it seems less likely to be a bug in our code
> highlighted by a new optimization and more likely to be a bug in a gcc bugfix,
> but it's definitely not clear.

debian testing is now defaulting to gcc-12.
https://tracker.debian.org/news/1348007/accepted-gcc-defaults-1198-source-into-unstable/

Are you sure you were building with gcc-12 and not gcc(default) which, until 3
weeks ago, was gcc-11 ?

--
Justin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-08-12 01:24:16 Re: test failure with gcc-12 -O3 -march=native
Previous Message Masahiko Sawada 2022-08-12 00:08:59 Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns