Re: BUG #11641: ./configure fails with mingw gcc 9.4beta3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dj(at)pgxplorer(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #11641: ./configure fails with mingw gcc 9.4beta3
Date: 2014-10-11 15:15:56
Message-ID: 24407.1413040556@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

dj(at)pgxplorer(dot)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(dot)1403(dot)92643(at)wrigleys(dot)postgresql(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2014-10-11 15:33:15 Re: pgxml bug (crash) in xslt_proc.c
Previous Message Michael Paquier 2014-10-11 12:57:19 Re: [BUGS] Re: [BUGS] Re: [BUGS] Re: BUG #11431: Failing to backup and restore a Windows postgres database, with Norwegian Bokmål locale.