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

Tom Lane <tgl@sss.pgh.pa.us>

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

			regards, tom lane