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

From: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
To: Regina Obe <lr(at)pcorp(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16920: Can't compile PostGIS with MingW64 against PostgreSQL 14 head
Date: 2021-03-13 20:49:12
Message-ID: CAC+AXB1N24Av=TyzRp82Jb_ArZQ0LwamfHu-YwsOhYDFfYULdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Mar 13, 2021 at 8:20 PM Regina Obe <lr(at)pcorp(dot)us> wrote:

>
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=3174d69fb
>
> this fails - commit before regresses fine.
>
> I do see this commit did make quite a few changes to elog.c
>

After tweaking my configure a bit I am able to reproduce the problem. I
think the problem is on MinGW-w64's longjmp. The attached patch fixes the
issue for me.

Regards,

Juan José Santamaría Flecha

Attachment Content-Type Size
0001-MinGW-x64-setjmp-longjmp.patch application/octet-stream 828 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-03-13 21:49:44 Re: BUG #16920: Can't compile PostGIS with MingW64 against PostgreSQL 14 head
Previous Message Regina Obe 2021-03-13 19:20:01 RE: BUG #16920: Can't compile PostGIS with MingW64 against PostgreSQL 14 head