NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/54799: libc/softfloat needs an update



>Number:         54799
>Category:       lib
>Synopsis:       libc/softfloat needs an update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 26 04:05:00 +0000 2019
>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.



Home | Main Index | Thread Index | Old Index