RESOLVED FIXED292267
[CMake] Add additional check for libatomic
https://bugs.webkit.org/show_bug.cgi?id=292267
Summary [CMake] Add additional check for libatomic
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.