Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WocYT-00078O-AY for pgsql-bugs@arkaria.postgresql.org; Sun, 25 May 2014 17:49:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WocYS-0002cR-PY for pgsql-bugs@arkaria.postgresql.org; Sun, 25 May 2014 17:49:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WocYR-0002c9-Lv for pgsql-bugs@postgresql.org; Sun, 25 May 2014 17:49:51 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WocYO-0001y8-El for pgsql-bugs@postgresql.org; Sun, 25 May 2014 17:49:49 +0000 Received: from intern.anarazel.de (unknown [206.108.166.52]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 2EA024F0001; Sun, 25 May 2014 19:49:47 +0200 (CEST) Date: Sun, 25 May 2014 19:49:45 +0200 From: Andres Freund To: Tom Lane Cc: Paragon Corporation , 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 Message-ID: <20140525174945.GG18867@alap3.anarazel.de> References: <99EEB0452E144CFEAA650076F2C8431D@O> <12232.1401039768@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12232.1401039768@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi, On 2014-05-25 13:42:48 -0400, Tom Lane wrote: > "Paragon Corporation" 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. Yea. And it did catch a couple of bugs... > 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? 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? Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs