Re: gcc5: initdb produces gigabytes of _fsm files - Mailing list pgsql-hackers

From Andres Freund
Subject Re: gcc5: initdb produces gigabytes of _fsm files
Date
Msg-id 20150214165801.GA15326@awork2.anarazel.de
Whole thread Raw
In response to Re: gcc5: initdb produces gigabytes of _fsm files  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2015-02-12 18:16:37 -0500, Tom Lane wrote:
> I wrote:
> > Christoph Berg <cb@df7cb.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: chkpass with RANDOMIZE_ALLOCATED_MEMORY
Next
From: Robert Haas
Date:
Subject: Re: Manipulating complex types as non-contiguous structures in-memory