WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
277681
[GTK][WPE][Debug] Build failure with GCC 13.2.0: suggest parentheses around '-' in operand of '&'
https://bugs.webkit.org/show_bug.cgi?id=277681
Summary
[GTK][WPE][Debug] Build failure with GCC 13.2.0: suggest parentheses around '...
Vitaly Dyackhov
Reported
2024-08-06 05:56:48 PDT
``` FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-7.cpp.o /usr/local/bin/sccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_JavaScriptCore -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKitGTK-6.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DJavaScriptCore_EXPORTS -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCore/Headers -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug -I/home/vitaly/WebKit/Source/JavaScriptCore -I/home/vitaly/WebKit/Source/JavaScriptCore/API -I/home/vitaly/WebKit/Source/JavaScriptCore/assembler -I/home/vitaly/WebKit/Source/JavaScriptCore/b3 -I/home/vitaly/WebKit/Source/JavaScriptCore/b3/air -I/home/vitaly/WebKit/Source/JavaScriptCore/bindings -I/home/vitaly/WebKit/Source/JavaScriptCore/builtins -I/home/vitaly/WebKit/Source/JavaScriptCore/bytecode -I/home/vitaly/WebKit/Source/JavaScriptCore/bytecompiler -I/home/vitaly/WebKit/Source/JavaScriptCore/dfg -I/home/vitaly/WebKit/Source/JavaScriptCore/disassembler -I/home/vitaly/WebKit/Source/JavaScriptCore/disassembler/ARM64 -I/home/vitaly/WebKit/Source/JavaScriptCore/disassembler/zydis/Zydis -I/home/vitaly/WebKit/Source/JavaScriptCore/domjit -I/home/vitaly/WebKit/Source/JavaScriptCore/ftl -I/home/vitaly/WebKit/Source/JavaScriptCore/fuzzilli -I/home/vitaly/WebKit/Source/JavaScriptCore/heap -I/home/vitaly/WebKit/Source/JavaScriptCore/debugger -I/home/vitaly/WebKit/Source/JavaScriptCore/inspector -I/home/vitaly/WebKit/Source/JavaScriptCore/inspector/agents -I/home/vitaly/WebKit/Source/JavaScriptCore/inspector/augmentable -I/home/vitaly/WebKit/Source/JavaScriptCore/inspector/remote -I/home/vitaly/WebKit/Source/JavaScriptCore/interpreter -I/home/vitaly/WebKit/Source/JavaScriptCore/jit -I/home/vitaly/WebKit/Source/JavaScriptCore/llint -I/home/vitaly/WebKit/Source/JavaScriptCore/parser -I/home/vitaly/WebKit/Source/JavaScriptCore/profiler -I/home/vitaly/WebKit/Source/JavaScriptCore/runtime -I/home/vitaly/WebKit/Source/JavaScriptCore/tools -I/home/vitaly/WebKit/Source/JavaScriptCore/wasm -I/home/vitaly/WebKit/Source/JavaScriptCore/wasm/js -I/home/vitaly/WebKit/Source/JavaScriptCore/yarr -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources/inspector -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources/runtime -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources/yarr -I/home/vitaly/WebKit/Source/JavaScriptCore/API/glib -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCoreGLib/DerivedSources -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCoreGLib/DerivedSources/jsc -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCoreGLib/Headers -I/home/vitaly/WebKit/Source/JavaScriptCore/inspector/remote/glib -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/WTF/Headers -I/home/vitaly/WebKit/Source/ThirdParty/libsysprof-capture -I/home/vitaly/WebKit/WebKitBuild/GTK/Debug/bmalloc/Headers -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/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 -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -g -std=c++23 -fPIC -fvisibility=hidden -ffp-contract=off -Werror -MD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-7.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-7.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-7.cpp.o -c /home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-7.cpp In file included from /home/vitaly/WebKit/Source/JavaScriptCore/jit/PCToCodeOriginMap.cpp:34, from /home/vitaly/WebKit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-7.cpp:4: /home/vitaly/WebKit/Source/JavaScriptCore/wasm/WasmOpcodeOrigin.h: In constructor 'JSC::Wasm::OpcodeOrigin::OpcodeOrigin(JSC::Wasm::OpType, uint32_t, size_t)': /home/vitaly/WebKit/Source/JavaScriptCore/wasm/WasmOpcodeOrigin.h:56:60: error: suggest parentheses around '-' in operand of '&' [-Werror=parentheses] cc1plus: all warnings being treated as errors sccache: Compiler killed by signal 1 ```
Attachments
Add attachment
proposed patch, testcase, etc.
Vitaly Dyackhov
Comment 1
2024-08-06 06:00:47 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/31782
EWS
Comment 2
2024-08-06 11:21:37 PDT
Committed
281900@main
(56d162831879): <
https://commits.webkit.org/281900@main
> Reviewed commits have been landed. Closing PR #31782 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug