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 1vnhpi-00AWFU-1O for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Feb 2026 18:42:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vnhph-00D9Ji-1Q for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Feb 2026 18:42:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vnhph-00D9JW-0S for pgsql-hackers@lists.postgresql.org; Wed, 04 Feb 2026 18:42:32 +0000 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vnhpf-00000000Z5F-0Db3 for pgsql-hackers@lists.postgresql.org; Wed, 04 Feb 2026 18:42:31 +0000 Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-7cfd95f77a3so88386a34.0 for ; Wed, 04 Feb 2026 10:42:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770230550; x=1770835350; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zaRnPQEsa57XiuJeZmvlF+fKR6C3wyxXu3EwgMpaP88=; b=ayhkls26p92uI5vYeRmPGp3Ah9tHIzHPjeOOqo62dc0WD+AKAEuuK2+gkAZTXcjoEJ PiL/L11BQNm35o+gxcBIO6DukHZAnzwq10hBTDnoBSKK9MDALwi2dVJprq7BlVGx5gR8 GXDRxlc9pWG63pxt3b+EyQH5R+6NAJKBB0Jcd1K6vRz+uCKfUtAPhh6KVKxisCVXSyVy kVaDViia3MPOoQmnP8gulNKPgl3J+gnGxAbyiY9Il/25EU7pNGgpR/5MEm9ZlY2/hAUo e82NftZ+64hBVdlN+NCeIyfbjQfXOpuZHVleVjoJUIVQZdN3NxLX8e+D7nGXwH4ehffg kUiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770230550; x=1770835350; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zaRnPQEsa57XiuJeZmvlF+fKR6C3wyxXu3EwgMpaP88=; b=J6TLBNF5IFPLCMkFRw49oEJLDRJ/ReXON0AJ8LZ4hE/CxCbyiK6uHsZ7Zp+HLZHJhI LaUuEQpdLbFbHNSmFAz8ohkHeXbb13fU9XZCOWh26rbC1/fjb9T9cwJpgcrURtYP3h8V JnvDrY8WZJkB1zjcBy/iWF+YZASo5SEpruHsu315LT4NkQ29w51I3WA8EHuYImJm9Btk I/iiJ6iFLOkXKSwpV3tllkuhJYfth/ValcRKDhiQ9SehCSF2Gs/B1tX1e77KCQzF7Akc 1tJ2QMnLDkzb+Ibt/I6+Q+IZY+kKaw5GFFyqt6O9tuwFubNT9hWcSE9g3tMmtX+b5y4/ wkPQ== X-Forwarded-Encrypted: i=1; AJvYcCVj6DB9hrpxITjzzsjsPcU/4bUfF5jZbQc5KmD2ltBxLSSzYelrNXdnAJwLI6YoeCIZslSnpxtNHfRtFYtf@lists.postgresql.org X-Gm-Message-State: AOJu0Yyc003aN6/A9wVAikUvM2BLeC5N/NYc7gWss7joH6ZOpFCSzbTQ i9vPabYQ9NGjkD/9c/WZQmFV+yRggFwhqZv6149pu4YwoojYz+LMJ4Vh X-Gm-Gg: AZuq6aKCNrxtl0mYepbSoRt3f/eGMnuVX1f/yFOx2XUMTQx5r/UF3zuWV7yLCxIT+xU e4o1k/iRmLh4mIXhHy/euD5rd3rICBPEHEUAfeCPWfVi1vOTqqkVIh/FOjEcVn8JqoprPOIU+Ua IQmYkEHVDOnFNpKvNU/9US3ZHDbjc90rXZ7OFblvtAds+hCl+XmthjNJl/xpVv6bDwQOtDtbzKY CRKj7VICOXLNSpk5m80AaOFAaS4u+Xc4adcQ+u00F8u95yXo+rxBdCyOT338bv2i0ckzjBHtP1Y NNj5rGksZ9fpiY56PDHbPhkXvxwMtGRM3A+KFxqngWbzXB8dwRGsNdT5hHpYMgQmfP5ts5+hzI5 pb7VRLxtJp1riS0A3V0uLO22SKBfks6B4DN5GqB76PmS1MUQGdR0XO36TVT3VVpCQyBgrJrSidM RgIHI9pH/jMnr5g+g4QwySAZXYh2ePR4WMqqNxyih/5IYMF7x8qokUQsxDWaiTbTRpqi1FqOitC 66c X-Received: by 2002:a05:6820:623:b0:663:8fc:d3ff with SMTP id 006d021491bc7-66a22979d7cmr1982515eaf.53.1770230550302; Wed, 04 Feb 2026 10:42:30 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-66a35e7f71csm1740844eaf.16.2026.02.04.10.42.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Feb 2026 10:42:29 -0800 (PST) Date: Wed, 4 Feb 2026 12:42:28 -0600 From: Nathan Bossart To: Tom Lane Cc: Peter Eisentraut , Zhang Mingli , PostgreSQL Hackers Subject: Re: [BUG?] macOS (Intel) build =?utf-8?Q?w?= =?utf-8?Q?arnings=3A_=22ranlib=3A_file_?= =?utf-8?B?4oCm?= has no symbols" for aarch64 objects Message-ID: References: <229aaaf3-f529-44ed-8e50-00cb6909af21@Spark> <4df5af1a-8528-4f9f-9daf-ec069bd66f69@eisentraut.org> <1453046.1770218933@sss.pgh.pa.us> <1472307.1770229663@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1472307.1770229663@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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