Bug 279119

Summary: ptrauth build error in Source/WTF/wtf/BlockPtr.h
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: WebCore Misc.Assignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Frédéric Wang (:fredw)
Reported 2024-09-04 03:21:57 PDT
When I run `Tools/Scripts/build-and-analyze` on macOS with the public SDK, I'm getting build errors in expansions of WTF_COPY/DISPOSE/INVOKE_FUNCTION_POINTER_QUALIFIER macros. It seems ptrauth.h exists but __ptrauth_block_copy/dipose/invoke_helper functions are undefined. Probably it will be more robust to do doing something like https://commits.webkit.org/222290@main and explicitly check whether the functions are defined.
Attachments
Frédéric Wang (:fredw)
Comment 1 2024-09-04 03:30:21 PDT
EWS
Comment 2 2024-09-05 08:47:57 PDT
Committed 283210@main (1e5e1e166abc): <https://commits.webkit.org/283210@main> Reviewed commits have been landed. Closing PR #33112 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-09-05 08:48:15 PDT
Note You need to log in before you can comment on or make changes to this bug.