Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XcyP0-0004Lp-Ln for pgsql-bugs@arkaria.postgresql.org; Sat, 11 Oct 2014 15:16:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XcyOz-0000U9-JQ for pgsql-bugs@arkaria.postgresql.org; Sat, 11 Oct 2014 15:16:13 +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 1XcyOx-0000U0-It for pgsql-bugs@postgresql.org; Sat, 11 Oct 2014 15:16:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XcyOp-00071H-Tz for pgsql-bugs@postgresql.org; Sat, 11 Oct 2014 15:16:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s9BFFuAd024408; Sat, 11 Oct 2014 11:15:57 -0400 From: Tom Lane To: dj@pgxplorer.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #11641: ./configure fails with mingw gcc 9.4beta3 In-reply-to: <20141011050403.25460.87468@wrigleys.postgresql.org> References: <20141011050403.25460.87468@wrigleys.postgresql.org> Comments: In-reply-to dj@pgxplorer.com message dated "Sat, 11 Oct 2014 05:04:03 -0000" Date: Sat, 11 Oct 2014 11:15:56 -0400 Message-ID: <24407.1413040556@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 dj@pgxplorer.com writes: > configure:4848: checking whether the C compiler still works > configure:4861: gcc -o conftest.exe -O2 -Wall -Wmissing-prototypes > -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels > -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv > -fexcess-precision=standard -I./src/include/port/win32 -DEXEC_BACKEND > -Wl,--allow-multiple-definition -Wl,--disable-auto-import conftest.c >&5 > C:/Qt/Qt5.3.1/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o:crtexe.c:(.text+0x2a7): > undefined reference to `_set_invalid_parameter_handler' > collect2.exe: error: ld returned 1 exit status This looks to be the same problem reported in bug #10436: http://www.postgresql.org/message-id/flat/20140524154250.1403.92643@wrigleys.postgresql.org According to the mingw bug referenced at the end of that thread, this has been fixed in mingw. Please see if you can update. If you can't do so right away, a workaround is to remove -Wl,--disable-auto-import as discussed in that thread. 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