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 1vlLdA-00AFie-23 for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Jan 2026 06:35:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vlLd8-006oNK-2Z for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Jan 2026 06:35:51 +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 1vlLd8-006oN7-1a for pgsql-hackers@lists.postgresql.org; Thu, 29 Jan 2026 06:35:50 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vlLd6-000000011Ch-0UB4 for pgsql-hackers@lists.postgresql.org; Thu, 29 Jan 2026 06:35:50 +0000 Received: by mail-pg1-x542.google.com with SMTP id 41be03b00d2f7-c551edc745eso264155a12.2 for ; Wed, 28 Jan 2026 22:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769668545; x=1770273345; darn=lists.postgresql.org; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=pk4iehGHkoC6KYF3bqGmyaB80i4RpQ/9Q9A1Kjjnd44=; b=b3mXkjE7M1Pa1mR+rCKWIwa43GqGjnQEERcTd0k5PKC2y/v1FbvtlycGYnzwuz93Jc j3JVDuZ0nGljutxoHKoaCSQTSNorPWF/nzxDiXwh4paEQHZ4HkOQ50bpLjSj7kUZVHcV fJxI59SY2z/6UDfQ8O7kPTwDPFUeNFoQPPaBWZjMK99niaUB7d2GV0PdzizG8gcwnbn5 dJe6yCQQpbLnApSG++GFKFjdh33AWZNpf/ct6OCEVzGVvy31OUuBjbQoenQE4rn3Xoly wr5mRSVLda2yqbYo6kVVdocrBe3E9Wi1GkBKCUV/eyVyRSbQgjCzRQefwYAZOzNcEXq+ vZDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769668545; x=1770273345; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pk4iehGHkoC6KYF3bqGmyaB80i4RpQ/9Q9A1Kjjnd44=; b=Ci7G7d8tM/G5RPYtVeZdkpA0FE2lCVCzNySHiETYi3/+Byua8Qr2rBkJqzXtXteQWl TaTJH/wmfytxYH9u2XGC1ImKTH/RxSUN2NaxcwpvLe2k/+GYwsqbyfrwsankH5wKVq2L w3pk95Mxx7dBZtcJ/qOmovu8hjP0x6++rhsu+NoEy3DAII/y0V26pCO2kVdkIU5sfXGR Zv72iqdYtCPPD6qLYEoTOcPA3nqfFXK7buNjQbYi3ge+H3bEN0+ai+uQC41luV+n2fiT PuPmwvO+lKAyqzv0tj1CyQnhzk25cId13oRwwWnOZhJ6k1a1OIek52aCddmYHaNm/83G Dy4A== X-Gm-Message-State: AOJu0Ywz1Iasx20rfQ4zQbdr73C5HoHmLlkVoh1KTOPREU3m6VbPnX96 6ngV1XRXtNJFtv/PyCnmGm8TcwCr6WbFO+GI1KCnKnN5yEt0kcBieYh7dMCKwQP9A6wd1w== X-Gm-Gg: AZuq6aI7fdF2H6qR1fR3KxaRCjrE0a5wjDJhZra4PHtEvCdZGSVPGIKCPlWt90AysMi AuYb94rw6WtkCE3Hg7S9N2H+e5UFhaUtPIFsFl/OhW1EgwbFYzLJR28Izv6LwmZ4yHAYyF4aM4h 4rfc3KEXIe09tG7LHMDkGhztfAfYBSngEd/DR/x+xjqZhJd8t8MLGNEa7oBU78r3SxrOLQvZ04w H4wp/1+jw3OLj/vUzxsjDz46hkpOeLZ1Q6f+oG2ctRQZBCgd3yLooaCRHo0kWhCcVSfxKnVCqXV 0wlcAwXhkGatsgG8R2kNbSG5G28e+rIWMmwWAPnI4bBdedRLkZAdADjDdd14Y0q9srYpDNIF3B7 tZusI2lVwESbP5iseiG4Rvypal8rQk3vpazDm+rfVsLhGRXf0juVBZvOrI1JHQc2wAziS6aVCnm o3QfXMRZbtFX9a0Kq7x4poMa8mx2h18KFFqY7jC/t/diIVmPQzV4tjVNgQE7dmDmb0/VtXFUsCv a+d X-Received: by 2002:a17:90b:3c88:b0:349:3fe6:ab8b with SMTP id 98e67ed59e1d1-353feda35abmr6982018a91.36.1769668544538; Wed, 28 Jan 2026 22:35:44 -0800 (PST) Received: from [127.0.0.1] (ec2-13-229-249-124.ap-southeast-1.compute.amazonaws.com. [13.229.249.124]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35430fc6f0dsm528732a91.2.2026.01.28.22.35.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jan 2026 22:35:44 -0800 (PST) Date: Thu, 29 Jan 2026 14:35:34 +0800 From: Zhang Mingli To: PostgreSQL Hackers Message-ID: <229aaaf3-f529-44ed-8e50-00cb6909af21@Spark> In-Reply-To: References: Subject: [BUG?] macOS (Intel) build warnings: "ranlib: file =?utf-8?Q?=E2=80=A6_?=has no symbols" for aarch64 objects X-Readdle-Message-ID: 229aaaf3-f529-44ed-8e50-00cb6909af21@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="697affbc_39bea981_bd46" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --697affbc_39bea981_bd46 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm building the master branch (commit 740a1494f4bf) on macOS (Intel Core i7) and encountered the following warnings during the make process: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpgport.a(pg_popcount_aarch64.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpgport_shlib.a(pg_popcount_aarch64_shlib.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpgport_srv.a(pg_popcount_aarch64_srv.o) has no symbols The build completes successfully and the compiled binaries appear to function correctly. These warnings appear to be related to the recent AArch64 (pg_popcount) optimization commits (possibly 79e232ca013c and fbe327e5b465d). It seems that on my Intel-based macOS system, the build process is generating empty or placeholder object files for the AArch64-specific implementations. While there is no functional impact in my environment, I'm reporting this to ensure it's noted, as other macOS/Intel users might encounter the same warnings during their build. -- Zhang Mingli HashData --697affbc_39bea981_bd46 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi,


I'm building the master branch (commit 740a1494f4bf) on macOS (Intel Core= i7) and encountered the following warnings during the make process:



/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctool= chain/usr/bin/ranlib: file: libpgport.a(pg=5Fpopcount=5Faarch64.o) has no= symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctool= chain/usr/bin/ranlib: file: libpgport=5Fshlib.a(pg=5Fpopcount=5Faarch64=5F= shlib.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctool= chain/usr/bin/ranlib: file: libpgport=5Fsrv.a(pg=5Fpopcount=5Faarch64=5Fs= rv.o) has no symbols


The build completes successfully and the compiled binaries appear to func= tion correctly.
These warnings appear to be related to the recent AArch64 (pg=5Fpopcount)= optimization commits (possibly 79e232ca013c and fbe327e5b465d). It seems= that on my Intel-based macOS system, the build process is generating emp= ty or placeholder object files for the AArch64-specific implementations.<= br /> While there is no functional impact in my environment, I'm reporting this= to ensure it's noted, as other macOS/Intel users might encounter the sam= e warnings during their build.

--
Zhang Mingli
HashData
--697affbc_39bea981_bd46--