Re: gcc5: initdb produces gigabytes of _fsm files

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christoph Berg <cb(at)df7cb(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: gcc5: initdb produces gigabytes of _fsm files
Date: 2015-02-14 16:58:01
Message-ID: 20150214165801.GA15326@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2015-02-12 18:16:37 -0500, Tom Lane wrote:
> I wrote:
> > Christoph Berg <cb(at)df7cb(dot)de> writes:
> >> gcc5 is lurking in Debian experimental, and it's breaking initdb.
>
> > Yeah, I just heard the same about Red Hat as well:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1190978
> > Not clear if it's an outright compiler bug or they've just found some
> > creative new way to make an optimization assumption we're violating.
>
> Apparently, it's the former. See
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1190978#c3
>
> I will be unamused if the gcc boys try to make an argument that they
> did some valid optimization here.

Fixed in gcc upstream https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65053

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-02-14 17:24:57 Re: Manipulating complex types as non-contiguous structures in-memory
Previous Message Tom Lane 2015-02-14 16:56:50 Re: chkpass with RANDOMIZE_ALLOCATED_MEMORY