Bug 90241 - brw_fs.cpp error: integer constant is too large for ‘long’ type
Summary: brw_fs.cpp error: integer constant is too large for ‘long’ type
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 10.3
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 15:51 UTC by Zenitur
Modified: 2015-04-30 19:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Full build log (15.85 KB, text/plain)
2015-04-29 15:51 UTC, Zenitur
Details

Description Zenitur 2015-04-29 15:51:06 UTC
Created attachment 115454 [details]
Full build log

I trying to make fresh graphical stack on some unsupported Linux distribution.

  CXX      brw_fs.lo
brw_fs.cpp:1720: error: integer constant is too large for ‘long’ type
brw_fs.cpp:3246: error: integer constant is too large for ‘long’ type
brw_fs.cpp:3263: error: integer constant is too large for ‘long’ type
[more]
brw_fs.cpp:3273: error: integer constant is too large for ‘long’ type
brw_fs.cpp:3274: error: integer constant is too large for ‘long’ type
brw_fs.cpp:3275: error: integer constant is too large for ‘long’ type
make[5]: *** [brw_fs.lo] Error 1

Linux 3.17.6 i686, Debian 5.0, GCC 4.3, Automake 1.14, fresh Xorg libs compiled with scripts from:

http://www.linuxfromscratch.org/blfs/view/svn/x/x7proto.html
http://www.linuxfromscratch.org/blfs/view/svn/x/x7lib.html

Mesa 10.3.7 (from ftp://ftp.freedesktop.org/pub/mesa/older-versions/10.x/10.3.7/) because of this page (https://01.org/linuxgraphics/downloads/2014/2014q3-intel-graphics-stack-release) recommends 10.3 with 3.16 Linux kernel. Configure string:

./configure CFLAGS='-O2' CXXFLAGS='-O2' --prefix=/home/username/xorg/xorg-build/ --enable-texture-float --enable-gles1 --enable-gles2 --enable-osmesa --enable-xa --enable-gbm --enable-glx-tls --enable-sysfs --with-egl-platforms="drm,x11" --with-dri-drivers="i965" --with-gallium-drivers=""

Full build log attached.
Comment 1 Zenitur 2015-04-30 19:22:41 UTC
I retest with Mesa 10.5.4. That was fixed!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.