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
310288
Fix Thread Sanitizer builds of TestWebKitAPI: ld: Too many personality routines for compact unwind to encode
https://bugs.webkit.org/show_bug.cgi?id=310288
Summary
Fix Thread Sanitizer builds of TestWebKitAPI: ld: Too many personality routin...
David Kilzer (:ddkilzer)
Reported
2026-03-19 09:59:00 PDT
Thread Sanitizer (TSan) builds of `TestWebKitAPI` and `TestWebKitAPIApp` fail at the link step with the following error: ``` ld: Too many personality routines for compact unwind to encode. Found routines: '___gcc_personality_v0' '___gxx_personality_v0' '___objc_personality_v0' '__swift_exceptionPersonality' Move one or more unique personality routine users to a separate dynamic library. clang++: error: linker command failed with exit code 1 ``` `TestWebKitAPIBundle` fails with a cascading error due to the missing `TestWebKitAPI` executable. `TestWebKitAPI` now links Swift source files added by the "[Swift in WebKit]" commit series (
308668@main
,
309343@main
). The addition of Swift introduces `__swift_exceptionPersonality` as a fourth exception handling personality routine, which exceeds the compact unwind encoding limit. The same error was previously fixed for `WebCore.framework` and `WebKit.framework` in
Bug 299224
(
300615@main
).
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-03-19 10:03:34 PDT
<
rdar://problem/172926718
>
David Kilzer (:ddkilzer)
Comment 2
2026-03-19 10:10:43 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/60943
EWS
Comment 3
2026-03-19 13:22:56 PDT
Committed
309575@main
(7ac0919ca48b): <
https://commits.webkit.org/309575@main
> Reviewed commits have been landed. Closing PR #60943 and removing active labels.
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