Bug 283058
Summary: | [WebRTC] Build failure with libwebrtc and GCC 12 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Bentzen <cadubentzen> |
Component: | WebRTC | Assignee: | Carlos Bentzen <cadubentzen> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Carlos Bentzen
Building WPE with libwebrtc and GCC 12, I get the following build failure:
Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/strings/ascii.cc: In function ‘constexpr void absl::ascii_internal::AsciiStrCaseFoldLong(absl::Nonnull<char*>, size_t)’:
Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/base/optimization.h:265:23: error: ‘unreachable’ is not a member of ‘std’
265 | if (!(cond)) std::unreachable(); \
| ^~~~~~~~~~~
Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/strings/ascii.cc:205:3: note: in expansion of macro ‘ABSL_ASSUME’
205 | ABSL_ASSUME(size >= kCaseFoldThreshold);
| ^~~~~~~~~~~
This is fixed in abseil-cpp upstream in https://github.com/abseil/abseil-cpp/commit/a305e859b6d0abe6d88a3fe12c6891152cc6e859
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Bentzen
Pull request: https://github.com/WebKit/WebKit/pull/36597
EWS
Committed 286635@main (da216758e86f): <https://commits.webkit.org/286635@main>
Reviewed commits have been landed. Closing PR #36597 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/139955190>