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

From: Jakob Egger <jakob(at)eggerapps(dot)at>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, John Naylor <johncnaylorls(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, john(dot)naylor(at)postgresql(dot)org, Tobias Bussmann <t(dot)bussmann(at)gmx(dot)net>
Subject: Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Date: 2026-05-07 14:38:16
Message-ID: E1EC58C9-46FE-4870-B887-FCDFDA9E170D@eggerapps.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Am 07.05.2026 um 15:59 schrieb Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>
> Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
>>> On 7 May 2026, at 14:42, John Naylor <johncnaylorls(at)gmail(dot)com> wrote:
>>>> 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.
>
>> I use an Intel MacBook Pro as my daily driver (currently running macOS 14.7)
>> and have not had any issues.
>
> BF member longfin is an Intel Mac Mini and has not shown issues
> (although I think it's one macOS rev behind). I can believe that
> universal builds are busted, because we don't test that. But
> claiming that a plain Intel build is broken is contrary to
> available evidence.

I've set up a fresh VM with macOS 26.4.1 and command line tools.
Universal builds are still broken, but Intel builds (with Rosetta) work in the new VM.
So the intel issue might be something unique to my machine. I''ll try to figure it out.

Jakob

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tobias Bussmann 2026-05-07 14:57:50 Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Previous Message Tom Lane 2026-05-07 14:22:44 Re: Fix bug with accessing to temporary tables of other sessions