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 1lLEe2-0005hs-VA for pgsql-bugs@arkaria.postgresql.org; Sun, 14 Mar 2021 00:30:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lLEe1-0004WY-RS for pgsql-bugs@arkaria.postgresql.org; Sun, 14 Mar 2021 00:30:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLEe1-0004WM-GS for pgsql-bugs@lists.postgresql.org; Sun, 14 Mar 2021 00:30:09 +0000 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lLEdy-0007Xj-V8 for pgsql-bugs@lists.postgresql.org; Sun, 14 Mar 2021 00:30:08 +0000 Received: by mail-qk1-x730.google.com with SMTP id t4so28393179qkp.1 for ; Sat, 13 Mar 2021 16:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pcorp-us.20150623.gappssmtp.com; s=20150623; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=KCfrNsbxUqoL9FD9xLO3v/9QLyXOgKSM8C3/BrgfUcA=; b=Xw0m5q2CSNcCdZzVTpErA9ij2I9qoqWf38+w7qdPAIO1xd4wYSCfRGYb6bOZ2H1bf/ SUZITxrFJFijIHl6zEcq9fyvr/CJtvSpkjm+ehz9t1+Iq6lO6chpzPHaRhO7h88p1wvQ zBlTBk/Q+b4zKcNd/hzfFNz7zZ0BdUi/U0mWp2lPN/FEoiN2TpayFdqpbY3rSTeXIWKg CW0NYWBOBPF+fllCmtSXgVf1vtEqBKSrMWQ8+nq3QycqvEnTH6RwlDLiYGVTTYn5KHqI HAwKnArehUV+0wGaC3RI8eR/rQaqorN2PwSV5aAM3EUKIFt0VB11/2Df6TLbVXEnbtNB OmIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=KCfrNsbxUqoL9FD9xLO3v/9QLyXOgKSM8C3/BrgfUcA=; b=ZobJ+T4K56uBQ7B0lacvbcUnRUBzL6Fr82YKktjWNDyIzshNhp5g26BLhjykvbOM6i MOFOla5xmcGcHcSfaZCvXmb7OEQk1SG4JhJlT9B08J+nvpo/LtG2BHacMV2aTgPAgU6u GYuqWfe6fAkwfgHxCIvh2ruIxd2Ggp9eGr0zxzd5au3Ub3mG1UG29DSiuhPPJ4rCJR3F YOTh2hwdqj4rcvsfkFX2JhwGVEaxBeh07mlwMZ8NOuiT4nyYxC/I0xg5NMf2AamzuE+t i2six7HOzrcMbl2OmnG2Nq/FpFjs+iXwR80Nr2pQkd8EfYouF+QHd6nMfFoRQ395hiZw W5WQ== X-Gm-Message-State: AOAM530XF6Vvbk56D1AM9naWD2gxfga7BEW8y/v133LBn0o4BsM61kRV Vitvfark3o/v2neUMUZKf+ryoQ== X-Google-Smtp-Source: ABdhPJxUExS2xgq/Q1tibOanbhdEx/0NeyYiOuPkCkuXJ3PbZOEq2h32J1eYkpzoXzChWjBTVK2XoQ== X-Received: by 2002:a05:620a:16b1:: with SMTP id s17mr18869526qkj.302.1615681805412; Sat, 13 Mar 2021 16:30:05 -0800 (PST) Received: from F (50-78-240-110-static.hfc.comcastbusiness.net. [50.78.240.110]) by smtp.gmail.com with ESMTPSA id a20sm7848250qkg.61.2021.03.13.16.30.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Mar 2021 16:30:05 -0800 (PST) From: "Regina Obe" To: "'Tom Lane'" , =?iso-8859-1?Q?'Juan_Jos=E9_Santamar=EDa_Flecha'?= 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> In-Reply-To: <2735801.1615678739@sss.pgh.pa.us> Subject: RE: BUG #16920: Can't compile PostGIS with MingW64 against PostgreSQL 14 head Date: Sat, 13 Mar 2021 19:30:03 -0500 Message-ID: <000d01d71869$2dabde70$89039b50$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHCjUPo5BIH9fF+WOyrxdMuyoS6VgH0iV+7AYDFGVYDOnnBIgIGZ/mnAaaow74Bzev/wgGR2sHjAR4fNg4C5B6w8QGN1Pv+AvSTmsoCIme/0wItiy7+AboFq/sCXb7pLQHPqjF0AYIAxHoA+0H+1gHhqId8AoKCgXSpcOaRQA== Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > 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.