Re: Failure during Building Postgres in Windows with Meson

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tristan Partin <tristan(at)neon(dot)tech>, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Cc: Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Subject: Re: Failure during Building Postgres in Windows with Meson
Date: 2023-11-10 22:47:45
Message-ID: C8D816F4-4FE3-4538-8671-93ECCFAEFC21@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On November 10, 2023 10:53:12 AM PST, Tristan Partin <tristan(at)neon(dot)tech> wrote:
>On Thu Nov 9, 2023 at 9:31 AM CST, Nazir Bilal Yavuz wrote:
>> Hi,
>>
>> On Thu, 9 Nov 2023 at 18:27, Tristan Partin <tristan(at)neon(dot)tech> wrote:
>> >
>> > Can you try with Meson v1.2.3?
>>
>> I tried with Meson v1.2.3 and upstream, both failed with the same error.

>An employee at Collabora produced a fix[0].

If I understand correctly, you can thus work around the problem by enabling use of precompiled headers. Which also explains why CI didn't show this - normally on Windows you want to use pch.

> It might still be worthwhile however to see why it happens in one shell and not the other.

It's gcc vs msvc due to path.

Andres

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2023-11-10 22:55:22 Re: locked reads for atomics
Previous Message Thomas Munro 2023-11-10 22:05:48 Re: pgsql: Don't trust unvalidated xl_tot_len.