pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: dj@pgxplorer.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #11641: ./configure fails with mingw gcc 9.4beta3
Date: Sat, 11 Oct 2014 11:15:56 -0400
Message-ID: <24407.1413040556@sss.pgh.pa.us> (raw)
In-Reply-To: <20141011050403.25460.87468@wrigleys.postgresql.org>
References: <20141011050403.25460.87468@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <24407.1413040556@sss.pgh.pa.us>
Permalink:  ../24407.1413040556@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24407.1413040556@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dj@pgxplorer.com
  Subject: Re: BUG #11641: ./configure fails with mingw gcc 9.4beta3
  In-Reply-To: <24407.1413040556@sss.pgh.pa.us>
  References: <20141011050403.25460.87468@wrigleys.postgresql.org> <24407.1413040556@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox