Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xf0Dl-0008K4-Et for pgsql-bugs@arkaria.postgresql.org; Fri, 17 Oct 2014 05:37:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xf0Dj-0006rN-RX for pgsql-bugs@arkaria.postgresql.org; Fri, 17 Oct 2014 05:36:59 +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 1Xf0Dh-0006rE-Ik for pgsql-bugs@postgresql.org; Fri, 17 Oct 2014 05:36:57 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xf0Dd-0002HU-Rj for pgsql-bugs@postgresql.org; Fri, 17 Oct 2014 05:36:55 +0000 Received: by mail-pa0-f50.google.com with SMTP id kx10so166648pab.9 for ; Thu, 16 Oct 2014 22:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Q6LoBFerWI8ulZ1Tw6/lVOb7X9A+7o4+OD5t6WVprCw=; b=cY38FlOSgNxJGBUGek4U7MXgVP6xVygVHS6wHK9bUIH0dgVEW1iMraTCH+9LMasf50 DQvkDoiT73Liw8vl5oPLUrgL+slyQukxw6k+EDOeP2LU7idVl1vmCEEPqsek42K0bJ7B G50s12KcGOFshPCXUPijJGt73mrZ09nS7SaOU= 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=Q6LoBFerWI8ulZ1Tw6/lVOb7X9A+7o4+OD5t6WVprCw=; b=lOqYv7Uodg3tbppckQQp/Ej98s9cSiAxL1ODSGVDlf6L9V6iiiXREe7+tSc54asiaU fBhftm1YBqcZ0F2LIDPMdi+OovhXGvy2tQi0zBq98LE8fPvKnv/wnj5TU99pm6xIfENV UQaToKLNwRH6a5/j5rUggkOqqULZerECvBfClHIAGuRCQv4PfRs82C8GELFAgUqxCaGH AvQ9/8oj2fBKth8LKAsryXxsPgUQ6cOr3H1CBQWLMkWwniteezRKhPdAChEoEtZ7oozd o8v1ZFGvFCi+HmQvSfa2OBPtEUfU8V5+WPpACtDkCsvbtDvXaVh6cQQkLrEWkd4knEjc X51Q== X-Gm-Message-State: ALoCoQm1YG1P/9MpOMS9XHNfqeSDHRQbg5P6bf+XNZKJNEynaDz7a9yb2gh9wz5Bab9oEgyz01cD X-Received: by 10.68.209.169 with SMTP id mn9mr5936732pbc.91.1413524211914; Thu, 16 Oct 2014 22:36:51 -0700 (PDT) Received: from tornado.leadboat.com (c-50-131-89-155.hsd1.ca.comcast.net. [50.131.89.155]) by mx.google.com with ESMTPSA id y1sm353076pdg.47.2014.10.16.22.36.50 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 16 Oct 2014 22:36:51 -0700 (PDT) Date: Fri, 17 Oct 2014 01:36:48 -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: <20141017053648.GA194396@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> <20140817235503.GE410471@tornado.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140817235503.GE410471@tornado.leadboat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.7 (--) 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 Sun, Aug 17, 2014 at 07:55:03PM -0400, Noah Misch wrote: > 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 Jonathan Yong quickly committed a fix for that bug, and some of the latest MinGW-w64 binary distributions (mingw64-x86_64-runtime 3.2.0-1 from Cygwin; x86_64-4.9.1-release-posix-seh-rt_v3-rev1 from Mingw-builds) include it. > 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. I lean against doing that. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs