Re: BUG #16920: Can't compile PostGIS with MingW64 against PostgreSQL 14 head

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Regina Obe" <lr@pcorp.us>
Cc: "'Heikki Linnakangas'" <hlinnaka@iki.fi>, 'Juan José Santamaría Flecha' <juanjo.santamaria@gmail.com>, "'PostgreSQL mailing lists'" <pgsql-bugs@lists.postgresql.org>
Date: 2021-03-15T16:12:59Z
Lists: pgsql-bugs
"Regina Obe" <lr@pcorp.us> writes:
>> I trust none of the buildfarm animals are still using old mingw versions.

> The mingw64 gcc 8.1.0/msys2 I am using granted is not a spring chicken.  I
> don't think it's 5 years old, but could be.

According to [1], gcc 8.1 came out a little under 3 years ago, so I guess
it's safe to assume that that package also contains the fix in question.

Meanwhile, walleye's owners have confirmed off-list that the proposed
patch fixes things for them too.  I'm going to go ahead and push it
to HEAD, so we can get some further testing.  Although I remain worried
about this being an ABI break, I don't think we are locked into it
until we get to beta, or maybe even RC stage.

			regards, tom lane

[1] https://www.gnu.org/software/gcc/releases.html



Commits

  1. Work around issues in MinGW-64's setjmp/longjmp support.