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: 'Juan José Santamaría Flecha' <juanjo.santamaria@gmail.com>, "'PostgreSQL mailing lists'" <pgsql-bugs@lists.postgresql.org>
Date: 2021-03-12T22:57:30Z
Lists: pgsql-bugs
"Regina Obe" <lr@pcorp.us> writes:
>> (FWIW, walleye's owners report that the failure goes away when they change
>> their compiler options to more debug-friendly settings.  Hmm.)

> What is considered a more debug-friendly setting?  

Apparently they don't see a crash with CFLAGS="-ggdb -Og -g3"
(as opposed to the default -O2 possibly with -g).

> As far as crashers go, they all seem to be crashing at the
> 0x00000000008da31a in pg_re_throw () at elog.c:1776

Cool, thanks for confirming that.  At least now we know
what it is we don't know.

			regards, tom lane



Commits

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