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

From: Tobias Bussmann <t(dot)bussmann(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: John Naylor <johncnaylorls(at)gmail(dot)com>, Lukas Fittl <lukas(at)fittl(dot)com>, Jakob Egger <jakob(at)eggerapps(dot)at>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
Subject: Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Date: 2026-06-02 15:10:49
Message-ID: C6221345-E950-411D-924B-E0C45F3A6D92@gmx.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Am 02.06.2026 um 16:48 schrieb Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>
> Tobias Bussmann <t(dot)bussmann(at)gmx(dot)net> writes:
>> Indeed. The universal builds seem to disable optimisations that are supported
>> natively.
>
> Yes, we realized that upthread. It's been like that since day 1,
> not something that's new in v19.

I wasn't intending to say that. I was rather wondering if it would be worth to test doing two independent builds and lipo all the binaries and libraries together manually to construct a proper optimised universal build.

> However, it definitely is a regression that the build fails
> altogether. Too bad nobody tried the x86 -> ARM case earlier.

We already touched the issue briefly before but didn't nail it. I wish I'd have more resources to contribute.

Tobias

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-06-02 15:20:46 Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Previous Message Álvaro Herrera 2026-06-02 14:48:46 Re: [RFC PATCH v2 RESEND 04/10] umbra: add patch 3 metadata disk format and identity mapping bootstrap