From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7814) id 805C23858003; Fri, 24 Sep 2021 07:29:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 805C23858003 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Fangrui Song To: glibc-cvs@sourceware.org Subject: [glibc/maskray/unnest] powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used X-Act-Checkin: glibc X-Git-Author: Tulio Magno Quites Machado Filho X-Git-Refname: refs/heads/maskray/unnest X-Git-Oldrev: 4ed7a383f9a8468194ccaebba3f0fa659003888d X-Git-Newrev: 54ff4f1e39067bfd04fb2141710637a11ef88862 Message-Id: <20210924072951.805C23858003@sourceware.org> Date: Fri, 24 Sep 2021 07:29:51 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2021 07:29:51 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=54ff4f1e39067bfd04fb2141710637a11ef88862 commit 54ff4f1e39067bfd04fb2141710637a11ef88862 Author: Tulio Magno Quites Machado Filho Date: Thu Sep 23 14:04:21 2021 -0300 powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used Avoid defining f64xfmaf128 twice when building s_fmaf128.c. This can be reproduced on powerpc64le whenever f128 functions do not have IFUNC enabled, e.g. using "--with-cpu=power8 --disable-multi-arch", or when using "-with-cpu=power9". Fixes: b3f27d8150d4f ("Add narrowing fma functions") Diff: --- sysdeps/ieee754/float128/s_fmaf128.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/ieee754/float128/s_fmaf128.c b/sysdeps/ieee754/float128/s_fmaf128.c index a900af6e3c..af28f5e724 100644 --- a/sysdeps/ieee754/float128/s_fmaf128.c +++ b/sysdeps/ieee754/float128/s_fmaf128.c @@ -1,3 +1,5 @@ #define NO_MATH_REDIRECT +#define f64xfmaf128 __hide_f64xfmaf128 #include +#undef f64xfmaf128 #include "../ldbl-128/s_fmal.c"