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

From John Naylor
Subject Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Date
Msg-id CANWCAZYdPf2UgnVFZkE5wR=cq+PBnASEvpDdvVScDncoV+bE0g@mail.gmail.com
Whole thread
In response to Broken build on macOS (Universal / Intel): cpuid instruction not available  (Jakob Egger <jakob@eggerapps.at>)
Responses Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
List pgsql-hackers
On Thu, May 7, 2026 at 6:41 PM Jakob Egger <jakob@eggerapps.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



pgsql-hackers by date:

Previous
From: Henson Choi
Date:
Subject: Re: Row pattern recognition
Next
From: Isaac Morland
Date:
Subject: Re: Postgresql 18 Linux (all flavors) - with installation, create new instance/main database