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.94.2) (envelope-from ) id 1tzT7T-002NAV-HG for pgsql-committers@arkaria.postgresql.org; Tue, 01 Apr 2025 04:20:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tzT7S-00FvJ8-8V for pgsql-committers@arkaria.postgresql.org; Tue, 01 Apr 2025 04:20:58 +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.94.2) (envelope-from ) id 1tzT7R-00FvJ0-VE for pgsql-committers@lists.postgresql.org; Tue, 01 Apr 2025 04:20:58 +0000 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tzT7P-002gPX-2N for pgsql-committers@lists.postgresql.org; Tue, 01 Apr 2025 04:20:57 +0000 Received: by mail-lj1-x243.google.com with SMTP id 38308e7fff4ca-307c13298eeso58161461fa.0 for ; Mon, 31 Mar 2025 21:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743481254; x=1744086054; darn=lists.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=l0stUaUan+087Yh3D21fqIkKBzIPqnVnFxOgxwVl3ac=; b=M0RQDNxRQVlHyVS1dUmuzTRsIg8lgQ29bsGIN8nQlEBXx8PQnakuC/zGZpSeV1L3t2 NEcxU+ahfvsWkK3q/pWnAEOI54VCWdGjgVE572LOduAiDW0MYk6rR4hS4mdxqLgJlpTr Kf5cOhXE5KsQdOW9IRhkKLXk8r3wDJdcj4HmLzg6Xnkn+HnvG4mzF1VHR6aYeQDSunLr NZUMqe1UC6q3Cb1breah/cEf+qPhtNc7m5rQFgY7GH2Lx2s1D+NitjX2Jd/dIT8HKcnl SeH2FUzoHm4a/YvApHG6ocDWIQeAFREuqEsCXSRfih+8TSaWOll74MdoFkU/rmI+n9WD AcBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743481254; x=1744086054; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l0stUaUan+087Yh3D21fqIkKBzIPqnVnFxOgxwVl3ac=; b=X6KtZiTeuEyHsJfBJYhv/PRdLPTfqf4RRIdj9CY4hysVVG5sl0Ts9uMBCTgNtsOScK MvgfdA8mn3wltANGqg9NAi1CgTIRrPYwrkl1ZBCFjqmt1M42SN/myjOOqHc9nO3724ty W+JYPISUe4md8GS/RnKBNYtc5WS1I6crkocIY6+tUutHvWVoGIeq5t+UhYI8NT5+OlA1 Tlfj+AhzVcGCi/A5lmuEJoKiqxkrY6yYzhW2pbC9vRDBYLaRTGXVzAle+TBrfy9Ugigp WFgn548fwtr9cnmPt4aRV3tw/NAdOIUQ4ol6PqkmYradUXH6dBCbrDtwpcDJHo2H5ijN dT4Q== X-Forwarded-Encrypted: i=1; AJvYcCUeJIuckjSyMgMVsi6H6KIQWQiYjfOf41p91Rfmx4xKHM6sBGBk1mWARgWT40r1sUwYKV1OWkoMX1Mw/Td4oCSn@lists.postgresql.org X-Gm-Message-State: AOJu0YyKC8G0GOz6jYm6/iBqFhLBoKFnfEJ+awvVOlA1iERHwu+PDMFc E4RiDJQSAV0frv8LT6M5qjO5yl+pXNVtqYuFG2CLDSlk/DqlvxqMQunJ+47/eg+P9sRBwixAfDA N6LUyZjDAnKBwt/tIq9/cPTXKSS8= X-Gm-Gg: ASbGncvNbPndOyKZXr6jQd7omfu5Af+gj8T+QytXytWMaCXp4Uxb5XYEWHoRGm+1se/ rSDhnQ/4clt3uG6cWQNU+KtqdDCI9ZjaVX1E7W8oTHZ5rxI5BnVN6IwgEeVghJEzPNRQo9vmO5l YZmMkaK6w0dlqa2RRQa3MEql7irWg= X-Google-Smtp-Source: AGHT+IH6qJprhPPbuY5lZLY7RhkuJcPwCqLW1koaW2OVi8OCdgvRYoL9p0gjio+/zgOGUlz1pq1co+SURX27iyUTBFg= X-Received: by 2002:a05:651c:550:b0:309:20da:6188 with SMTP id 38308e7fff4ca-30ddf7a5fbemr38602781fa.6.1743481254227; Mon, 31 Mar 2025 21:20:54 -0700 (PDT) MIME-Version: 1.0 References: <3837990.1743423175@sss.pgh.pa.us> <3857592.1743426546@sss.pgh.pa.us> In-Reply-To: <3857592.1743426546@sss.pgh.pa.us> From: John Naylor Date: Tue, 1 Apr 2025 11:20:43 +0700 X-Gm-Features: AQ5f1JpAVYWmswruC4y0tab1_yQ87hAr5u_5iMDn0qbMJHrMsVZGDPOm6yQTsdE Message-ID: Subject: Re: pgsql: Inline CRC computation for small fixed-length input on x86 To: Tom Lane Cc: Andres Freund , pgsql-committers@lists.postgresql.org, cookt@blackduck.com 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 Mon, Mar 31, 2025 at 8:09=E2=80=AFPM Tom Lane wrote: > > I wrote: > > What I conclude is that Red Hat hot-wired gcc to assume -msse4.2, > > but they didn't hot-wire clang the same way. > > In confirmation of that: everything goes through fine if I manually > add -msse4.2 to configure's choice of BITCODE_CFLAGS. Not sure if > that line of thought can lead to a usable solution, or if it's > superior to messing with the attributes on relevant functions as > you mooted upthread. Thanks for doing additional legwork! Since the broader issue is still up in the air, and we have confirmation that the attributes will get the buildfarm green again, I'll go do that now. --=20 John Naylor Amazon Web Services