Skip to content

Commit 429efd2

Browse files
jpnurmiclaude
andauthored
fix(native): build on aarch64 with musl (#1665)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 11b60bd commit 429efd2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- Crashpad: build for 32-bit ARM on Linux. ([#1659](https://github.com/getsentry/sentry-native/issues/1659))
1515
- Native: build for 32-bit ARM on Linux. ([#1659](https://github.com/getsentry/sentry-native/issues/1659))
1616
- Inproc: build vendored libunwind for 32-bit ARM on Linux. ([#1659](https://github.com/getsentry/sentry-native/issues/1659))
17+
- Native: build for 64-bit ARM on Linux with musl. ([#1665](https://github.com/getsentry/sentry-native/pull/1665))
1718
- Native/Linux: prevent shared memory leak on crash. ([#1664](https://github.com/getsentry/sentry-native/pull/1664))
1819

1920
## 0.13.7

src/backends/native/minidump/sentry_minidump_linux.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ typedef struct {
4747
# define FPSIMD_MAGIC 0x46508001
4848

4949
// Only define these if not already provided by system headers
50-
# ifndef __ASM_SIGCONTEXT_H
50+
// (on musl, defined in <bits/signal.h> instead).
51+
# if !defined(__ASM_SIGCONTEXT_H) && defined(__GLIBC__)
5152
// Base header for context blocks in __reserved
5253
struct _aarch64_ctx {
5354
uint32_t magic;

0 commit comments

Comments
 (0)