Re: Meson bug in detection of 64 atomics
Yura Sokolov <y.sokolov@postgrespro.ru>
From: Yura Sokolov <y.sokolov@postgrespro.ru>
To: pgsql-hackers@postgresql.org, Thomas Munro <tmunro@postgresql.org>
Date: 2025-01-07T13:40:41Z
Lists: pgsql-hackers
Attachments
- (unnamed) (text/html)
<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>
Commits
-
Fix meson detection of a couple of 64 bit builtins.
- c4782c44101e 18.0 landed
-
Use <stdint.h> and <inttypes.h> for c.h integers.
- 962da900ac8f 18.0 cited