Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: namespace mpack to avoid ODR violation - #143

#143
Merged
jpnurmi merged 1 commit into
getsentrygetsentry/crashpad:getsentryfrom
fix/mpackgetsentry/crashpad:fix/mpackCopy head branch name to clipboard
Jan 12, 2026
Merged

fix: namespace mpack to avoid ODR violation#143
jpnurmi merged 1 commit into
getsentrygetsentry/crashpad:getsentryfrom
fix/mpackgetsentry/crashpad:fix/mpackCopy head branch name to clipboard

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Jan 8, 2026

Copy link
Copy Markdown
Collaborator

Avoids overlapping mpack_xxx symbols when crashpad_client is linked to sentry-native:

  • vendor/mpack.c: libsentry.so > mpack.c.o
  • external/crashpad/third_party/mpack/mpack.cc: libsentry.so > libcrashpad_client.a > libcrashpad_util.a > libcrashpad_mpack.a > mpack.cc.o

P.S. For what it's worth, the same approach is used in third_party/getopt.

@jpnurmi
jpnurmi merged commit 22121b6 into getsentry Jan 12, 2026
18 checks passed
@jpnurmi
jpnurmi deleted the fix/mpack branch January 12, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.