Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3
Date
Msg-id 12441.1401043380@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-bugs
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-05-25 13:42:48 -0400, Tom Lane wrote:
>> Hm.  It would be pretty disappointing to have to do that, because it would
>> be admitting complete defeat in trying to get the various Windows build
>> toolchains to have consistent link behavior.  We put enough sweat into
>> that goal last winter that I don't really want to just walk away.

> Yea. And it did catch a couple of bugs...

> How about removing it for 9.4 only once that has branched? That'd make
> less users be affected while we hope for mingw to fix that?

I fear that'd just mean we deal with it again next year :-(.

It occurs to me that we could make configure probe for whether
--disable-auto-import breaks simple test programs on Mingw.  That would
catch this particular manifestation with _set_invalid_parameter_handle,
although there would still be opportunities to fail later perhaps.
Not sure if it's worth the trouble.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3
Next
From: Ariel Bello
Date:
Subject: Postgres 9.3 command line displaying language