Re: BUG #11641: ./configure fails with mingw gcc 9.4beta3 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #11641: ./configure fails with mingw gcc 9.4beta3
Date
Msg-id 24407.1413040556@sss.pgh.pa.us
Whole thread Raw
In response to BUG #11641: ./configure fails with mingw gcc 9.4beta3  (dj@pgxplorer.com)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [BUGS] Re: [BUGS] Re: [BUGS] Re: BUG #11431: Failing to backup and restore a Windows postgres database, with Norwegian Bokmål locale.
Next
From: dnrickner@taylor.edu
Date:
Subject: BUG #11640: difference in ldap authentication between beta2 and beta3