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=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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=ham 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 E86051F463 for ; Tue, 7 Jan 2020 01:29:42 +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=px/a qibSEqFfJm1cGPknjOfcWXKiQTzcH1EK+cYW6jn+oORF82cw4ZbKfCwSQZMPoqOl v1rt6pUqkb+F+v8Q4OO4dEOzs9EKUQ2ZjoG4dgtsi0G7WJnAq6SnLlOCoE2TNZqo cs1LOQLLhtOa0gYKvlGTTSLRkIyIGwg1YFwoVlU= 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=eqnEXBvEPw Jip8/BXKojA40KKEU=; b=k71BPc7yCbr2Tln7dbhFQz220jlkvwydzx4gbuZ4Ey bLPDb5XZStcx9Yr5gFkpkrL81qsmktOnT/68g21fCF6CjcOABsPrTuzgofEHLi3n MzpoupoSNtro2HzkRy9feXKJRoPVdNayjCb7vzTcmBoife5cJdqFqWaJSlMkMK3p k= Received: (qmail 66011 invoked by alias); 7 Jan 2020 01:29:40 -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 66002 invoked by uid 89); 7 Jan 2020 01:29:40 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-ua1-f65.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/o8kOPKTYrfHKPQVMfCevaWaUd5H+fcXT0wKCpwhK8I=; b=KrFR0ZdhFQNE+lX9OqsN75kEYUqTY5Vej97BNOtNtyzD2YLfz6+q3Yee0aErVuo4y/ 7aMKVH4Om3S1ezuK8QexLyqjvojvKWTuWR41jImbwWFM/+R1e/jky4rsJfGL+T8RCpCV pbrF/2q8MkBadiClvGhlfxxP0iiRQSLGWx7JR6HgeZwuTUz4isLf3/c99HEjhn9cWG7W SLibhzwjAQlUCrda+V9W1u3PhaOhngS+p7sfvKqBDb6CtZ7topFwitKrBHzqj6qGfsuz MUek9i8wlq0kb8a1eX1soVGC32NM0+AuS7ImIxmXcf1tPuNGnzXEBF7KHbvoZHb61//q rMhg== MIME-Version: 1.0 References: In-Reply-To: From: Jim Wilson Date: Mon, 6 Jan 2020 17:29:26 -0800 Message-ID: Subject: Re: Math errors To: Alistair Francis Cc: Joseph Myers , GNU C Library Content-Type: text/plain; charset="UTF-8" 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. Jim