From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id 81ABB3858004 for ; Mon, 22 Mar 2021 16:09:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 81ABB3858004 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-486-sIRBbKJeMWSkMJk3GuQ4_A-1; Mon, 22 Mar 2021 12:09:24 -0400 X-MC-Unique: sIRBbKJeMWSkMJk3GuQ4_A-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AE00983DD23 for ; Mon, 22 Mar 2021 16:09:23 +0000 (UTC) Received: from calimero.vinschen.de (unknown [10.40.195.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 734011803E for ; Mon, 22 Mar 2021 16:09:23 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 92D86A80DC9; Mon, 22 Mar 2021 17:09:21 +0100 (CET) Date: Mon, 22 Mar 2021 17:09:21 +0100 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: No License on math.h Message-ID: Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 16:09:28 -0000 On Mar 22 08:30, Joel Sherrill wrote: > On Mon, Mar 22, 2021 at 7:36 AM Corinna Vinschen via Newlib < > newlib@sourceware.org> wrote: > > > On Mar 19 19:19, Joel Sherrill wrote: > > > On Fri, Mar 19, 2021, 7:07 PM Brian Inglis < > > Brian.Inglis@systematicsw.ab.ca> > > > wrote: > > > > > > > On 2021-03-19 15:51, Joel Sherrill wrote: > > > > > We noticed there is no copyright or license in math.h. Unfortunately, > > > > this > > > > > file has this as the oldest commit: > > > > > 2000-02-17 Christopher Faylor import newlib-2000-02-17 snapshot > > > > > And at that time it didn't have a file header either. > > > > > Any ideas what header should be on it? > > > > > > > > The default first licence which applies if no explicit licence is > > > > specified: > > > > > > > > > > https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=COPYING.NEWLIB > > > > > > > > > We discussed on RTEMS chat that was likely the answer. Would you please > > add > > > that? There is no provenance in the git history that this is intended and > > > not a mistake. > > > > > > I can think of one case where it turned out to be a mistake by the > > > submitter. > > > > Not in this case. The file is as old as the repo itself and the import > > was done from the internal Cygnus repo into the new public CVS repo. > > COPYING.NEWLIB is pretty explicit here. > > > [...] > Another was to ask for newlib's math.h to define something to indicate > it has long double support for a target. This would be preferable long > term especially since adding long double math for some RTEMS targets > where double != long double is on the todo list. Adding those to newlib would be quite helpful to all arches. > Would a define like _NEWLIB_HAS_LONG_DOUBLE_MATH being set > when long double be possible? But looking at the math.h right now, I'm > not sure the precise line to add it. Just send patches. Thanks, Corinna