Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wL0qe-001THg-2t for pgsql-hackers@arkaria.postgresql.org; Thu, 07 May 2026 15:41:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wL0qb-004tRc-2v for pgsql-hackers@arkaria.postgresql.org; Thu, 07 May 2026 15:41:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wL0qa-004tRT-2r for pgsql-hackers@lists.postgresql.org; Thu, 07 May 2026 15:41:09 +0000 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wL0qX-000000011hc-3dlR; Thu, 07 May 2026 15:41:08 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 0CD04EC033F; Thu, 7 May 2026 11:41:03 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Thu, 07 May 2026 11:41:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eggerapps.at; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1778168463; x=1778254863; bh=tfNtdji/kd QigDY6253Y9lB6PkxSfUieNKdiK2cEYyE=; b=a+MeLCKCh5W9p3jnzeIlxo4Itn jA3YP/ltnQIoi1Z5kw+NeApCGRyNE90L0TLm4f0vbZ5ibX5pjezn44u4OmwzsVk7 D9sd1bH3ipPBQ/lmnRumSkxAbpdu1GKd75wvW2imdKn9KiNPpdFcV3+OZPsYRhu/ XTTgs+6Uoda1mRaAW2Thn5jPQXqK6UhEciWk9A6/4w5wlgCHtCBNdmxzD45r8NVE HOt3DSuy4AfaNIPujS5+zaoDnEYvQuxtO8pVFhtMb7Udwb4jB73xUz9YIm9aKwUw +LdwFJiEu2YUTvw2Pxi97pf5M5kqvnhNr8F+GxlQ6Mrgsz69mbrAbLP7JC6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1778168463; x=1778254863; bh=tfNtdji/kdQigDY6253Y9lB6PkxSfUieNKd iK2cEYyE=; b=kTOKrdR/S3mRIza7IlNwmwXXRUVKgfwqiOhBLNRFfVU0OicrAO4 aI/YypSYHBjFtqA43XQ9WF948yPpjpjg53sMdvyMh09CaW7J0+zMSdqzjdF+3d7r 0+yz46Uy2cDxd5OQGqRWJvVD5LAujTVotpJAqgDsfDCthNiJK4D/uVq5ODWr5W35 8YhSdqeRMq8/TW31ZOFzNor/KujG0MPRUuooO2s5270LT8NrWqtrRdGDygBKTfik E8Igf042gGHZIDA/rbr1j/o6vcnS5AGo74mQ1I0J+VILf3uWerB2/wfmOqvhiHWu xu2i071fhfjxM1MZRhn0In7s6cYHp1nWepQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddutdejkeehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffktgggufffjgevvfhfofesrgdtmherhhdtvdenucfhrhhomheplfgrkhhosgcu gfhgghgvrhcuoehjrghkohgssegvghhgvghrrghpphhsrdgrtheqnecuggftrfgrthhtvg hrnhepleevgfffvdejjefgtdejkedvteekjeejvefggeettdfgtedvteeffeegkeffleeg necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhgrkh hosgesvghgghgvrhgrphhpshdrrghtpdhnsggprhgtphhtthhopeeipdhmohguvgepshhm thhpohhuthdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrdhprgdruhhspdhrtghpth htohepuggrnhhivghlseihvghsqhhlrdhsvgdprhgtphhtthhopehjohhhnhgtnhgrhihl ohhrlhhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsh esphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepjhhohhhnrdhnrgihlhhorhes phhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepthdrsghushhsmhgrnhhnsehgmh igrdhnvght X-ME-Proxy: Feedback-ID: i8b2c40a9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 May 2026 11:41:01 -0400 (EDT) From: Jakob Egger Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_CF860728-0279-4D16-956D-929325CD4862" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: Broken build on macOS (Universal / Intel): cpuid instruction not available Date: Thu, 7 May 2026 17:41:00 +0200 In-Reply-To: Cc: Daniel Gustafsson , John Naylor , PostgreSQL Hackers , john.naylor@postgresql.org, Tobias Bussmann To: Tom Lane References: <223EA201-A0E8-4A13-B220-EB903E8DF817@eggerapps.at> <857403.1778162371@sss.pgh.pa.us> X-Mailer: Apple Mail (2.3864.300.41.1.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_CF860728-0279-4D16-956D-929325CD4862 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > Am 07.05.2026 um 16:38 schrieb Jakob Egger : >> Am 07.05.2026 um 15:59 schrieb Tom Lane : >>=20 >> Daniel Gustafsson writes: >>>> On 7 May 2026, at 14:42, John Naylor = wrote: >>>>> This results in an error: >>>>> checksum.c:57:6: error: call to undeclared function = 'x86_feature_available' >>=20 >>>> That's strange. I have an Intel MacBook laying around -- I'll see = what I can do. >>=20 >>> I use an Intel MacBook Pro as my daily driver (currently running = macOS 14.7) >>> and have not had any issues. >>=20 >> 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. >=20 > 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. >=20 > Jakob The Intel build error only occurs when building in Rosetta with Xcode = 26.2. I've switched to building with Command Line Tools 26.4 and it builds = fine. The Universal build issue on the other hand is reproducible across = multiple Xcode and macOS versions. Jakob --Apple-Mail=_CF860728-0279-4D16-956D-929325CD4862 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

Am 07.05.2026 um 16:38 schrieb Jakob Egger = <jakob@eggerapps.at>:
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

The Intel = build error only occurs when building in Rosetta with Xcode = 26.2.
I've switched to building with Command Line Tools 26.4 = and it builds fine.

The Universal build issue = on the other hand is reproducible across multiple Xcode and macOS = versions.

Jakob

= --Apple-Mail=_CF860728-0279-4D16-956D-929325CD4862--