From patchwork Tue Apr 2 14:06:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 785117 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp4953145wrt; Tue, 2 Apr 2024 07:08:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+G4NSRRBa65g2QW6aySgZwAGUn5/JnskJRW78UQ8p/XHpDTqj3ZwX/r4xOPrWy6I80A89r7eerQRgGCl4hgWG X-Google-Smtp-Source: AGHT+IG6nzXDuFp72C9bN3R2reQaRptJ35K8pC+AIIt3EOt5Q5x4zo82nZhpuXDGvYqcylaABR2R X-Received: by 2002:a05:620a:290b:b0:78b:ea95:8b09 with SMTP id m11-20020a05620a290b00b0078bea958b09mr4638327qkp.16.1712066891174; Tue, 02 Apr 2024 07:08:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712066891; cv=pass; d=google.com; s=arc-20160816; b=odv3jyKIJl7ar2spRwhRCfPv+uag83xIFJJwXZQrcGwBksvBF96MhSrZP6qwe2ZRDw 8IjGcOhxq4HMLElR1BZOenRS4692wqnqyRFpyquF5nzgHUU9Iq15etYMgKql0uw8EuQI 4SqV6sGpdWT4Zsk027SiuMiTTbLkHJMK1PkblcoriWvrbh6HtLKE0sNzUkkZ6hnpnNNH FXlPG6xc3X3hdScGjiGLAIFZ+iIG5sWmEszjXYslVoEhlOWbBL5hJjwArS0GugwhdGD8 82v13VMQCTdmQMccKnzWl+fV6XqbA5vmG+kglmU51jdt0U24SuNPT45b+jZDyXmor35Q wKrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=xOR4nGMOezkTBDkCwuk3xq9dvnSfILCezaDFGnxIPx0=; fh=WtLnUd2EuDKv+EP3BSdEI8hdivapDDAq3MY9+WgWrlk=; b=tq0dNEP/mX94WY4JlGWBRX7EVNcKHZWldoSFrpm6udr5Ee3UfA5MQ8zxYznbNJx/9R MXOQqPhKGCNaRdbYN5VZTjjzODrGqMX4Eh5Qw+5q01j1feJ+SAXlNfjNtZ9QSI9ZxKc9 5TQ8FvMYCiJqRRxSQu+4m6i3kAhG0ODjKqyeheRsm354k7oyCOu3Yl/HV7xdGFsh6z0s bmLDcWZt56gHOd+22XVNz+pryesySHcfXT08+fEwAx3ZoUDiRWuEwX/zL2BnLGtW4fZ9 l6CWkMWCv3hrbEQImi3Ey2ObNrkG/uQgct1nUBNWeIWmceCdncOrxpQxPUrWDRbaVbnT eIFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HcHNzvWb; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id wj24-20020a05620a575800b0078a3a113293si11948535qkn.98.2024.04.02.07.08.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 07:08:11 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HcHNzvWb; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B6FE9385DC0F for ; Tue, 2 Apr 2024 14:08:10 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 2B7C13858287 for ; Tue, 2 Apr 2024 14:06:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2B7C13858287 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 2B7C13858287 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::429 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712066830; cv=none; b=f5stBPbF6Q4I7yuq6BWkjNJZsLmf55fb9Hsr9qk2b/jAKXc7g1YxbdKxcg5L3q7CIVk84NWGSw2zLDg7on1VCcIYOs4cJGCmmNpBDaqE0VbpyFYZMoGcniqRrC4Nj1yqWt2BDULvG3NEQkupFaVK7y8xfN+ddz5XjQAYok1XnWc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712066830; c=relaxed/simple; bh=8ksAtigQ9dlqnT85lsOrrcyj2Ft6X7RS08MKjr+WFz4=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=yANHPm6RXVvHL7zbukX08uAh8GiF+aRRUkYKdr3CnHZ1Xmy5s0vMWVSyVlLak5oNBRm0F2j8BhuCsi7hp2+P/U1ZXyXbJ8svN/ub0y+YRlusXk3ul/ftGnlFhLW3Uz8mL+elP3R71MknoqT8pU8aGL+kEEMF4uXLqp1P5eUBqo8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6e704078860so4391783b3a.0 for ; Tue, 02 Apr 2024 07:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712066817; x=1712671617; 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=xOR4nGMOezkTBDkCwuk3xq9dvnSfILCezaDFGnxIPx0=; b=HcHNzvWb5OzuEDsm7wcicX0Y6GXT2tBFl9T7EM3srdnP4fYecFDPojvFME9CbyNAYd hArzpYCiehjnMQaFMSAkycdLBjtZesxcj12AGpjzt5kDPt4d+t5lTQK0g7ZV3D8Kpshy 5pLOG/lYRFm/2U8mnMF49uWO4h2DUlKc3M7MiXyEUbafNwEZUePjCqFzAH5gc7+NjYDa n3gdGvJQIkXSfsw5xsTYTk0nN0aSA2qNFBmnGBkd85LaBCyqJb9ZICuLKBNOpTueiEcW ui9fqVT05BSh5FsFB57Ecgj0+TEr8Y8bdVwD202qhtrTU9fBIpg6JABGQkRK9l3m5GLT FNGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712066817; x=1712671617; 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=xOR4nGMOezkTBDkCwuk3xq9dvnSfILCezaDFGnxIPx0=; b=Z2TMcgbTXnH05SBvjKuCveVNhXjuMDVD0Qcud9dTMllig7+zfBlCFCVcTstzZwMSU8 7s7ua9o5BU8Ubz1zWrLsFr0Jl+DT1tlGX0wBWY4JZQoeRMigS9EnK51U4QvDgZJxu1cQ dCIduEEkeRpP9Uf5etfCgSvSk9mov1etfFQasi1lTlXf6HwxAfejer4zkt1o2R1pjWr4 gbWlSoAEO9l8467RnhO976U5+pATcP+xhuMWH3OlkxN9jytKfwFXXTI/vJeMBdZMiam8 F5KamsYdsh5/orbYH2yiVQwijVWL4M1KhWO1sjhiqjJWDxdDiOV4JC95FemoxYdXNxjH ll1Q== X-Gm-Message-State: AOJu0YyxNGEPS41yYIryCoPtg4vhHGXAv8MIccJCDFeXCoSwfsSZi87p kW66qqP55JyIc8tJ1OKJFr6UiRxBmFN9ms8xM40+o+Datk7w7p4oilWcwMg3px/rhGw/L5PPBk6 X X-Received: by 2002:a17:903:555:b0:1e2:577:f694 with SMTP id jo21-20020a170903055500b001e20577f694mr10336738plb.61.1712066817472; Tue, 02 Apr 2024 07:06:57 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:b18e:b217:420c:65ee:fc3e]) by smtp.gmail.com with ESMTPSA id b3-20020a170902d50300b001dcb654d1a5sm11078483plg.21.2024.04.02.07.06.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 07:06:57 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Joseph Myers , Florian Weimer , "H . J . Lu" Subject: [PATCH v3 4/7] math: Fix isnanf128 static build Date: Tue, 2 Apr 2024 11:06:41 -0300 Message-Id: <20240402140644.2172819-5-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240402140644.2172819-1-adhemerval.zanella@linaro.org> References: <20240402140644.2172819-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.5 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+patch=linaro.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. --- sysdeps/ieee754/float128/float128_private.h | 2 +- sysdeps/ieee754/float128/s_isnanf128.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h index 38a8bdd0fe..672bf3cccf 100644 --- a/sysdeps/ieee754/float128/float128_private.h +++ b/sysdeps/ieee754/float128/float128_private.h @@ -352,7 +352,7 @@ #define frexpl frexpf128 #define getpayloadl getpayloadf128 #define isinfl isinff128_do_not_use -#define isnanl isnanf128_do_not_use +#define isnanl isnanf128 #define ldexpl ldexpf128 #define llrintl llrintf128 #define llroundl llroundf128 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))