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

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: Jakob Egger <jakob(at)eggerapps(dot)at>
Cc: pgsql-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 12:42:37
Message-ID: CANWCAZYdPf2UgnVFZkE5wR=cq+PBnASEvpDdvVScDncoV+bE0g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 7, 2026 at 6:41 PM Jakob Egger <jakob(at)eggerapps(dot)at> wrote:

> Universal builds
> ============

> This results in an error "cpuid instruction not available"

Hmm, I imagine that may not work on normal Intel builds either, but
maybe it didn't get that far.

> Intel Builds
> ========
>
> Intel-only builds (using Rosetta) are also broken in master since the following commit:
> 5e13b0f: Use AVX2 for calculating page checksums where available

> 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.

--
John Naylor
Amazon Web Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Isaac Morland 2026-05-07 12:44:12 Re: Postgresql 18 Linux (all flavors) - with installation, create new instance/main database
Previous Message Henson Choi 2026-05-07 12:41:46 Re: Row pattern recognition