Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
John Naylor <johncnaylorls@gmail.com>
From: John Naylor <johncnaylorls@gmail.com>
To: Jakob Egger <jakob@eggerapps.at>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, john.naylor@postgresql.org, Tobias Bussmann <t.bussmann@gmx.net>
Date: 2026-05-07T12:42:37Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix universal builds on MacOS
- 901ed9b352b4 19 (unreleased) landed
-
Centralize detection of x86 CPU features
- 16743db061e4 19 (unreleased) cited
On Thu, May 7, 2026 at 6:41 PM Jakob Egger <jakob@eggerapps.at> wrote: > Universal builds > ============ > This results in an error "cpuid instruction not available" Hmm, I imagine that may not work on normal Intel builds either, but maybe it didn't get that far. > Intel Builds > ======== > > Intel-only builds (using Rosetta) are also broken in master since the following commit: > 5e13b0f: Use AVX2 for calculating page checksums where available > This results in an error: > checksum.c:57:6: error: call to undeclared function 'x86_feature_available' That's strange. I have an Intel MacBook laying around -- I'll see what I can do. -- John Naylor Amazon Web Services