rr-debugger / rr-debugger/rr

Build with musl

Open
#2,236 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

Building rr with musl is not possible right now, there are two main problems:

  1. In musl, lots of *64 and *64_t are macros, e.g. #define stat64 stat. This breaks kernel_abi.h hard.
  2. thread_db is not implemented by musl

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining kernel_abi.h and the build paths involved when compiling rr against musl. Investigate how musl's *64 macros affect the ABI declarations and how the missing thread_db implementation is handled. Done means rr builds successfully with musl and the affected functionality has appropriate validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
build-system, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.