From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 59842] New: mesa-9.0.2 compile failure with gcc-4.7.2
Date: Fri, 25 Jan 2013 11:07:10 +0000
Message-ID:
Priority
medium
Bug ID
59842
Assignee
dri-devel@lists.freedesktop.org
Summary
mesa-9.0.2 compile failure with gcc-4.7.2
Severity
major
Classification
Unclassified
OS
Linux (All)
Reporter
treeve@sourcemage.org
Hardware
x86-64 (AMD64)
Status
NEW
Version
9.0
Component
Drivers/Gallium/r600
Product
Mesa
on AMD x86_64
llvm-3.2
gcc-4.7.2
libdrm-2.4.40
llvm-config --cxxflags
-I/usr/include -march=native -mtune=native -m64 -pipe -ffast-math
-funroll-loops -O3 -fPIC -fvisibility-inlines-hidden -O3 -DNDEBUG
-D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic
-Wno-long-long -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
CFLAGS+=" -w" &&
OPTS='llvm=yes build=release' &&
scons $OPTS
scons: Reading SConscript files ...
Mkdir("build/linux-x86_64")
scons: Found LLVM version 3.2svn
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 >= 1.0.0)... yes
Checking for UDEV (libudev > 150)... yes
Checking for C header file X11/extensions/dpmsconst.h... yes
scons: done reading SConscript files.
scons: Building targets ...
Compiling src/gallium/drivers/r600/r600_translate.c ...
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'
scons: *** [build/linux-x86_64/gallium/drivers/r600/r600_shader.os] Error 1
scons: building terminated because of errors.