Bug 292267

Summary: [CMake] Add additional check for libatomic
Product: WebKit Reporter: Diego Pino <dpino>
Component: New BugsAssignee: Diego Pino <dpino>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Diego Pino
Reported 2025-04-29 04:37:30 PDT
File 'Source/cmake/WebKitCompilerFlags.cmake' contains a small C program to determine whether 'libatomic' should be linked. However, there's a scenario that program doesn't handle. In 32-bit systems, it's necessary to link with libatomic in order to handle data types larger than 8-bytes. An example of an atomic larger than 8-bytes is: `std::atomic<std::optional<double>>`.
Attachments
Diego Pino
Comment 1 2025-04-29 04:40:44 PDT
EWS
Comment 2 2025-04-29 09:27:22 PDT
Committed 294274@main (7ccde68358e7): <https://commits.webkit.org/294274@main> Reviewed commits have been landed. Closing PR #44664 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-04-29 09:28:16 PDT
Note You need to log in before you can comment on or make changes to this bug.