[Webkit-unassigned] [Bug 278661] New: [GTK] [2.45.91] Fails to build in i386: static assertion failed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 26 10:15:01 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=278661
Bug ID: 278661
Summary: [GTK] [2.45.91] Fails to build in i386: static
assertion failed
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: berto at igalia.com
CC: bugs-noreply at webkitgtk.org
Here's the error. This is with gcc 14.2.0 (the clang build also fails, but we have a separate bug for that, bug 275872)
In file included from Source/ThirdParty/ANGLE/src/common/bitset_utils.h:19,
from Source/ThirdParty/ANGLE/src/common/PackedEnums.h:21,
from Source/ThirdParty/ANGLE/src/libANGLE/queryutils.h:13,
from Source/ThirdParty/ANGLE/src/libANGLE/queryutils.cpp:9:
Source/ThirdParty/ANGLE/src/common/mathutil.h: In instantiation of ‘R gl::roundToNearest(T) [with T = double; R = int]’:
Source/ThirdParty/ANGLE/src/common/mathutil.h:572:41: required from ‘T gl::floatToNormalized(float) [with T = int]’
572 | return roundToNearest<double, T>(std::numeric_limits<T>::max() *
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
573 | static_cast<double>(input));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/ThirdParty/ANGLE/src/libANGLE/queryutils.cpp:107:48: required from ‘void gl::{anonymous}::ConvertFromColor(const gl::ColorGeneric&, GLint*) [with bool isPureInteger = false; gl::ColorGeneric = angle::ColorGeneric; GLint =
int]’
107 | outParams[0] = floatToNormalized<GLint>(color.colorF.red);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Source/ThirdParty/ANGLE/src/libANGLE/queryutils.cpp:347:44: required from ‘void gl::{anonymous}::QueryTexParameterBase(const gl::Context*, const gl::Texture*, GLenum, ParamType*) [with bool isPureInteger = false; bool isGLfixed = true; ParamType = int; GLenum = unsigned int]’
347 | ConvertFromColor<isPureInteger>(texture->getBorderColor(), params);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/ThirdParty/ANGLE/src/libANGLE/queryutils.cpp:1625:39: required from here
1625 | QueryTexParameterBase<false, true>(context, texture, pname, params);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/ThirdParty/ANGLE/src/common/mathutil.h:558:38: error: static assertion failed
558 | static_assert(0.49999997f + 0.5f == 1.0f);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~
Source/ThirdParty/ANGLE/src/common/mathutil.h:558:38: note: the comparison reduces to ‘(9.99999969999999999961e-1l == 1.0e+0l)’
Source/ThirdParty/ANGLE/src/common/mathutil.h:560:45: error: static assertion failed
560 | static_assert(0.49999999999999994 + 0.5 == 1.0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
Source/ThirdParty/ANGLE/src/common/mathutil.h:560:45: note: the comparison reduces to ‘(9.99999999999999939989e-1l == 1.0e+0l)’
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240826/dddb8bfb/attachment-0001.htm>
More information about the webkit-unassigned
mailing list