Re: Recent MinGW postgres builds with -O2 do not pass regression tests

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Yeb Havinga <yebhavinga(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Recent MinGW postgres builds with -O2 do not pass regression tests
Date: 2012-03-18 15:33:44
Message-ID: 4F660058.9000907@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-03-18 15:45:47 Re: Memory usage during sorting
Previous Message Jeremy Harris 2012-03-18 15:32:50 Re: Memory usage during sorting