pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: lr@pcorp.us
Cc: pgsql-bugs@postgresql.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: Sun, 17 Aug 2014 19:55:03 -0400
Message-ID: <20140817235503.GE410471@tornado.leadboat.com> (raw)
In-Reply-To: <20140524185145.GB29376@alap3.anarazel.de>
References: <20140524154250.1403.92643@wrigleys.postgresql.org>
	<7221.1400949308@sss.pgh.pa.us>
	<20140524181611.GA29376@alap3.anarazel.de>
	<7749.1400955692@sss.pgh.pa.us>
	<20140524185145.GB29376@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Sat, May 24, 2014 at 08:51:45PM +0200, Andres Freund wrote:
> On 2014-05-24 14:21:32 -0400, Tom Lane wrote:
> > Andres Freund <andres@2ndquadrant.com> writes:
> > > On 2014-05-24 12:35:08 -0400, Tom Lane wrote:
> > >> If it's not getting through configure, the only plausible explanation
> > >> seems to be that something in autoconf 2.69 broke it.
> > 
> > > It could also be the linking changes made while trying to make missing
> > > PGDLLIMPORTs more visible.
> > 
> > None of those changes touched the configure script, though.
> 
> Right.
> 
> Regina, can you post config.log from 9.3 and 9.4?
> 
> There's a couple of bugreports referencing _set_invalid_parameter_handle
> and mingw. With confusingly different explanations...

I, too, ran into this problem.  It boils down to recent MinGW-w64 not
tolerating -Wl,--disable-auto-import:
https://sourceforge.net/p/mingw-w64/bugs/415

For now, I work around this locally by removing -Wl,--disable-auto-import from
src/template/win32.  (Commit 1c9acd5 introduced our use of that flag for this
target.)  Let's see how that MinGW-w64 bug progresses; if needed, we can have
"configure" check whether -Wl,--disable-auto-import works before using it.

Thanks,
nm


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (14+ messages)  latest in thread

Message-ID: <20140817235503.GE410471@tornado.leadboat.com>
Permalink:  ../20140817235503.GE410471@tornado.leadboat.com/
Also on:    postgresql.org/message-id/20140817235503.GE410471@tornado.leadboat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noah@leadboat.com, andres@2ndquadrant.com, tgl@sss.pgh.pa.us, lr@pcorp.us
  Subject: Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3
  In-Reply-To: <20140817235503.GE410471@tornado.leadboat.com>
  References: <20140524154250.1403.92643@wrigleys.postgresql.org> <7221.1400949308@sss.pgh.pa.us> <20140524181611.GA29376@alap3.anarazel.de> <7749.1400955692@sss.pgh.pa.us> <20140524185145.GB29376@alap3.anarazel.de> <20140817235503.GE410471@tornado.leadboat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox