From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-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-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= 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: Tue, 07 Jan 2020 01:29:00 -0000 Message-ID: Subject: Re: Math errors To: Alistair Francis Cc: Joseph Myers , GNU C Library Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2020-01/txt/msg00090.txt.bz2 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