From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47347 invoked by alias); 20 Jun 2018 12:33:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 47330 invoked by uid 89); 20 Jun 2018 12:33:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:gdb.arch, gdb.arch, UD:arch, HContent-Transfer-Encoding:8bit X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Jun 2018 12:33:38 +0000 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5KCTICs094885 for ; Wed, 20 Jun 2018 08:33:36 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2jqkm8hm4x-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 20 Jun 2018 08:33:36 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 20 Jun 2018 13:33:34 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 20 Jun 2018 13:33:31 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5KCXV5m34078894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Jun 2018 12:33:31 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E80EBAE051; Wed, 20 Jun 2018 13:22:12 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D7F80AE053; Wed, 20 Jun 2018 13:22:12 +0100 (BST) Received: from oc3748833570.ibm.com (unknown [9.152.213.77]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 20 Jun 2018 13:22:12 +0100 (BST) Received: by oc3748833570.ibm.com (Postfix, from userid 1000) id A6938D80294; Wed, 20 Jun 2018 14:33:30 +0200 (CEST) Subject: Re: New FAIL gdb.base/float128.exp on ppc64le [Re: [RFC v2][2/2] Target FP: Make use of MPFR if available] To: jan.kratochvil@redhat.com (Jan Kratochvil) Date: Wed, 20 Jun 2018 12:33:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <20180620085525.GA2001322@host1.jankratochvil.net> from "Jan Kratochvil" at Jun 20, 2018 10:55:25 AM MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 18062012-0020-0000-0000-0000029CF130 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18062012-0021-0000-0000-000020E943CD Message-Id: <20180620123330.A6938D80294@oc3748833570.ibm.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-20_05:,, signatures=0 X-SW-Source: 2018-06/txt/msg00490.txt.bz2 Jan Kratochvil wrote: > On Thu, 16 Nov 2017 20:00:08 +0100, Ulrich Weigand wrote: > > [RFC v2][2/2] Target FP: Make use of MPFR if available > > 2400729ecfd2c7be8b18aeaa822fef5a4b503f8a is the first bad commit > commit 2400729ecfd2c7be8b18aeaa822fef5a4b503f8a > Author: Ulrich Weigand > Date: Wed Nov 22 13:53:43 2017 +0100 > Target FP: Make use of MPFR if available > > FAIL: gcc-7.3.1-5.fc27.ppc64le > FAIL: gcc-8.1.1-1.fc28.ppc64le > 160d1b3d74593bf42155da24569f54a6e7140f65 gdb trunk > > On ppc64le: > gdb.base/float128.exp > __float128 large128 = 1.18973149535723176508575932662800702e+4932q; > (gdb) p large128 > $3 = inf > (gdb) FAIL: gdb.base/float128.exp: print large128 > > But this is a new test by this patch, I guess it needs some ABI options > gdb.arch/ppc-longdouble.exp is using as that one PASSes on ppc64le in all > cases. This shouldn't need any ABI options, since the test case explicitly uses the __float128 type, which doesn't depend on ABI options (except for -mfloat128, which the test case does pass). A result of "inf" instead of the large number is exactly the problem that is fixed by using MPFR. So I'm wondering: is the GDB that shows the FAIL actually built against MPFR? If at build time MPFR was not detected, then this failure is exactly what you'd expect ... Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com