Skip to content

consider building libboost_stacktrace_backtrace #254

@SwooshyCueb

Description

@SwooshyCueb

Related: irods/irods#6146

Let's consider including libboost_stacktrace_backtrace in our boost packages.

For debian and ubuntu, the needed header and static library are included in the gcc dev package we (I think) already pull in with clang. We will have to tell boost's buildsystem where the header is, and maybe also where the library is, though.
For EL, we will have to build libbacktrace ourselves.

Given that we do not currently have a mechanism for per-platform build steps (nor do I wish to implement such functionality), I propose that, as part of boost's build process, we build libbacktrace ourselves, and bundle the header(s) and static library in our boost package. The static library (and probably the header(s) as well) is(are) only required if Boost.Stacktrace is used as a header-only library, which we currently do, but I think we should provide the capability to use Boost.Stacktrace as either a compiled library or a header-only library. Bundling our own libbacktrace will also allow us to use BOOST_STACKTRACE_BACKTRACE_FORCE_STATIC, should we deem it appropriate.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions