Bug 242923

Summary: lib/libc/softfloat could use an update
Product: Base System Reporter: Pedro F. Giffuni <pfg>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People    
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
See Also: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54799

Description Pedro F. Giffuni freebsd_committer freebsd_triage 2019-12-27 19:40:20 UTC
According to a recent audit on OpenBSD, softfloat 2a is considered "non-free":

     https://notabug.org/jadedctrl/libertybsd-scripts-mirror/issues/5

A will note that I don't trust their interpretation, but "I Am Not A Lawyer" and upstream did update the package and its license:
     http://www.jhauser.us/arithmetic/SoftFloat.html

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).
____

FreeBSD is using the same old (2a) version but we obtained it with modifications from NetBSD. I created a problem report on NetBSD as well (NetBSD PR 54799). The issue needs further investigation.
Comment 1 Pedro F. Giffuni freebsd_committer freebsd_triage 2020-01-10 16:14:19 UTC
(In reply to Pedro F. Giffuni from comment #0)
,,,
Since the link is now dead, I'll add some background information. The hyperbola project is "a hard fork of the OpenBSD kernel and userspace including new code written under GPLv3 and LGPLv3 to replace GPL-incompatible parts and non-free ones"

https://www.hyperbola.info/news/announcing-hyperbolabsd-roadmap/

They send a report to libertyBSD (another OpenBSD fork), where they claimed:
<quote>

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
</quote>
They also mention a bunch of files without license that are of little interest for us at this time.