From patchwork Tue May 21 16:52:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1937497 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=lXqNisrh; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VkLDC5jdKz20dK for ; Wed, 22 May 2024 02:55:55 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1BD0A384AB6E for ; Tue, 21 May 2024 16:55:54 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by sourceware.org (Postfix) with ESMTPS id AE6933858C62 for ; Tue, 21 May 2024 16:54:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AE6933858C62 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 AE6933858C62 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::102c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716310482; cv=none; b=StRbhAt345Y+s2RAGlh4X1gI5WD93fGSCIWOoWIf8fsoW3VHgB/DiTmhDJBWQfg3efeR4z9bTBbjYuyxzbZj1iLfGGzpozDXzktsahs3yzyR92hsKr/miTkX0NaElnNH7cqcCylZ579mhQD+47MiqUKkN4W0lGUHjNUkqDT9E54= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716310482; c=relaxed/simple; bh=9DGrpXFCdp2T/RJf/JhVO/Isg5Thz+BEsOe4SXuTUao=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=eoHAfTXRquQzZsjxhyqThtdHUJbwRHUXzV8Lumo9nq324qZcsLYb1cC1X24r87Ud+uhAOH4RL/eQx6S9TCkMtrJKP520IK+EHlJzRkQ9TXGO553nPa5qcxFH/wqbzE8DDJur+Y0lvUEgJOih2Aq0YbJFcLh4b0IeYNlAFUOT1Fs= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2b432be5cc9so543023a91.3 for ; Tue, 21 May 2024 09:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716310479; x=1716915279; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dNDJouFnqf0kBr+cv2DSCub2WpBmMP3kx9KkveqAi1A=; b=lXqNisrhtUfPa3joMdLF8cMoM8/yJ0KJF0HCyJ1n1HA5qPWe6f6Whfrit6g3LYEfIE wJPZ0AXzxBeUUPxD4yvv5uEyN6umfcGVA0PC0nlEbYTnJB6SCz1psGyJDoQxOS7cDzU5 SPCxeCs4qL5YGZrJ4G0B71SIQt2v57xLHUzfhSm9Ik/1vXQQrMQmjrwyKM16Sk43ONsU 8bFoLow4yjL73BO7hLQyZwxEfM5wgbpSnWPF5CV8S+iV7Pofm5c5Mxw3f4RjCP51WGmG f0y6yljhQgqyHL0fUeoYM3UmZv9h9i1CyrGYIM2ZZKn5wLKH7ro66mEZdBlHP1cqkovU ujLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716310479; x=1716915279; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dNDJouFnqf0kBr+cv2DSCub2WpBmMP3kx9KkveqAi1A=; b=TWWiFe90cypXKE2kkj03HY3bgcJO6dmbJh6X0IO4+bfJ6LpRiOo+qf6x7+ZdmohU/q w7V8g3kI7c9Lk/wliLoCF5HZRFcJuTfFEfnRIdfBhch5or53/kbnLfmRjZLFs/IfQ3iA sBlJ5foLIii2Dx1Xpf6sC26T7n4ls0ut6P1KyckBjPkZgQkkW5d+MuyoJjbj3ZBePY+t nLF/gXRogiPqX5w7DZJmJt3JLCzzuJOFne4Rv4vp3AVT855Me+GOkZH5PgzOZF+FTSd2 y45InTKyAK9xkfjG4z/9M/70gmg0CTq3eFNW7CY6FaOEBWDLRyOLOSAWYkcuv6EQCRL6 OcfQ== X-Gm-Message-State: AOJu0Yzw0fJ87Dt86dHB8xQGQzmZbodJk2LTY58bENQ5SaUfWI/ersMw 1Dhx9fqZj+nlZwppmoTnMOjuQQ1ocKQqpiIY1WhZecW8iBNs3t0Shce2Y4ACu94DsB28YUBCoE2 A X-Google-Smtp-Source: AGHT+IHUbi3WAn3e9etgbhJWpmWb/lyzt63dyZMq2qJhAPZiSsqmaDc17TMOMGGv+l39Te0QsoH4XQ== X-Received: by 2002:a17:90a:d345:b0:2b3:c011:d28c with SMTP id 98e67ed59e1d1-2b6cd1ef673mr28700409a91.48.1716310479229; Tue, 21 May 2024 09:54:39 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:f76a:a4a6:1329:be7a:c724]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bd92b3d2b0sm1620774a91.3.2024.05.21.09.54.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 09:54:38 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: "H . J . Lu" Subject: [PATCH v4 2/5] math: Fix isnanf128 static build (BZ 31774) Date: Tue, 21 May 2024 13:52:54 -0300 Message-ID: <20240521165430.2998944-3-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240521165430.2998944-1-adhemerval.zanella@linaro.org> References: <20240521165430.2998944-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Some static implementation of float128 routines might call __isnanf128, which is not provided by the static object. Checked on x86_64-linux-gnu. Reviewed-by: H.J. Lu --- sysdeps/ieee754/float128/s_isnanf128.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sysdeps/ieee754/float128/s_isnanf128.c b/sysdeps/ieee754/float128/s_isnanf128.c index 59f71533ce..b73a4e80d7 100644 --- a/sysdeps/ieee754/float128/s_isnanf128.c +++ b/sysdeps/ieee754/float128/s_isnanf128.c @@ -11,7 +11,11 @@ #include "../ldbl-128/s_isnanl.c" #if !IS_IN (libm) #include +#ifdef SHARED hidden_ver (__isnanf128_impl, __isnanf128) +#else +strong_alias (__isnanf128_impl, __isnanf128) +#endif _weak_alias (__isnanf128_impl, isnanl) versioned_symbol (libc, __isnanf128_impl, __isnanf128, GLIBC_2_34); #if (SHLIB_COMPAT (libc, FLOAT128_VERSION_M, GLIBC_2_34))