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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: John Naylor <johncnaylorls(at)gmail(dot)com>, Jakob Egger <jakob(at)eggerapps(dot)at>, 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 13:59:31
Message-ID: 857403.1778162371@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-05-07 14:07:00 Re: Postgresql 18 Linux (all flavors) - with installation, create new instance/main database
Previous Message Daniel Gustafsson 2026-05-07 13:44:45 Re: PostgreSQL and OpenSSL 4.0.0