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
300978
CMake Swift build should ignore pthread
https://bugs.webkit.org/show_bug.cgi?id=300978
Summary
CMake Swift build should ignore pthread
adrian_taylor
Reported
2025-10-17 05:17:34 PDT
CMake erroneously feeds extra CFLAGS from pkg-config to swiftc, which doesn't understand them. One of those is -pthread, which is produced by multiple of the packages which WebKit depends upon. When passed to the swift compiler, this causes a linking failure, because that argument is not understood. Use a wrapper script to filter it out.
Attachments
Add attachment
proposed patch, testcase, etc.
adrian_taylor
Comment 1
2025-10-17 05:17:38 PDT
<
rdar://problem/162856104
>
adrian_taylor
Comment 2
2025-10-17 05:23:31 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52554
EWS
Comment 3
2025-10-17 08:09:56 PDT
Committed
301716@main
(6a9a2e49a000): <
https://commits.webkit.org/301716@main
> Reviewed commits have been landed. Closing PR #52554 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