Meson bug in detection of 64 atomics
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
Attachments:
meson-build.diffapplication/octet-stream; name=meson-build.diff; x-unix-mode=0644Download+4-3
<div dir="auto">I see: Thomas Munro just missed this place in commit on 2024.12.04 <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 <stdint.h> and <inttypes.h> 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, Юрий Соколов <y.sokolov@postgrespro.ru>:<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>
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!