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: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Regina Obe <lr@pcorp.us>, 'Juan José Santamaría Flecha' <juanjo.santamaria@gmail.com>, "'PostgreSQL mailing lists'" <pgsql-bugs@lists.postgresql.org>
Date: 2021-03-14T17:58:51Z
Lists: pgsql-bugs
I came across a very relevant mingw bug report:

https://sourceforge.net/p/mingw-w64/bugs/465/

in which they were trying to clear an 8-byte jmp_buf field with a
4-byte instruction.  That would go a long way towards explaining the
sort of problems we're seeing ... except it was fixed five years ago.
I trust none of the buildfarm animals are still using old mingw
versions.

			regards, tom lane



Commits

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