Licensing inconsistency, cplus-dem.c/cp-demangle.c/demangle.h

Per Bothner per@bothner.com
Wed Dec 19 14:43:00 GMT 2001


Zack Weinberg wrote:

> cplus-dem.c is licensed under the LGPL; cp-demangle.c and demangle.h
> have the plain GPL.  Normal use will need all three files, so they
> should all be licensed the same way.
> 
> Is there a consensus on which license these files should use?  I'd
> vote for LGPL, myself; there is no reason I see to restrict the use of
> the demanglers in proprietary software.


It may be desirable to use GPL+exception, to demangle GCJ stack-traces.
Currently, we filter stack traces through a forked c++filt, because
of the license.  On the other hand, there has been talk that it would
be better anyway (though more work) to use the dwarf2 eh-unwinding code.

But at least in the short term, it would be better to be able to
link the demangler directly in to libgcj, without license contamination.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



More information about the Gcc mailing list