Re: Broken build on macOS (Universal / Intel): cpuid instruction not available

Tobias Bussmann <t.bussmann@gmx.net>

From: Tobias Bussmann <t.bussmann@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Gustafsson <daniel@yesql.se>, John Naylor <johncnaylorls@gmail.com>, Jakob Egger <jakob@eggerapps.at>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, john.naylor@postgresql.org
Date: 2026-05-07T14:57:50Z
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 →
  1. Fix universal builds on MacOS

  2. Centralize detection of x86 CPU features

> Am 07.05.2026 um 15:59 schrieb Tom Lane <tgl@sss.pgh.pa.us>:
> 
> I can believe that
> universal builds are busted, because we don't test that.


I've already noticed that there isn't much variety in the buildfarm animals
available for Darwin. Given the availability of a fairly beefy macOS VM server
here, I've considered hosting some VMs to provide coverage of things like
universal builds and cross-compilation using different versions of the Apple
toolkits for the build farm. This issue provides the motivation to take it further.

regards
Tobias