Bug 242923 - lib/libc/softfloat could use an update
Summary: lib/libc/softfloat could use an update
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-27 19:40 UTC by Pedro F. Giffuni
Modified: 2020-01-10 16:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni freebsd_committer 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 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.