c++filt and addr2line [was Re: c++filt causing flashing console windows]
Andrew Haley
aph@redhat.com
Wed Sep 10 09:23:00 GMT 2003
Ranjit Mathew writes:
> Ranjit Mathew wrote:
> > Andrew Haley wrote:
> >> > Ditto for using libbfd v/s invoking addr2line,
> >>
> >>This idea seems to come up once or twice a year.
> >>
> >>The problem is not technical: it is legal. We cannot do this unless
> >>the licences of libbfd and libiberty are changed. libiberty is LGPL,
> >>which might be OK in some cases, but it is not the same as
> >>GPL+exception. We can't license libgcj under two licences.
> >
> >
> > But we (GCJ/libgcj and the rest of GCC) already use lots
> > of functions from libiberty! For example, I was the one
> > who submitted a patch to use the "xregex" functions
> > from libiberty for systems that do not have their
> > own regex functions in libc.
>
> Sorry, I was wrong - only the programs in "gcc/java" use
> libiberty - AFAICT, libgcj does not use libiberty. The
> patch I was referring to was submitted for "fastjar" and
> not something in libgcj.
Right.
> libiberty seems to not have a single uniform license (I
> think Nathanael Nerode was trying to address this). In
> particular, "cp-demangle.c" seems to be under the GPL
> with the following addition:
> ----------------------------- 8< -----------------------------
> In addition to the permissions in the GNU General Public License, the
> Free Software Foundation gives you unlimited permission to link the
> compiled version of this file into combinations with other programs,
> and to distribute those combinations without any restriction coming
> from the use of this file. (The General Public License restrictions
> do apply in other respects; for example, they cover modification of
> the file, and distribution when not linked into a combined
> executable.)
> ----------------------------- 8< -----------------------------
>
> IANAL, much less an expert on licenses, but is this
> compatible with libgcj's GPL+exception license?
It looks like it, but unless it's exactly the same we'll have to
involve lawyers.
Andrew.
More information about the Java
mailing list