Re: Broken build on macOS (Universal / Intel): cpuid instruction not available - Mailing list pgsql-hackers

From Jakob Egger
Subject Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Date
Msg-id E1EC58C9-46FE-4870-B887-FCDFDA9E170D@eggerapps.at
Whole thread
In response to Re: Broken build on macOS (Universal / Intel): cpuid instruction not available  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
List pgsql-hackers

> Am 07.05.2026 um 15:59 schrieb Tom Lane <tgl@sss.pgh.pa.us>:
>
> Daniel Gustafsson <daniel@yesql.se> writes:
>>> On 7 May 2026, at 14:42, John Naylor <johncnaylorls@gmail.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix bug with accessing to temporary tables of other sessions
Next
From: Tobias Bussmann
Date:
Subject: Re: Broken build on macOS (Universal / Intel): cpuid instruction not available