This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-4.8 and libbacktrace


On May 27 10:45, Ryan Johnson wrote:
> On 27/05/2013 10:22 AM, Corinna Vinschen wrote:
> >On May 27 10:11, Ryan Johnson wrote:
> >>Hi all,
> >>
> >>FYI, gcc-4.8 includes a new libbacktrace.a (BSD-licensed, I believe)
> >>that uses dwarf unwind info to accurately unwind the stack.
> >>Thoughts?
> >No, since you didn't say what you expect.  What is the end result you're
> >looking for, a libbacktrace package (Yes, SHTDI), or integration of the
> >backtrace stuff into Cygwin?  If the latter, that's impossible due to
> >licensing reasons.
> The latter, so I guess it's a non-starter.
> 
> Out of curiosity, what aspect of the library's BSD license allows
> gcc to use it but not cygwin?

Oh, BSD.  When I finished reading your email I had already forgotton,
so I assumed GPLv3+.

So, well, still, SHTDI (not me).  I'm just wondering if it's really
worth it.  For a normal backtrace we have the stackdump file, which is
acurate most of the time, for dwarf2-based backtraces you typically run
the executable under GDB.  And then, you need the debuginfo package as
well for this kind of debugging on distro packages.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]