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 1wLI4O-001gLU-1t for pgsql-hackers@arkaria.postgresql.org; Fri, 08 May 2026 10:04:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wLI4N-0096BH-1N for pgsql-hackers@arkaria.postgresql.org; Fri, 08 May 2026 10:04:31 +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 1wLI4N-0096Aw-0S for pgsql-hackers@lists.postgresql.org; Fri, 08 May 2026 10:04:31 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wLI4K-00000000nKX-3c0o for pgsql-hackers@postgresql.org; Fri, 08 May 2026 10:04:30 +0000 Received: by mail-qt1-x843.google.com with SMTP id d75a77b69052e-50d6b9bca48so22164031cf.2 for ; Fri, 08 May 2026 03:04:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778234668; cv=none; d=google.com; s=arc-20240605; b=ktepYTLriKsMPq//RKyZcekq9fVKFUjcSAepeuBQpiPUzQFPNFbVF9xykVJLtiv0aB VhysnjnODlfoICPU0Adj/PzWkyg7kRB+LPRJerFXiZCoRY5e6+wv8FUrwZ9cZS8ZPYGm iTeFM11X9kWw/wZpFNjRnA0tinkih0jYKKUacjJ+InrsuOLqaw1hGhVIJVqzQdcmViTv PakS9AdQDZtE0XOipkjVlnX92+WtXJaQxQzAYVsOG6ymef3Qw+bDOI8nLtAwLrlYfnVf mrF4NiQeSuya0/41FDyoUmaz9xqGriVJQka94GZaxz2uqS/1PjrhKAyUd/W1K/j1UkSk 2FYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=//K4aqF1EslicQFuptwbBivXZ0OALLs57hrsl3daDSs=; fh=wkEiXl3PjjuzGE5ytXAdg15KsFV3J3e0oxl2MruU+bU=; b=HYLvYeNCvzkQ5JYmUkmskh/5B23/zy1gRTVI0Cc5Cv2ox+1qNDHGsKLy5SRiDQXAb3 ZyDEcM0sJqQGXV0ky94JmeI/slaNxCmmRkh3cMvF+XQTB/1g90JSnMOjRHyeR4Y1vouY MiwxWupmUy8gcmOlY2TR2BAtyvnaP+H7QN9iBqr8FK/pGJxxYsZ4pKtDIYiZJF622z11 Pf1ZsongbgXPydGz7RRHbwuOJ3WC52sRGPD8rp9MQ8U5zsC1q3GGHCLF0/Bf2pFeLfr5 4eQw8lyqMzQZT4abN67P30qcXL2ZNtLLI0/CHYtCNhB1It9jfEF2zQTXoquzwWjmpdoZ yyMQ==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778234668; x=1778839468; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=//K4aqF1EslicQFuptwbBivXZ0OALLs57hrsl3daDSs=; b=N1qkiyT5Xkl0LPEaFrAblE05wGeEnaKWUyYbdLo8vC10h5OEP6Mfh75LUgy83xAdYE m5y5nzFoxaZW08DcNvwuHeXkhebvdNFK3b2XClERH2Xrqhf7pCH6xdjWF5mMno7jeQ1S 6zlakhwWkxt9N5ZF8Yp7QGVfyud7r3EJA1MPlP8A0x0BOqOvKdxOQKGndtIXmntF2jSv dOCjUDC1DAMxp+Lo4GPvbJORF4A1xDvlsZZjXeRmvYiwiE+fnHyfVnlR+gQHtP/N2Y7Q a6gi9wJ+G3xnIRKVXJZAyBk1s/22g2jrsvliiRvcgsHRJhbE5+n0BtZM0sbjcnk9X9li 6z3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778234668; x=1778839468; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=//K4aqF1EslicQFuptwbBivXZ0OALLs57hrsl3daDSs=; b=bL0yYMGRqfWFYKh98D06w9PNBE/u8iAQ9my9PC16PMLtnDJNXgoAKeWEdDqGtzGp2A Qy+Eh3OIf8DDxC/qP/jMenmdzdEmoIeUakguNx3P//Gy5iRRyPFKE9JAVXv895lk9su4 23gimxC4iteg3vtZHkcWm4tlVltab5NJEN59ofd2AdBa37GCaot/VfUxmctdXJJUB6og yY2HPnLOyJFsYe6ZnFhRWCCSGN4UrCbweVH+11HA5RtzU8/sXkbIq+aKNo9Zpkg5ZzsB r2an4ejoL7232tnlyi3MgyZ4wE2KM0NM1Ls32TNU2R/lQolAIszv/flOHr0hCCxGwKYU 4Sdw== X-Forwarded-Encrypted: i=1; AFNElJ/C8Pqjam4guw//w/bUTTZ0aXBJ+bGH8bNyTawNqNi+GwJEaT/t/qx3kAe8+B6ffd072Bc1uOFhsoSqAzzV@postgresql.org X-Gm-Message-State: AOJu0YzG7bOwOm2Fv0YdYqntdV1mmwBqIdLwOvroSnRP+eHQ5/1Qt9xY sTwEPbMmslmZKUNM24d+b1EeKSKFGs05anDt/BY0FhC2iWdYSeqeEl9CfJ7TjPmdQPX3vXq6o9j 1fObyyyilOtE6ZTWWJdvsB2vVKIkYNFQ= X-Gm-Gg: AeBDieuQwVBMY3THht758cO6cRyXlfAFs/WtHvGuuRz//4e//J8Vb9vqpryIT3kRrJa v8If8u8Ab1Kzsq0aA9V6tA7znRMads0gXEzI7LpmyQIJEx8/NtRXzC8L4YGwWY6rkFnyQG/ivsn 9DeXlhHz2EF02QtDFJNW4jK8VXxLxT7xOXArbbH7i4qFJ+Zbq9svfYkIGO0uMpjtxU3s243759N w4z88SClg1tkjKmBYr4G71AF4prP51EwdW2jSkjg/VKIXIOwMpZkb2DBMMKffdDdaxmgJJEP6WY 4pccr99513vaKOuv91dHL6HNr2dnY/MlSu1BVgIvQF26v8uQGQNSFPJ8D7bZkmOrznngvczndr1 uLNMK+VMlZ2tt3OSScUZi1UJY/Lk= X-Received: by 2002:a05:622a:580e:b0:50e:60b8:347e with SMTP id d75a77b69052e-514621e5a59mr176566421cf.59.1778234668477; Fri, 08 May 2026 03:04:28 -0700 (PDT) MIME-Version: 1.0 References: <223EA201-A0E8-4A13-B220-EB903E8DF817@eggerapps.at> <871806.1778168884@sss.pgh.pa.us> <873909.1778170924@sss.pgh.pa.us> <471E4CB3-1690-4168-9A99-5F83D97C12AF@gmx.net> In-Reply-To: <471E4CB3-1690-4168-9A99-5F83D97C12AF@gmx.net> From: John Naylor Date: Fri, 8 May 2026 17:04:15 +0700 X-Gm-Features: AVHnY4Iv1psRHxMvN0V7nQaZQNhQeVjk3MDPXgFHYhqU99myd58Pg4mqvxjbV9s Message-ID: Subject: Re: Broken build on macOS (Universal / Intel): cpuid instruction not available To: Tobias Bussmann Cc: Lukas Fittl , Tom Lane , Jakob Egger , pgsql-hackers , Andres Freund Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, May 8, 2026 at 3:26=E2=80=AFPM Tobias Bussmann = wrote: > > Am 08.05.2026 um 05:48 schrieb John Naylor : > > > > Jakob and Tobias, how far do you get with the attached, at least for > > the target x86 case? > > thanks! I tried the patch and it fixes the universal build that broke wit= h > 16743db (and make check passes for both architectures). It remains to be Great! I've pushed that fix. > analysed how useful these universal builds are given the lack of > optimisations for one of the architectures, but at least they are possibl= e > again, as they were previously. Taking a quick look at the configure output you provided, certain optimizations will be lacking on both architectures: checking for _mm_crc32_u8 and _mm_crc32_u32... no checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=3D.= .. no checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=3D-march=3Darmv8-a+crc+simd... no checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=3D-march=3Darmv8-a+crc... no ... checking which CRC-32C implementation to use... slicing-by-8 But compiler builtins seem to work: checking for builtin __atomic int32 atomic operations... yes checking for builtin __atomic int64 atomic operations... yes -- John Naylor Amazon Web Services