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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Paragon Corporation <lr(at)pcorp(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3
Date: 2014-05-25 18:43:00
Message-ID: 12441.1401043380@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andres Freund <andres(at)2ndquadrant(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message eike 2014-05-25 20:12:49 BUG #10446: start fails: data has group access
Previous Message Andres Freund 2014-05-25 17:49:45 Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3