Bug 292267
| Summary: | [CMake] Add additional check for libatomic | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> |
| Component: | New Bugs | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Diego Pino
Pull request: https://github.com/WebKit/WebKit/pull/44664
EWS
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
<rdar://problem/150288051>