RESOLVED FIXED 283058
[WebRTC] Build failure with libwebrtc and GCC 12
https://bugs.webkit.org/show_bug.cgi?id=283058
Summary [WebRTC] Build failure with libwebrtc and GCC 12
Carlos Bentzen
Reported 2024-11-13 09:26:08 PST
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
Carlos Bentzen
Comment 1 2024-11-13 09:46:32 PST
EWS
Comment 2 2024-11-15 01:08:03 PST
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
Comment 3 2024-11-15 01:09:14 PST
Note You need to log in before you can comment on or make changes to this bug.