[Issue 1001] print stack trace (in debug mode) when program die

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 15 12:31:58 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=1001



--- Comment #78 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-02-15 22:31:49 EET ---
(In reply to comment #76)
> I can't reproduce this on Win7 x64 with 2.064. Here's the results for me:

The problem applies to 64-bit programs. I can reproduce it with -m64.

(In reply to comment #75)
> It's GPL just like binutils. IANAL, but I'm not sure about dynamically loading
> GPL libs. I know the GPL forbids redistribution of any programs that include
> the library... Doesn't that mean that it would make it impossible for e.g.
> Linux distributions to distribute non-GPL D software together with the library?

Just found this:
http://www.gnu.org/licenses/gpl-faq.html#IfLibraryIsGPL

Quoting:
> Q: If a library is released under the GPL (not the LGPL), does that mean that 
> any software which uses it has to be under the GPL or a GPL-compatible license?
> 
> A: Yes, because the software as it is actually run includes the library.

So I guess that gives us a definitive answer. We CANNOT use binutils or
elfutils, so libdw and libbfd are out of the question. From the discussed
options, that leaves FreeBSD's Elftoolchain, integrating with addr2line, or our
own DWARF/ELF parser.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list