KEMBAR78
Get rid of libstdc++ dependency · Issue #872 · async-profiler/async-profiler · GitHub
Skip to content

Get rid of libstdc++ dependency #872

@apangin

Description

@apangin

Currently, async-profiler uses standard C++ library classes such as:

  • IO streams
  • std::string
  • std::map
  • std::vector

This makes async-profiler depend on libstdc++.so, which causes certain compatibility issues.

  • async-profiler built on a newer Linux distribution does not work with older distributions;
  • libstdc++ is not preinstalled on Alpine Linux;
  • a statically linked async-profiler binary becomes too large.

I suggest rewriting relevant parts of async-profiler without use of libstdc++ classes. This will allow building a compact async-profiler binary that works both on glibc and musl libc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions