Thread

Commits

  1. Fix meson detection of a couple of 64 bit builtins.

  2. Use <stdint.h> and <inttypes.h> for c.h integers.

  1. Meson bug in detection of 64 atomics

    Yura Sokolov <y.sokolov@postgrespro.ru> — 2025-01-06T22:29:52Z

    Hi.
    
    I found meson fails to detect 64 GCC atomics. Looks like check was drafted but never synced with “configure”.
    
    Patch that syncs meson check to configure’s one attached. It fixes the issue at least on my computer (Mac M1).
    
    ——
    
    regards
    Yura Sokolov aka funny-falcon
  2. Re: Meson bug in detection of 64 atomics

    Yura Sokolov <y.sokolov@postgrespro.ru> — 2025-01-07T13:40:41Z

    <div dir="auto">I see: Thomas Munro just missed this place in commit on 2024.12.04&nbsp;<div><pre style="font-style: normal; font-weight: 400; letter-spacing: normal; text-indent: 0px; text-transform: none; word-spacing: 0px; text-decoration: none; white-space: pre-wrap; font-family: monospace; color: rgb(0, 0, 0);">Use &lt;stdint.h&gt; and &lt;inttypes.h&gt; for c.h integers.</pre></div></div><div dir="auto"><div dir="auto"><a href="https://github.com/postgres/postgres/commit/962da900ac8f0927f1af2fd811ca67fa163c873a.patch">https://github.com/postgres/postgres/commit/962da900ac8f0927f1af2fd811ca67fa163c873a</a></div><br></div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Вт, 7 янв. 2025 г. в 01:29, Юрий Соколов &lt;y.sokolov@postgrespro.ru&gt;:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; padding-left: 1ex; border-left-color: rgb(204, 204, 204);">Hi.
    <br>
    <br>I found meson fails to detect 64 GCC atomics. Looks like check was drafted but never synced with “configure”.
    <br>
    <br>Patch that syncs meson check to configure’s one attached. It fixes the issue at least on my computer (Mac M1).
    <br>
    <br>——
    <br>
    <br>regards
    <br>Yura Sokolov aka funny-falcon</blockquote></div></div>
  3. Re: Meson bug in detection of 64 atomics

    Thomas Munro <thomas.munro@gmail.com> — 2025-01-07T18:21:42Z

    On Wed, Jan 8, 2025 at 2:40 AM Yura Sokolov <y.sokolov@postgrespro.ru> wrote:
    > I see: Thomas Munro just missed this place in commit on 2024.12.04
    >
    > Use <stdint.h> and <inttypes.h> for c.h integers.
    >
    > https://github.com/postgres/postgres/commit/962da900ac8f0927f1af2fd811ca67fa163c873a
    >
    > Вт, 7 янв. 2025 г. в 01:29, Юрий Соколов <y.sokolov@postgrespro.ru>:
    >> I found meson fails to detect 64 GCC atomics. Looks like check was drafted but never synced with “configure”.
    >>
    >> Patch that syncs meson check to configure’s one attached. It fixes the issue at least on my computer (Mac M1).
    
    Oops.  Right.  Pushed, thanks!