Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XJAI7-0001ir-SD for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Aug 2014 23:55:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XJAI6-0003XC-BE for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Aug 2014 23:55:14 +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 1XJAI4-0003VJ-8L for pgsql-bugs@postgresql.org; Sun, 17 Aug 2014 23:55:12 +0000 Received: from mail-pa0-f67.google.com ([209.85.220.67]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XJAI0-0006CO-DZ for pgsql-bugs@postgresql.org; Sun, 17 Aug 2014 23:55:09 +0000 Received: by mail-pa0-f67.google.com with SMTP id et14so3512001pad.2 for ; Sun, 17 Aug 2014 16:55:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=Qd4rpZGRQOqUx7GgKrntbFUJFFiehOnQ/9UMkb/Uih4=; b=K7MeiQsekSaLkm0DBEBXR/rdQq+1S1lfIJCdbMsWNmyuwoV0yQt1NV5HyUhq0hn34s +OPKHaFUAh/kFtyt9DfOejfUQu4FA1doY/AXPVevnJDEhDtj3by4ln8wQeW1ZcxeGrfg 2tGA7JSAhKXxNO0snVwYcyMgEmd1WU4PIf57rjNSe6hGiX53dnULo/sPytp2YvuaTZD0 rz0cvHmgKbMDTu/R6kq5H/X3RTI+q74lJGrXcf++wA+rLO4uffHT4EVQ31L6l5a3lmTC wAUvaOhs0O+ndhbMvwf0rAtEI7RCAB6UCKtopVWNdfs9SRujZMu515fSRiT8Rr6qwpKF HRvg== X-Gm-Message-State: ALoCoQkBNy+oHjAfZvGtOJ6wDjRGZNU/9l51YPgZiKRnZM2lMUQu6VPIZX5+0bUl2fmxTOHgxhks X-Received: by 10.70.37.227 with SMTP id b3mr7141263pdk.147.1408319706466; Sun, 17 Aug 2014 16:55:06 -0700 (PDT) Received: from tornado.leadboat.com (c-174-62-109-97.hsd1.ca.comcast.net. [174.62.109.97]) by mx.google.com with ESMTPSA id fm12sm22117343pdb.46.2014.08.17.16.55.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 17 Aug 2014 16:55:05 -0700 (PDT) Date: Sun, 17 Aug 2014 19:55:03 -0400 From: Noah Misch To: Andres Freund Cc: Tom Lane , lr@pcorp.us, 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 Message-ID: <20140817235503.GE410471@tornado.leadboat.com> References: <20140524154250.1403.92643@wrigleys.postgresql.org> <7221.1400949308@sss.pgh.pa.us> <20140524181611.GA29376@alap3.anarazel.de> <7749.1400955692@sss.pgh.pa.us> <20140524185145.GB29376@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140524185145.GB29376@alap3.anarazel.de> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Sat, May 24, 2014 at 08:51:45PM +0200, Andres Freund wrote: > On 2014-05-24 14:21:32 -0400, Tom Lane wrote: > > Andres Freund writes: > > > On 2014-05-24 12:35:08 -0400, Tom Lane wrote: > > >> If it's not getting through configure, the only plausible explanation > > >> seems to be that something in autoconf 2.69 broke it. > > > > > It could also be the linking changes made while trying to make missing > > > PGDLLIMPORTs more visible. > > > > None of those changes touched the configure script, though. > > Right. > > Regina, can you post config.log from 9.3 and 9.4? > > There's a couple of bugreports referencing _set_invalid_parameter_handle > and mingw. With confusingly different explanations... I, too, ran into this problem. It boils down to recent MinGW-w64 not tolerating -Wl,--disable-auto-import: https://sourceforge.net/p/mingw-w64/bugs/415 For now, I work around this locally by removing -Wl,--disable-auto-import from src/template/win32. (Commit 1c9acd5 introduced our use of that flag for this target.) Let's see how that MinGW-w64 bug progresses; if needed, we can have "configure" check whether -Wl,--disable-auto-import works before using it. Thanks, nm -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs