pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paragon Corporation <lr@pcorp.us>
Cc: 'Andres Freund' <andres@2ndquadrant.com>
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, 25 May 2014 13:42:48 -0400
Message-ID: <12232.1401039768@sss.pgh.pa.us> (raw)
In-Reply-To: <99EEB0452E144CFEAA650076F2C8431D@O>
References: <99EEB0452E144CFEAA650076F2C8431D@O>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

"Paragon Corporation" <lr@pcorp.us> writes:
> I changed:
> LDFLAGS="-Wl,--allow-multiple-definition -Wl,--disable-auto-import"
> Back to the old:
> LDFLAGS="-Wl,--allow-multiple-definition"
> And that fixed the configure issue with mingw64-w32 4.8.1+ and it seems to
> have compiled fine too and passed all regression tests.

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.

OTOH, it seems clear at this point that the Mingw people are not testing
their product with --disable-auto-import, so expecting it to work with
that switch may be foolish.

I poked around and found this bug report:
http://sourceforge.net/p/mingw/bugs/2020/
which seems related but it's not clear that it's exactly the same thing.
That's marked as fixed a few months ago, but I can't tell if the fix
has been shipped yet.

Thoughts?  Should we just take the path of least resistance, or should
we look harder for a better solution?

			regards, tom lane


-- 
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: <12232.1401039768@sss.pgh.pa.us>
Permalink:  ../12232.1401039768@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12232.1401039768@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, lr@pcorp.us, andres@2ndquadrant.com
  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: <12232.1401039768@sss.pgh.pa.us>
  References: <99EEB0452E144CFEAA650076F2C8431D@O> <12232.1401039768@sss.pgh.pa.us>

* 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