Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-30 Thread Joe Buck
On Thu, Jan 29, 2009 at 04:34:09AM -0800, Joern Rennecke wrote: Quoting Ian Lance Taylor i...@google.com: I'm not sure what your point is here. newlib is not under the GPL in any case. It is not affected by the gcc runtime library license. The old runtime library exception allowed you to

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-30 Thread Joern Rennecke
Quoting Joe Buck joe.b...@synopsys.com: On Thu, Jan 29, 2009 at 04:34:09AM -0800, Joern Rennecke wrote: Quoting Ian Lance Taylor i...@google.com: I'm not sure what your point is here. newlib is not under the GPL in any case. It is not affected by the gcc runtime library license. The old

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Joern Rennecke
Quoting Ian Lance Taylor i...@google.com: I'm not sure what your point is here. newlib is not under the GPL in any case. It is not affected by the gcc runtime library license. The old runtime library exception allowed you to distribute binaries that both include pieces of the gcc runtime and

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Manuel López-Ibáñez
2009/1/29 Joern Rennecke amyl...@spamcop.net: The runtime library license says that you can link libgcc with proprietary code, whether that proprietary code was compiled with gcc or whether it was compiled with some non-gcc proprietary compiler. No, it says that you can only do that if every

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Joern Rennecke
Quoting Manuel López-Ibáñez lopeziba...@gmail.com: 2009/1/29 Joern Rennecke amyl...@spamcop.net: The runtime library license says that you can link libgcc with proprietary code, whether that proprietary code was compiled with gcc or whether it was compiled with some non-gcc proprietary

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Ian Lance Taylor
Joern Rennecke amyl...@spamcop.net writes: Quoting Manuel López-Ibáñez lopeziba...@gmail.com: 2009/1/29 Joern Rennecke amyl...@spamcop.net: The runtime library license says that you can link libgcc with proprietary code, whether that proprietary code was compiled with gcc or whether it was

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread amylaar
Quoting Ian Lance Taylor i...@google.com: Joern Rennecke amyl...@spamcop.net writes: Quoting Manuel López-Ibáñez lopeziba...@gmail.com: 2009/1/29 Joern Rennecke amyl...@spamcop.net: The runtime library license says that you can link libgcc with proprietary code, whether that proprietary

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Ian Lance Taylor
Joern Rennecke amyl...@spamcop.net writes: Note that there is also code which is not written in a high level language which uses gcc runtime library interfaces. For example, look at libgloss/m68k/crt0.S , which uses __do_global_dtors . That the license of libgloss is GPL-compatible does not

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Joern Rennecke
Quoting Ian Lance Taylor i...@google.com: Code that is neither Target Code nor an Independent Module is code that has never been involved with gcc, and the license does not cover it. There is a lot of Target code that is, per definition, not an Independent Module because it does not use the

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Joern Rennecke
Quoting Ian Lance Taylor i...@google.com: Joern Rennecke amyl...@spamcop.net writes: Note that there is also code which is not written in a high level language which uses gcc runtime library interfaces. For example, look at libgloss/m68k/crt0.S , which uses __do_global_dtors . That the

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Ian Lance Taylor
Joern Rennecke amyl...@spamcop.net writes: Quoting Ian Lance Taylor i...@google.com: Code that is neither Target Code nor an Independent Module is code that has never been involved with gcc, and the license does not cover it. There is a lot of Target code that is, per definition, not an

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Ian Lance Taylor
Joern Rennecke amyl...@spamcop.net writes: The license says that you have permission to propagate works when certain conditions apply. It does not say that you do not have permission if certain other conditions apply. Therefore, if certain conditions apply, you have permission. It is not

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Paolo Bonzini
Joern Rennecke wrote: Quoting Ian Lance Taylor i...@google.com: I'm not sure what your point is here. newlib is not under the GPL in any case. It is not affected by the gcc runtime library license. The old runtime library exception allowed you to distribute binaries that both include

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Joern Rennecke
Quoting Ian Lance Taylor i...@google.com: Joern Rennecke amyl...@spamcop.net writes: No, this is not how Copyright works. In the absence of a license you may not distribute the resulting work. By my reading, you do have permission. It's right there in the license. You are arguing that the

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Joern Rennecke
Quoting Paolo Bonzini bonz...@gnu.org: Joern Rennecke wrote: Quoting Ian Lance Taylor i...@google.com: I'm not sure what your point is here. newlib is not under the GPL in any case. It is not affected by the gcc runtime library license. The old runtime library exception allowed you to

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Manuel López-Ibáñez
2009/1/29 Joern Rennecke amyl...@spamcop.net: Quoting Paolo Bonzini bonz...@gnu.org: Joern Rennecke wrote: Quoting Ian Lance Taylor i...@google.com: I'm not sure what your point is here. newlib is not under the GPL in any case. It is not affected by the gcc runtime library license. The

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Ian Lance Taylor
Joern Rennecke amyl...@spamcop.net writes: You seem to be saying that I could do incremental linking, first linking libgcc against the Independent Modules, slapping my own license on the partially linked work of Target Code (provided all used pieces of libgcc are target code - that is hardly

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Joern Rennecke
Quoting Manuel López-Ibáñez lopeziba...@gmail.com: 2009/1/29 Joern Rennecke amyl...@spamcop.net: Quoting Paolo Bonzini bonz...@gnu.org: Joern Rennecke wrote: Quoting Ian Lance Taylor i...@google.com: I'm not sure what your point is here. newlib is not under the GPL in any case. It is

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Joern Rennecke
Quoting Ian Lance Taylor i...@google.com: The incremental linking argument is irrelevant. Either it's OK without that or it's not OK with that. Well, if we disregard incremental linking, than the propagation is clearly not allowed. Combining the runtime Library with Independent Modules is

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Ian Lance Taylor
Joern Rennecke amyl...@spamcop.net writes: Combining the runtime Library with Independent Modules is certainly more specific than combining the runtime Library with Independent Modules and anything else you feel like. Moreover, a typical link will contain Target Code which has not been

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Ian Lance Taylor
Joern Rennecke amyl...@spamcop.net writes: Quoting Ian Lance Taylor i...@google.com: Joern Rennecke amyl...@spamcop.net writes: So, assuming you may link in other stuff that is not an Independent Module, that logically includes pieces derived from gcc itself if you make sure that they

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-29 Thread Joern Rennecke
Quoting Ian Lance Taylor i...@google.com: Yes, I believe that Independent Modules is intended to mean any code. However, it needs to be careful to not grant additional rights to other parts of gcc itself. And in any case the only code which it can control is code which uses the runtime

New GCC Runtime Library Exception: not fit for purpose

2009-01-28 Thread Joern Rennecke
The definition of 'independent module' is such that it does not include files that make no use of any runtime interfaces at all. E.g. a newlib file is an independent module if it uses a multiply and that multiply is implemented as a libgcc function all by gcc, but if the multiply is implemented

Re: New GCC Runtime Library Exception: not fit for purpose

2009-01-28 Thread Ian Lance Taylor
Joern Rennecke amyl...@spamcop.net writes: The definition of 'independent module' is such that it does not include files that make no use of any runtime interfaces at all. E.g. a newlib file is an independent module if it uses a multiply and that multiply is implemented as a libgcc function