From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49270 invoked by alias); 31 Jan 2020 11:42:11 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 49256 invoked by uid 89); 31 Jan 2020 11:42:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=newlib X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (207.211.31.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Jan 2020 11:42:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580470928; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=u9W5VG5t+9qHCWqEm4tpE+n7jyFlDrKafKKLqy49nKs=; b=UPIsdATNkd+t84R+dtfztWjOG++Iv6UEA0V5ASwuCGkFr7n/XrxShl4Qf3f9mic35BJjsv Lqq8J5TQB8oVkDOs1iG5LkyUMCJoXlvGdIRU72syqqyufn9q8f26wM4dwNTRaIt5DPpM7x KQRjDPqQ0Uavm8MoK9QZ/sEiERA8pfU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-179-mt98q_gqNKeEntoK3EMrUw-1; Fri, 31 Jan 2020 06:42:05 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D496C1084420 for ; Fri, 31 Jan 2020 11:42:04 +0000 (UTC) Received: from calimero.vinschen.de (unknown [10.36.118.1]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A244760BE0 for ; Fri, 31 Jan 2020 11:42:04 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 370DBA807C3; Fri, 31 Jan 2020 12:42:03 +0100 (CET) Date: Fri, 31 Jan 2020 11:42:00 -0000 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH] RISC-V: Use newlib nano specific libm. Message-ID: <20200131114203.GV3549@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20200129224617.14207-1-jimw@sifive.com> MIME-Version: 1.0 In-Reply-To: <20200129224617.14207-1-jimw@sifive.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LwgCY5hL6Igino+O" Content-Disposition: inline X-SW-Source: 2020/txt/msg00040.txt --LwgCY5hL6Igino+O Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1272 On Jan 29 14:46, Jim Wilson wrote: > The libm gamma functions use the _gamma_signgam field of the reentrant > structure, which changes offset with the --enable-newlib-reent-small > configure option, which means we need to use a newlib nano specific > version of libm in addition to libc in the nano.specs file. Reported > by Keith Packard. There is a riscv-gnu-toolchain patch that goes > along with this to create the new libm_nano.a file. >=20 > Signed-off-by: Jim Wilson > --- > libgloss/riscv/nano.specs | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/libgloss/riscv/nano.specs b/libgloss/riscv/nano.specs > index 89fd23176..e12e31384 100644 > --- a/libgloss/riscv/nano.specs > +++ b/libgloss/riscv/nano.specs > @@ -15,7 +15,7 @@ > %(nano_link_gcc_c_sequence) --start-group %G %(nano_libc) %(nano_libglos= s) --end-group >=20=20 > *link: > -%(nano_link) %:replace-outfile(-lc -lc_nano) %:replace-outfile(-lg -lg_n= ano) > +%(nano_link) %:replace-outfile(-lc -lc_nano) %:replace-outfile(-lg -lg_n= ano) %:replace-outfile(-lm -lm_nano) >=20=20 > *lib: > %{!shared:%{g*:-lg_nano} %{!p:%{!pg:-lc_nano}}%{p:-lc_p}%{pg:-lc_p}} > --=20 > 2.17.1 Pushed. Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer Red Hat --LwgCY5hL6Igino+O Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl40EosACgkQ9TYGna5E T6BOgBAAiLVfOgqqz7w8a7Zsk1VW8PDT3O6oklgBT3UQgoqCz+guvjKJcjrAVd0j OYvyFmX803Ag7p3BrbnQP63afzskG24A9aVk3VS++X6/d8GNMEVfGO3RQVZ83BJ4 yiL2Rmjveyl8AjfLhspqZyhnxdMPFtnF+5kOw7UxsydhuiploBYcDuKvToh1+YSZ 43My6a4+8WOnKolbid8c7+YdejQGKZU+h0mrOW28HspAuITqy9ofYRWknMVbrGj3 hjKLnDh5ORwCJty09N8gagqKpG5L6GTQ6tMgN5Rmm6NIyi/+Iy8Gr0iVBovZizZy Zkl8LnYRsQ2gqhq/e7UvYBScb7TyzREAiDOqnmC71YaTasjhr0hb/TgOxBYhL3P0 Occiw0K/ps9asLz2CPdy+/vQZOuOS31TItQqZMXzAuVbuOpKc6g1JfUBEC1rICzG 3MtqD4QDF77XvwpgMtrxVS9zZ/TZ03csHiUzA7643tTq3DF27syXbU9e9VhHGzN5 TPrkb5niEXAIiDkgBhEfY5Pu/SdND3wrsJJv0VNTkVFRM9eLrqiLF43p1gL0Wuoa eJWjS7YBL0upXPrEoXxrEl9KQcCDber7rnYViHmqrDlC/ydSWJBvIjfYSTZPukiw M3k62TFsV56cayHLAyT2xib6j7SF5MJkrX/dk/YXKR3Ydg/FPKU= =btBe -----END PGP SIGNATURE----- --LwgCY5hL6Igino+O--