WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
300701
[libpas] Build fails with libc implementations that lack execinfo.h
https://bugs.webkit.org/show_bug.cgi?id=300701
Summary
[libpas] Build fails with libc implementations that lack execinfo.h
Adrian Perez
Reported
2025-10-14 07:39:56 PDT
For example, attempting to build with Musl: Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c:52:10: fatal error: execinfo.h: No such file or directory 52 | #include <execinfo.h> | ^~~~~~~~~~~~ compilation terminated. Also, uCLibc supports being configured without support for backtrace()/execinfo.h, as per
bug #102946
The right thing to do would be to check whether the backtrace() function and execinfo.h header are available. For example Source/WTF/wtf/StackTrace.h does exactly that: checks for HAVE(BACKTRACE) || HAVE(BACKTRACE_SYMBOLS), which is defined in Source/WTF/wtf/PlatformHave.h -- libpas should have similar checks.
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2025-10-14 07:58:56 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52300
EWS
Comment 2
2025-10-15 02:21:03 PDT
Committed
301539@main
(c78f2b76d86c): <
https://commits.webkit.org/301539@main
> Reviewed commits have been landed. Closing PR #52300 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-10-15 02:22:13 PDT
<
rdar://problem/162668131
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug