Re: Failure during Building Postgres in Windows with Meson - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Failure during Building Postgres in Windows with Meson
Date
Msg-id C8D816F4-4FE3-4538-8671-93ECCFAEFC21@anarazel.de
Whole thread Raw
In response to Re: Failure during Building Postgres in Windows with Meson  ("Tristan Partin" <tristan@neon.tech>)
List pgsql-hackers
Hi,

On November 10, 2023 10:53:12 AM PST, Tristan Partin <tristan@neon.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@neon.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
explainswhy 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.



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: pgsql: Don't trust unvalidated xl_tot_len.
Next
From: Nathan Bossart
Date:
Subject: Re: locked reads for atomics