From: Paragon Corporation <lr@pcorp.us>
To: 'Andres Freund' <andres@2ndquadrant.com>
To: tgl@sss.pgh.pa.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: Sat, 24 May 2014 22:57:52 -0400
Message-ID: <99EEB0452E144CFEAA650076F2C8431D@O> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Andreas,
Thanks for the suggestion of looking at the logs
Figured out the problem I think.
In looking at the logs:
http://www.postgresonline.com/tmp/config94_mingw64w32gcc481.txthttp://www.postgresonline.com/tmp/config934_mingw64w32gcc481.txt
I noticed the difference was the --disable-auto-import in 9.4.
So in src\template\win32 file
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.
Better yet -- this new one doesn't have that annoying extra import of
InterlockedCompareExchange@
That I complained about here:
http://www.postgresql.org/message-id/286FBE756DA043A881A289C539AD2ED3@O
That broke my PostGIS 32-bit builds
And extensions built with it seem to be loadable in my EDB install again.
Have to do more tests, but looks good so far.
Still puzzling why my gcc 4.8.0 compiled at all and still had that annoying
dependency even when I also changed that file suspecting that was an issue
before. Perhaps the 4.8.0 has a bug and is half heartedly paying attention
to some things and not others.
Any thoughts on what to do about that win32 thing. Wasn't quite clear why
it was introduced in the first place
Thanks,
Regina
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: lr@pcorp.us, andres@2ndquadrant.com, tgl@sss.pgh.pa.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: <99EEB0452E144CFEAA650076F2C8431D@O>
References: <99EEB0452E144CFEAA650076F2C8431D@O>
* 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