From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-2.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 381931F463 for ; Tue, 7 Jan 2020 01:33:19 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=KX6W 9w1SXrpHRnCMuv6/wj2ik8nyFQkV3Mu08b45RNmWV3YTe5KrJ2WR3qtYpYlBJyVC DVhTnzWTi+0vzj02i1tniMM3eZHqasozWi02HHTN98UHzuL9z/v/sMIwTD1XoKnp zQsbX/SkkaAI0Safrfbu/EKcg/qzc81DDtFMV+c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; s=default; bh=EFgIrhYuq9 vpOgoJdrhjX3vgdjg=; b=OWrzfOyWr52fCs1afo0z6q+7QW3+zTxCZQH48IHtOb ZFniTbBXj3K+/sYKKxwb7apL+wSOa/O17qCsexCnQ8yIg1sT7T9jspBK8lFjCNv7 +JefQQEUI9d9+3mu1DoZw/z4MaesSwjSpariKnhx+fbRk+nywUVHR7/ESrSB3w2q s= Received: (qmail 71864 invoked by alias); 7 Jan 2020 01:33:15 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 71807 invoked by uid 89); 7 Jan 2020 01:33:15 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-lf1-f46.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xxAP/lrdoyZdYO5QHlmAoTpxFCVsHRzAgyhJFDY48lw=; b=itN+xXEqss3eOgVGRmlZEM0Wlm3YgM5WkJddY42vN4pcCpwGtOoeXLDchp+RrD27Bb 7B2g9WM7/P8FxlX6g8qCKA52xJ7IijOlVpDPfqy/LDdN/eIUYWX8+CzW3+pbah2B6ZV0 3P8PUVPppk6yT9K7nbSYMNITyQQUK1e3kXEGYEKensijn1xHofLWJBzrEHg1w21k0H3X duEdyTmwJCIfuW9Yg/K7750YoZvJSiLdtFMhs8yWc4bNKXkrt3nbYhLfIjWEdMnW/HNm z5EYj6v4UR57B1P8XeyK3EWdogExVNtjgJ/PN80uMIbuYePwGIzxpfp/4v/hqi/qmG43 MKmA== MIME-Version: 1.0 References: In-Reply-To: From: Alistair Francis Date: Mon, 6 Jan 2020 17:32:44 -0800 Message-ID: Subject: Re: Math errors To: Jim Wilson Cc: Joseph Myers , GNU C Library Content-Type: text/plain; charset="UTF-8" On Mon, Jan 6, 2020 at 5:29 PM Jim Wilson wrote: > > On Thu, Jan 2, 2020 at 6:18 PM Alistair Francis wrote: > > There are a handful of math tests that seem to fail, but if I manually > > run the test a few times I will eventually get a pass. Any hints on > > what to do there? > > There is a known bug in the RISC-V linux port where FP regs can leak > across fork and exec. This is normally not a fatal problem, except > for some tests that assume that the FP exception flags are clear on > program start. This can be false if they were set in the parent > process, which can cause some glibc math test failures. This can > result in failures that appear/disappear when run manually versus from > the testsuite driver. There are only about 5 tests that are affected. > The bug was finally fixed about a year and a half after I first > reported it. That happened only a few months ago. If you don't have > a recent enough version of the linux kernel you may not have the fix. Thanks for that Jim. I have the latest 5.4.x kernel, I'm not sure if that has it or not. I see a lot of math failures, so I'm not sure if it's the same issue. Right now I have all of these failing: FAIL: math/atest-exp FAIL: math/atest-exp2 FAIL: math/atest-sincos FAIL: math/test-double-cacos FAIL: math/test-double-cosh FAIL: math/test-double-fromfpx FAIL: math/test-double-islessgreater FAIL: math/test-double-iszero FAIL: math/test-double-jn FAIL: math/test-double-llrint FAIL: math/test-double-log1p FAIL: math/test-double-ufromfp UNSUPPORTED: math/test-fesetexcept-traps UNSUPPORTED: math/test-fexcept-traps FAIL: math/test-float-cabs FAIL: math/test-float-ilogb FAIL: math/test-float-isnormal FAIL: math/test-float-ldouble-div FAIL: math/test-float128-fmod FAIL: math/test-float128-iseqsig FAIL: math/test-float128-ufromfpx FAIL: math/test-float32-catan FAIL: math/test-float32-csinh FAIL: math/test-float32-float64x-add FAIL: math/test-float32-iszero FAIL: math/test-float32-jn FAIL: math/test-float32-significand FAIL: math/test-float32-sincos FAIL: math/test-float32-tanh FAIL: math/test-float32-yn FAIL: math/test-float32x-asinh FAIL: math/test-float32x-exp FAIL: math/test-float32x-log10 FAIL: math/test-float32x-yn FAIL: math/test-float64-asinh FAIL: math/test-float64-canonicalize FAIL: math/test-float64-getpayload FAIL: math/test-float64-j1 FAIL: math/test-float64-jn FAIL: math/test-float64x-cexp FAIL: math/test-float64x-ctanh FAIL: math/test-idouble-acos FAIL: math/test-idouble-catanh FAIL: math/test-idouble-copysign FAIL: math/test-idouble-csinh FAIL: math/test-idouble-erf FAIL: math/test-idouble-fminmag FAIL: math/test-idouble-hypot FAIL: math/test-idouble-lgamma FAIL: math/test-idouble-log1p FAIL: math/test-idouble-setpayload FAIL: math/test-ifloat-cacos FAIL: math/test-ifloat-cacosh FAIL: math/test-ifloat-casin FAIL: math/test-ifloat-erf FAIL: math/test-ifloat-llround FAIL: math/test-ifloat-pow FAIL: math/test-ifloat-setpayload FAIL: math/test-ifloat-sincos FAIL: math/test-ifloat-tan FAIL: math/test-ifloat-tgamma FAIL: math/test-ifloat128-ctan FAIL: math/test-ifloat128-j0 FAIL: math/test-ifloat32-clog10 FAIL: math/test-ifloat32-issignaling FAIL: math/test-ifloat32x-cpow FAIL: math/test-ifloat32x-fmaxmag FAIL: math/test-ifloat32x-j0 FAIL: math/test-ifloat32x-remainder FAIL: math/test-ifloat64-cexp FAIL: math/test-ifloat64-floor FAIL: math/test-ifloat64-fmod FAIL: math/test-ifloat64-lrint FAIL: math/test-ifloat64-sincos FAIL: math/test-ildouble-lgamma FAIL: math/test-ldouble-exp FAIL: math/test-ldouble-fmod FAIL: math/test-ldouble-ilogb UNSUPPORTED: math/test-matherr UNSUPPORTED: math/test-matherr-2 UNSUPPORTED: math/test-nearbyint-except-2 Alistair > > Jim