Bug 245127
Summary: | [ANGLE] build failing with gcc 12 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <philn> |
Component: | ANGLE | Assignee: | Philippe Normand <philn> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | dino, kbr, kkinnunen, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philippe Normand
FAILED: Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/renderer/gl/ShaderGL.cpp.o
/usr/bin/sccache /usr/bin/c++ -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL -DANGLE_ENABLE_OPENGL -DANGLE_PLATFORM_LINUX -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WPE__=1 -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DEGL_EGL_PROTOTYPES=0 -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DGETTEXT_PACKAGE=\"WPE\" -DGL_GLES_PROTOTYPES=0 -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DLIBANGLE_IMPLEMENTATION -DPAS_BMALLOC=1 -DUSE_SYSTEM_EGL -I/app/webkit/Source/ThirdParty/ANGLE/include -I/app/webkit/Source/ThirdParty/ANGLE/include/KHR -I/app/webkit/Source/ThirdParty/ANGLE/src -I/app/webkit/Source/ThirdParty/ANGLE/src/common/third_party/base -I/app/webkit/Source/ThirdParty/ANGLE/third_party/zlib/google -I/app/webkit/WebKitBuild/Debug/Source/ThirdParty/ANGLE/include -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fno-strict-aliasing -fno-exceptions -fno-rtti -gsplit-dwarf -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-cast-align -Wno-dangling-pointer -Wno-extra -Wno-suggest-attribute=format -Wno-undef -Wno-unused-parameter -Wno-return-type -Wno-comment -std=c++20 -MD -MT Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/renderer/gl/ShaderGL.cpp.o -MF Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/renderer/gl/ShaderGL.cpp.o.d -o Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/renderer/gl/ShaderGL.cpp.o -c /app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/ShaderGL.cpp
In file included from /app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/RefCountObject.h:20,
from /app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/angletypes.h:19,
from /app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/Caps.h:12,
from /app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/Shader.h:25,
from /app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/ShaderImpl.h:15,
from /app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/ShaderGL.h:12,
from /app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/ShaderGL.cpp:9:
/app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/serial_utils.h: In constructor 'constexpr rx::AtomicQueueSerial::AtomicQueueSerial()':
/app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/serial_utils.h:87:76: error: call to non-'constexpr' function 'bool std::__atomic_base<_IntTp>::is_lock_free() const [with _ITp = long unsigned int]'
In file included from /usr/include/c++/12.1.0/bits/shared_ptr_atomic.h:33,
from /usr/include/c++/12.1.0/memory:78,
from /app/webkit/Source/ThirdParty/ANGLE/src/libANGLE/Shader.h:16:
/usr/include/c++/12.1.0/bits/atomic_base.h:440:7: note: 'bool std::__atomic_base<_IntTp>::is_lock_free() const [with _ITp = long unsigned int]' declared here
sccache: Compiler killed by signal 1
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Philippe Normand
Pull request: https://github.com/WebKit/WebKit/pull/4303
EWS
Committed 254470@main (ce99e018cd90): <https://commits.webkit.org/254470@main>
Reviewed commits have been landed. Closing PR #4303 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/99908945>