Re: [BUG?] macOS (Intel) build warnings: "ranlib: file … has no symbols" for aarch64 objects

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Zhang Mingli <zmlpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [BUG?] macOS (Intel) build warnings: "ranlib: file … has no symbols" for aarch64 objects
Date: 2026-02-04 18:42:28
Message-ID: aYOTFLqyvvPUQLN8@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 04, 2026 at 01:27:43PM -0500, Tom Lane wrote:
> The idea I'd had was to simply merge pg_popcount_aarch64.c
> and pg_popcount_x86.c into one file. Since each one is basically
> one giant #ifdef block conditioned on a different symbol, they'd not
> interfere. But I wouldn't propose this unless it made sense from
> a code-structure viewpoint, and I'm not sure it does. It could
> make sense if there was some code that could be shared, but I'm
> not seeing much.

Yeah, even after the upcoming code simplification I'm working on, I'm not
sure that makes sense.

--
nathan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zsolt Parragi 2026-02-04 19:20:14 Re: pg_dumpall --roles-only interact with other options
Previous Message Nathan Bossart 2026-02-04 18:33:13 Re: pg_dumpall --roles-only interact with other options