118 points · by protomyth · 10y ago · 34 comments
I really like this and wanted this on my own projects rather than downgrading to MIT. Personally I really like the strong patent guarantees in the Apache 2.0 license.
The question is, isn't this a new license? Should this be considered the Apache 2.1 or Apache 2.c for compatible?
I'd like to reuse this license provision and drop My use of MIT.
The GCC makes the similar exceptions. Libs/Snippets from peephole optimizations are technically covered by the compiler's license as they're part of the compiler. So the output program is in a sense a derivative work. This really hasn't been challenged in court, but you can see how this could invoke a rather lengthy case if you say pissed off Peter Thiel.
To cover this the GCC's GPL license has exceptions to the GPLv3 for output programs, or programs that use it's headers. You really can't argue the GCC isn't licensed by the GPL. It merely has a handful of exceptions that are specific to the legal oddity of a program who's copyright copyrights derived works, and its sole purpose is to produce derived works.
The Linux Kernel has similar exceptions as syscall functions are inserted into your program at load time. And really everything links against it's headers.
Makes sense the LLVM would do the same
Remember also that both those organizations have very different goals.
GPLv3 has a framework for exceptions built-in
Yes Section 7. But GPLv2 (Linux Kernel) doesn't.My core point is adding exceptions to FOSS compiler licenses is slightly required to avoid technical legal ambiguity with their output.
I could add that section to mine, and it might not standup to court review.
No. It's literally not. It's the apache license, it's just saying "you can do these things even though you normally can't".
It's essentially "a set of additional permissions and guarantees".
This is the same way adding an explicit separate rights grant does not make a new license, it is just an explicit separate set of rights.
I could release software under the GPL, and put alongside it a file that says "Though all of this software is licensed under the GPL, you are allowed to do whatever you want with it, including violate the GPL".
That is not a new license, it's a covenant not to enforce :)
Removing restrictions is always ok, though. That's like the linking exception GNU Classpath:
Note that it only grants additional permissions, it contains no additional restrictions.
Additionally, in the absolute worst case, and we screw it up, the GPL folks are in no worse a position than if we had just used apache2 without exceptions :)
Correct.
> says that if you receive the work covered under the GPL and additional text that has additional restrictions, you may disregard the additional text.
No, it doesn't (EDIT: as below, the GPLv3 actually does, I had forgotten this element of its changes from the GPLv2 in the additional terms area; there's good downthread discussion of this and its effects, I'm not going to revise the rest of this piece to address it.) It says that it is illegal to add additional restrictions to GPL covered work. It does not say that if you receive a work with the GPL and other restrictive text you may ignore the other restrictive text, nor is that its effect (its effect that if the author was legally obligated to release a work under the GPL because it was derivative of an upstream GPL-licensed work, then the author releasing it with additional restrictive text is in violation of the GPL and can be subject to whatever the legal system decides to assign as a sanction for that violation. Absent a decision by the legal system to do so, or compelling the author to do so, that doesn't give anyone else downstream permission to use that author's work other than under the conditions -- the GPL with the additional restrictions -- which they released it with.) And there are certainly situations where the legal system would not compel the distributor of the work distributed with the GPL + additional restrictions to allow it to be used GPL only (such as where the work was a derivative of both GPL work and work under a different licenses requiring some other restrictions.)
And if the GPL + additional restrictions was the decision of the original author, it doesn't even have that effect (and what downstream effect it has is less clear.)
Though what's interesting is that since the license text itself is not explicitly under any license, it's technically just under regular copyright.
The issues we faced were simply those of license compatibility and attribution for runtime libraries, and we chose what we saw as the simplest set of additional permissions to make those work.
(For example, if we didn't care about the usage of LLVM in GPL software, we could have avoided all of the exception related wording here. Instead, we tried to come up with something that would let them still be able to use LLVM without worrying about various compatibility boogeymen)
The biggest flaw of MIT-like licenses is their silence on patent issues, compilers unfortunately being one of the cases where patents are indeed an issue (SEH and Steensgards being two major things well-known as being under patent). Legal opinions differ on what the effect is, and some companies with more aggressive legal departments are twitchy about the matter.
The Apache license covers patents in a satisfactory way while still retaining the permissibility of the MIT license. However, Apache and GPL aren't necessarily compatible with each other--Apache v2 and GPLv3 work around it by adding explicit compatibility clauses. The Apache v2/GPLv2 compatibility story is something that legal opinions differ on [1]. The exceptions being proposed are designed to explicitly guarantee compatibility between the two licenses.
[1] The consensus seems to be that it would just work. However, it is worth keeping in mind that Apple is a prominent contributor to LLVM, and Apple does seem to generally take a more pessimistic legal approach, as well as being very well-known for their abhorrence of GPLv3 code.
What's that?
https://www.google.com/patents/US5628016
https://www.google.com/patents/US6247169
https://patents.google.com/patent/US20070016894A1
I'm not sure about the last one since it's an apparently abandoned application rather than a granted patent...
Interestingly, US6247169 reports "lapsed" on the google page due to non-payment of fees...
I'm really not sure what to make of US5628016 - it's filing date is in 1994, but there's a report of a 2015 "Assignment" legal event.
(edit - fixed links)