Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLLpN-0005u1-MS for pgsql-bugs@arkaria.postgresql.org; Sun, 14 Mar 2021 08:10:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lLLpM-0005dE-LP for pgsql-bugs@arkaria.postgresql.org; Sun, 14 Mar 2021 08:10:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLLpM-0005Zj-An for pgsql-bugs@lists.postgresql.org; Sun, 14 Mar 2021 08:10:20 +0000 Received: from meesny.iki.fi ([2001:67c:2b0:1c1::201]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLLpK-0006h5-5y for pgsql-bugs@lists.postgresql.org; Sun, 14 Mar 2021 08:10:19 +0000 Received: from [192.168.1.113] (dsl-hkibng22-54faa4-119.dhcp.inet.fi [84.250.164.119]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by meesny.iki.fi (Postfix) with ESMTPSA id 9D42D2025D; Sun, 14 Mar 2021 10:10:15 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1615709415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WVeDHEyIj6WYss4YnPaDTUuz3eS7i4U8HLY5VGTEblE=; b=H2BnOdazBteL6hoBdVR/V2KbaTsoUVk63ccf1ERnab7vURusZskTAnO4cL09rK6mnTF3c+ 7a8Tw7ez5c78PAof3H0Ru1K/qPSD62WwZdtgXGl2DlNn6hGOag/+5+TCPy1ztsyFanuzRr xSXHu1QWfDb/cx7U325K0S/cn+RybP8= Subject: Re: BUG #16920: Can't compile PostGIS with MingW64 against PostgreSQL 14 head To: Regina Obe , 'Tom Lane' , =?UTF-8?Q?=27Juan_Jos=c3=a9_Santamar=c3=ada_Flecha=27?= Cc: 'PostgreSQL mailing lists' References: <16920-2332590daf58407c@postgresql.org> <2291040.1615474929@sss.pgh.pa.us> <000501d71691$c616a200$5243e600$@pcorp.us> <2294904.1615480631@sss.pgh.pa.us> <000401d716a0$1ed0fc70$5c72f550$@pcorp.us> <2309396.1615485820@sss.pgh.pa.us> <004301d71772$f3336020$d99a2060$@pcorp.us> <2551612.1615579995@sss.pgh.pa.us> <000201d71781$a0c5da20$e2518e60$@pcorp.us> <2555584.1615585679@sss.pgh.pa.us> <000201d71792$1a916800$4fb43800$@pcorp.us> <2558564.1615589850@sss.pgh.pa.us> <000e01d717c2$7533c3e0$5f9b4ba0$@pcorp.us> <2589899.1615615800@sss.pgh.pa.us> <001801d71833$3eb81890$bc2849b0$@pcorp.us> <2718080.1615661446@sss.pgh.pa.us> <002d01d7183d$dda66420$98f32c60$@pcorp.us> <2730776.1615672184@sss.pgh.pa.us> <2735801.1615678739@sss.pgh.pa.us> <000d01d71869$2dabde70$89039b50$@pcorp.us> From: Heikki Linnakangas Message-ID: <0bf7c953-ea90-7c74-0f97-4e0e83d09dc9@iki.fi> Date: Sun, 14 Mar 2021 10:10:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <000d01d71869$2dabde70$89039b50$@pcorp.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit ARC-Seal: i=1; s=meesny; d=iki.fi; t=1615709415; a=rsa-sha256; cv=none; b=cfDHAITzIIpGfwoLvUMAD/H4H3EPJy9v8eUx2I+fU3Zf1JsNMI5zJzyqecJId4bp5bYF05 AUvyMwYceZsBVx0trJJItgFWTOPHe/7/WRXNribcrlhIOJEVU4nVGVyu47emtxbNjcdviL RimbRD6tvjVAcD3uVkTkYAd2MvDn7V8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1615709415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WVeDHEyIj6WYss4YnPaDTUuz3eS7i4U8HLY5VGTEblE=; b=eYeLRTGbSgX4268iElID5Ru9SskM3CtNMGUGpz0sKUlNnbgTBXzmoMXRbWRaFbSzlGsprA 6A0nvhyH/znRhVl1EX24DZvqbvwOsg/CD93PRuKTo1dYGLEYl/EYJmTYCIN7Ac22oCq7lm 3MrPEItbDKnFEt/oAuHlmrXUig/sg9s= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 14/03/2021 02:30, Regina Obe wrote: >> I wrote: >>> Hmm, interesting. The gcc manual is quite negative about these though: >>> https://gcc.gnu.org/onlinedocs/gcc/Nonlocal-Gotos.html >>> Also it's not clear that these are compatible with 's >>> version of jmp_buf. >> >> After further study, I think we could fix the jmp_buf inconsistency as >> attached. >> >> I did some googling and found that we'd be in pretty good company if we go >> this way: a lot of other projects have concluded that MinGW-64's >> setjmp() is hopelessly buggy and adopted this same workaround. It still >> makes me a bit nervous though, as this is a serious ABI break for anything >> using setjmp/longjmp. We could not back-patch such a change, and once we >> ship a release using this we're stuck with it in that release branch. >> >> Regina, could you confirm whether this fixes things for you? >> >> regards, tom lane > > Confirmed both PostgreSQL and PostGIS pass all tests with this patch. Is this the same issue that was discussed here? https://www.postgresql.org/message-id/flat/f1caef93-9640-022e-9211-bbe8755a56b0%402ndQuadrant.com - Heikki