Re: Recent MinGW postgres builds with -O2 do not pass regression tests - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Recent MinGW postgres builds with -O2 do not pass regression tests
Date
Msg-id 4F660058.9000907@dunslane.net
Whole thread Raw
In response to Recent MinGW postgres builds with -O2 do not pass regression tests  (Yeb Havinga <yebhavinga@gmail.com>)
List pgsql-hackers

On 03/18/2012 11:12 AM, Yeb Havinga wrote:
> When building a minimal PostgreSQL under the latest mingw (20111118), 
> make check will give a few dozen fails with the server exiting on code 
> 2. The build is fine when -O2 is removed from the CFLAGS. This 
> behaviour is present on all revs on the REL9_1_STABLE branch that I 
> tested, among which were 9.1.3 and 9.1.0.
>
>
>

That makes it look like a mingw bug to me.

Have you tried with the latest 32 bit compiler from mingw-w64, which 
appears to be 20111219?

cheers

andrew


pgsql-hackers by date:

Previous
From: Jeremy Harris
Date:
Subject: Re: Memory usage during sorting
Next
From: Tom Lane
Date:
Subject: Re: Memory usage during sorting