[Bug 284242] www/webkit2-gtk: fails to build with GCC < 14
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 284242] www/webkit2-gtk: Fails to build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Jan 2025 23:23:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284242 --- Comment #9 from Ivan Rozhuk <rozhuk.im@gmail.com> --- Same error with gcc14: FAILED: Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/renderer/gl/ShaderGL.cpp.o /usr/local/bin/ccache /usr/local/bin/g++14 -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL -DANGLE_ENABLE_OPENGL -DANGLE_PLATFORM_LINUX -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DEGL_EGL_PROTOTYPES=0 -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DGETTEXT_PACKAGE=\"WebKitGTK-6.0\" -DGL_GLES_PROTOTYPES=0 -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DLIBANGLE_IMPLEMENTATION -DPAS_BMALLOC=1 -DUSE_SYSTEM_EGL -I/tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/WebKit -I/tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/include -I/tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/include/KHR -I/tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src -I/tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/common/base -I/tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/common/third_party/xxhash -I/tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/third_party/zlib/google -I/tmp/ports/usr/ports/www/webkit2-gtk/work-60/.build/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 -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fasynchronous-unwind-tables -O2 -pipe -O3 -pipe -funroll-loops -fno-delete-null-pointer-checks -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc14 -O3 -funroll-loops -fno-delete-null-pointer-checks -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 -I/usr/local/include -lsysinfo -Wl,-rpath=/usr/local/lib/gcc14 -isystem /usr/local/include -fdebug-prefix-map=/tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5=. -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -O2 -pipe -O3 -pipe -funroll-loops -fno-delete-null-pointer-checks -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc14 -O3 -funroll-loops -fno-delete-null-pointer-checks -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 -I/usr/local/include -lsysinfo -Wl,-rpath=/usr/local/lib/gcc14 -isystem /usr/local/include -fdebug-prefix-map=/tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5=. -DNDEBUG -std=c++23 -fPIC -fvisibility=hidden -w -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 /tmp/ports/usr/ports/www/webkit2-gtk/work-60/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/ShaderGL.cpp In file included from ../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/Framebuffer.h:24, from ../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/Context.h:36, from ../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/ShaderGL.cpp:13: ../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/State.h: In member function 'angle::Result gl::State::dirtyObjectHandler(size_t, const gl::Context*, gl::Command)': ../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/State.h:1532:84: in 'constexpr' expansion of 'gl::State::MakeDirtyObjectHandlers()' ../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/State.h:1521:25: error: '(gl::State::syncActiveTextures == 0)' is not a constant expression 1521 | if (handler == nullptr) | ~~~~~~~~^~~~~~~~~~ ../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/State.h:1533:35: error: non-constant condition for static assertion -- You are receiving this mail because: You are the assignee for the bug.