From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 55604] New: r600_shader.c compile fails to compile with gcc-4.7.2 Date: Thu, 04 Oct 2012 08:37:52 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0441153597==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DCAD89E96B for ; Thu, 4 Oct 2012 01:37:52 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0441153597== Content-Type: multipart/alternative; boundary="1349339872.fe3BB4A0.21162"; charset="us-ascii" --1349339872.fe3BB4A0.21162 Date: Thu, 4 Oct 2012 08:37:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=55604 Priority: medium Bug ID: 55604 Assignee: dri-devel@lists.freedesktop.org Summary: r600_shader.c compile fails to compile with gcc-4.7.2 Severity: blocker Classification: Unclassified OS: Linux (All) Reporter: treeve@sourcemage.org Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa mesalib git branch 9.0 fails to compile using scons $ scons 2>ll scons: Reading SConscript files ... scons: Found LLVM version 3.1svn Checking for X11 (x11 xext xdamage xfixes)... yes Checking for XCB (x11-xcb xcb-glx >= 1.8.1)... yes Checking for XF86VIDMODE (xxf86vm)... yes Checking for DRM (libdrm >= 2.4.24)... yes Checking for DRM_INTEL (libdrm_intel >= 2.4.30)... no Checking for DRM_RADEON (libdrm_radeon >= 2.4.31)... yes Checking for XORG (xorg-server >= 1.6.0)... yes Checking for KMS (libkms >= 2.4.24)... no Checking for UDEV (libudev > 150)... yes Checking for C header file X11/extensions/dpmsconst.h... (cached) yes scons: done reading SConscript files. scons: Building targets ... Compiling src/gallium/drivers/r600/r600_shader.c ... Compiling src/gallium/drivers/r600/r700_asm.c ... Compiling src/gallium/drivers/r600/r600_translate.c ... scons: building terminated because of errors. src/gallium/drivers/r600/r600_shader.c: At top level: src/gallium/drivers/r600/r600_shader.c:210:44: error: array size missing in 'r600_shader_tgsi_instruction' src/gallium/drivers/r600/r600_shader.c:210:76: error: array size missing in 'eg_shader_tgsi_instruction' src/gallium/drivers/r600/r600_shader.c:210:106: error: array size missing in 'cm_shader_tgsi_instruction' src/gallium/drivers/r600/r600_shader.c:741:2: warning: ISO C does not allow extra ';' outside of a function [-pedantic] src/gallium/drivers/r600/r600_shader.c: In function 'r600_shader_from_tgsi': src/gallium/drivers/r600/r600_shader.c:1468:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] src/gallium/drivers/r600/r600_shader.c:5221:2: warning: excess elements in array initializer [enabled by default] src/gallium/drivers/r600/r600_shader.c:5230:2: warning: (near initialization for 'r600_shader_tgsi_instruction') [enabled by default] scons reports that libkms not found, but libdrm-2.4.39 installs /usr/lib/libkms.la /usr/lib/libkms.so /usr/lib/libkms.so.1 /usr/lib/libkms.so.1.0.0 -- You are receiving this mail because: You are the assignee for the bug. --1349339872.fe3BB4A0.21162 Date: Thu, 4 Oct 2012 08:37:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 55604
Assignee dri-devel@lists.freedesktop.org
Summary r600_shader.c compile fails to compile with gcc-4.7.2
Severity blocker
Classification Unclassified
OS Linux (All)
Reporter treeve@sourcemage.org
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/Gallium/r600
Product Mesa

mesalib git branch 9.0 fails to compile using scons

$ scons 2>ll
scons: Reading SConscript files ...
scons: Found LLVM version 3.1svn
Checking for X11 (x11 xext xdamage xfixes)... yes
Checking for XCB (x11-xcb xcb-glx >= 1.8.1)... yes
Checking for XF86VIDMODE (xxf86vm)... yes
Checking for DRM (libdrm >= 2.4.24)... yes
Checking for DRM_INTEL (libdrm_intel >= 2.4.30)... no
Checking for DRM_RADEON (libdrm_radeon >= 2.4.31)... yes
Checking for XORG (xorg-server >= 1.6.0)... yes
Checking for KMS (libkms >= 2.4.24)... no
Checking for UDEV (libudev > 150)... yes
Checking for C header file X11/extensions/dpmsconst.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
  Compiling src/gallium/drivers/r600/r600_shader.c ...
  Compiling src/gallium/drivers/r600/r700_asm.c ...
  Compiling src/gallium/drivers/r600/r600_translate.c ...
scons: building terminated because of errors.



src/gallium/drivers/r600/r600_shader.c: At top level:
src/gallium/drivers/r600/r600_shader.c:210:44: error: array size missing in
'r600_shader_tgsi_instruction'
src/gallium/drivers/r600/r600_shader.c:210:76: error: array size missing in
'eg_shader_tgsi_instruction'
src/gallium/drivers/r600/r600_shader.c:210:106: error: array size missing in
'cm_shader_tgsi_instruction'
src/gallium/drivers/r600/r600_shader.c:741:2: warning: ISO C does not allow
extra ';' outside of a function [-pedantic]
src/gallium/drivers/r600/r600_shader.c: In function 'r600_shader_from_tgsi':
src/gallium/drivers/r600/r600_shader.c:1468:17: warning: comparison between
signed and unsigned integer expressions [-Wsign-compare]


src/gallium/drivers/r600/r600_shader.c:5221:2: warning: excess elements in
array initializer [enabled by default]
src/gallium/drivers/r600/r600_shader.c:5230:2: warning: (near initialization
for 'r600_shader_tgsi_instruction') [enabled by default]


scons reports that libkms not found, but libdrm-2.4.39 installs
/usr/lib/libkms.la
/usr/lib/libkms.so
/usr/lib/libkms.so.1
/usr/lib/libkms.so.1.0.0


You are receiving this mail because:
  • You are the assignee for the bug.
--1349339872.fe3BB4A0.21162-- --===============0441153597== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0441153597==--