NetBSD Problem Report #54799
From www@netbsd.org Thu Dec 26 04:02:52 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8E4177A18C
for <gnats-bugs@gnats.NetBSD.org>; Thu, 26 Dec 2019 04:02:52 +0000 (UTC)
Message-Id: <20191226040251.A13DB7A1C8@mollari.NetBSD.org>
Date: Thu, 26 Dec 2019 04:02:51 +0000 (UTC)
From: pfg@FreeBSD.org
Reply-To: pfg@FreeBSD.org
To: gnats-bugs@NetBSD.org
Subject: libc/softfloat needs an update
X-Send-Pr-Version: www-1.0
>Number: 54799
>Category: lib
>Synopsis: libc/softfloat needs an update
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: thorpej
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Dec 26 04:05:00 +0000 2019
>Last-Modified: Sun Sep 27 21:18:41 +0000 2020
>Originator: Pedro Giffuni
>Release: -current
>Organization:
FreeBSD project
>Environment:
N/A
>Description:
Accordfing to a recent audit in OpenBSD, softfloat 2a is considered "non-free":
https://notabug.org/jadedctrl/libertybsd-scripts-mirror/issues/5
The following files do not allow distribution. This was fixed in newer versions, including SoftFloat 3.
"The restrictions on legal use have been clarified (not applicable to Release 3 or later)." http://www.jhauser.us/arithmetic/SoftFloat.html
lib/libkern/milieu.h
lib/libkern/softfloat.c
lib/libkern/softfloat.h
lib/libkern/softfloat-macros.h
lib/libkern/softfloat-specialize.h
(of course the layout in OpenBSD doesn't correspond to NetBSD)
>How-To-Repeat:
I groked the code and found it in:
/netbsd-src/lib/libc/softfloat/
The code corrsponds to 2a which is the same version as in OpenBSD.
It is probably easier to update to version 2c. From the homepage:
Release 2c
For those who may need it, SoftFloat versions preceding Release 3 have been updated to Release 2c (2015 January). The only changes in this release compared to earlier releases 2a and 2b are these:
Some bugs are fixed that affected correct compilation for some 64-bit processors only.
The documentation has been improved in minor ways.
The restrictions on legal use have been further clarified (not applicable to Release 3 or later).
>Fix:
Update the code to the latest release (3e) or 2c.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: lib-bug-people->thorpej
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Sun, 27 Sep 2020 21:18:41 +0000
Responsible-Changed-Why:
Assign the right bug this time by request
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.