bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.81k stars 479 forks source link

GNU GPL license is required - commercial use is not viable? #340

Closed samopolacek closed 3 months ago

samopolacek commented 3 months ago

First of all, thank you for this project.

I tried all the different configuration and quickly found out that this project cannot be integrated into a commercial project because of the libraries that read the debug info (if we discount the backtrace_symbols API, which can easily be used directly, but provides very little information).

I am not a legal guru, I do code, but my conclusion is that our project cannot use this project without transitively poisoning itself with GPL's obligation to make our codebase public to our customers.

Has anybody looked into this? Am I missing something? Is it possible to integrate non-GPL, but similarly powerful debug info reader?

bombela commented 3 months ago

libelf is dual licensed GPL and LGPL :)

samopolacek commented 3 months ago

Ah, I see. Thank you.

For others, my link to libelf in the original post is incorrect. This is the correct one.