Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WocRo-0006yw-Uh for pgsql-bugs@arkaria.postgresql.org; Sun, 25 May 2014 17:43:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WocRn-0000Kq-Ux for pgsql-bugs@arkaria.postgresql.org; Sun, 25 May 2014 17:43:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WocRm-0000Kg-02 for pgsql-bugs@postgresql.org; Sun, 25 May 2014 17:42:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WocRd-00078G-20 for pgsql-bugs@postgresql.org; Sun, 25 May 2014 17:42:57 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s4PHge11005933; Sun, 25 May 2014 13:42:41 -0400 From: Tom Lane To: "Paragon Corporation" cc: "'Andres Freund'" , 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 In-reply-to: <99EEB0452E144CFEAA650076F2C8431D@O> References: <99EEB0452E144CFEAA650076F2C8431D@O> Comments: In-reply-to "Paragon Corporation" message dated "Sat, 24 May 2014 22:57:52 -0400" Date: Sun, 25 May 2014 13:42:48 -0400 Message-ID: <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 "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. 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