| Message ID | 20251223173109.2172381-1-adhemerval.zanella@linaro.org (mailing list archive) |
|---|---|
| State | Committed |
| Commit | e56b3faf8d73e0aa0c73ee55e1648a26b156a93f |
| Headers |
Return-Path: <libc-alpha-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 577ED4BA2E28 for <patchwork@sourceware.org>; Tue, 23 Dec 2025 17:32:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 577ED4BA2E28 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=wUh5lJu3 X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by sourceware.org (Postfix) with ESMTPS id 211C74BA2E06 for <libc-alpha@sourceware.org>; Tue, 23 Dec 2025 17:31:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 211C74BA2E06 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 211C74BA2E06 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.215.177 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1766511079; cv=none; b=w88V+BWhhS4yriz2DzsZBkFbb6hp+B7rDRCPWdLIGtXm/2PQdGapF/bRiGYCZlDfitCh81bF25NZjeFi+FPHvhQZwIpfctlCHwOqI11RTn/o+fA6U1Sy5frcM9LLq2qHIqa2scatNVv/Mt4EB/AV3jZesWzCEmGN6u0djNAP9t0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1766511079; c=relaxed/simple; bh=zGl1qpaFrkqOlsg5VxvKScaCXrf/+DSkbdhArVaxjwE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Qbfuid23CBAX+l3oJbPszQMMMEK7xoVoB/Bj57WkVo2BclPlgV36YaCE/HwjPqI5m7Jx/d1/qPXOPyIgBmS4hoCWTSDHurozo3Bx43B3YabHJmJZz8kfx5RRdrqlixKLuIn5CkWPsnBulyvQp5oWHpcOJ05c7JeObFsLIKlNYjM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 211C74BA2E06 Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-bdb6f9561f9so5079903a12.3 for <libc-alpha@sourceware.org>; Tue, 23 Dec 2025 09:31:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1766511073; x=1767115873; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=CYBZlWANrLe1F+1sn3OxnVvyEy5V0h+d2S7OhHueEZY=; b=wUh5lJu3BfGIC/XN9QnNwyDGHwAFG+87z7MQv/DtSDaUaySxY1Qeh2q9xVxcEdxPE3 vFDnnGxEyrJ2fngBSC2Btxdm43hydN3L/CYc1nJ9ZqfHdymzlKbgrU+aHtzAxkIG1GC6 7IPdx4MAjgE4THYYhyr7P/R4teF5AHqZRV1xmxfc27h/luj5ivqrfW7Y7DhK9Qwi1WsE T0XmAEHJw7WLjTFAjSdB07M8tDGxOecTMsPKRHGHbFt8B+eWlyoVmDpd023UiN/Nk65s oHUtSiShyBNeHK0lu+aoKy7fc/LI+dCF6uYKvG1k9q+GoaZFcg1BnJPzb7MKE4g1UvSh Ewuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766511073; x=1767115873; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm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p-Source: AGHT+IG5RwWyVMLbcBo6Kz1w8HKQDWBoeLh8yvUqZjc8qdCkSSYSCU018GlDhfwaSSC0HjPAB1jGUg== X-Received: by 2002:a05:7301:540e:b0:2ac:1bcb:507b with SMTP id 5a478bee46e88-2b05ec47a46mr12357759eec.29.1766511072491; Tue, 23 Dec 2025 09:31:12 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c2:4c9f:b580:507c:10a5:6e4b]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b05ffd5f86sm33289774eec.5.2025.12.23.09.31.11 for <libc-alpha@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Dec 2025 09:31:12 -0800 (PST) From: Adhemerval Zanella <adhemerval.zanella@linaro.org> To: libc-alpha@sourceware.org Subject: [PATCH] math: Fix powerpc64le -Os build after 6b7067460f Date: Tue, 23 Dec 2025 14:31:06 -0300 Message-ID: <20251223173109.2172381-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE, SPF_PASS, TXREP, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
math: Fix powerpc64le -Os build after 6b7067460f
|
|
Checks
| Context | Check | Description |
|---|---|---|
| redhat-pt-bot/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
| redhat-pt-bot/TryBot-32bit | success | Build for i686 |
Commit Message
Adhemerval Zanella
Dec. 23, 2025, 5:31 p.m. UTC
The __USE_EXTERN_INLINES is gated __OPTIMIZE_SIZE__, so also gated the alias required using the same logic. --- sysdeps/ieee754/float128/s_fabsf128.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 12/23/25 12:31 PM, Adhemerval Zanella wrote: > The __USE_EXTERN_INLINES is gated __OPTIMIZE_SIZE__, so also gated > the alias required using the same logic. This prevents ppc64le -Os builds with clang, but that's fine, since it isn't the default and would require more work. This fixes the gcc case. I don't think we need a bug number in this case. Reviewed-by: Carlos O'Donell <carlos@redhat.com> > --- > sysdeps/ieee754/float128/s_fabsf128.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sysdeps/ieee754/float128/s_fabsf128.c b/sysdeps/ieee754/float128/s_fabsf128.c > index 9d64f15040..1e0ce65804 100644 > --- a/sysdeps/ieee754/float128/s_fabsf128.c > +++ b/sysdeps/ieee754/float128/s_fabsf128.c > @@ -1,5 +1,5 @@ > #include <float128_private.h> > -#ifndef __USE_EXTERN_INLINES > +#if !defined __USE_EXTERN_INLINES && !defined(__OPTIMIZE_SIZE__) > # undef libm_alias_float128_r > # define libm_alias_float128_r(from, to, r) \ > static_weak_alias (from ## f128 ## r, to ## f128 ## r); \
Am Montag, 5. Januar 2026, 15:18:59 Mitteleuropäische Normalzeit schrieb Carlos O'Donell: > On 12/23/25 12:31 PM, Adhemerval Zanella wrote: > > The __USE_EXTERN_INLINES is gated __OPTIMIZE_SIZE__, so also gated > > the alias required using the same logic. > > This prevents ppc64le -Os builds with clang, but that's fine, since > it isn't the default and would require more work. > > This fixes the gcc case. > > I don't think we need a bug number in this case. Please push. > > Reviewed-by: Carlos O'Donell <carlos@redhat.com> > > > --- > > sysdeps/ieee754/float128/s_fabsf128.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/sysdeps/ieee754/float128/s_fabsf128.c b/sysdeps/ieee754/float128/s_fabsf128.c > > index 9d64f15040..1e0ce65804 100644 > > --- a/sysdeps/ieee754/float128/s_fabsf128.c > > +++ b/sysdeps/ieee754/float128/s_fabsf128.c > > @@ -1,5 +1,5 @@ > > #include <float128_private.h> > > -#ifndef __USE_EXTERN_INLINES > > +#if !defined __USE_EXTERN_INLINES && !defined(__OPTIMIZE_SIZE__) > > # undef libm_alias_float128_r > > # define libm_alias_float128_r(from, to, r) \ > > static_weak_alias (from ## f128 ## r, to ## f128 ## r); \ > > >
diff --git a/sysdeps/ieee754/float128/s_fabsf128.c b/sysdeps/ieee754/float128/s_fabsf128.c index 9d64f15040..1e0ce65804 100644 --- a/sysdeps/ieee754/float128/s_fabsf128.c +++ b/sysdeps/ieee754/float128/s_fabsf128.c @@ -1,5 +1,5 @@ #include <float128_private.h> -#ifndef __USE_EXTERN_INLINES +#if !defined __USE_EXTERN_INLINES && !defined(__OPTIMIZE_SIZE__) # undef libm_alias_float128_r # define libm_alias_float128_r(from, to, r) \ static_weak_alias (from ## f128 ## r, to ## f128 ## r); \