[Intel-gfx] [intelddx] v2.99.917-392-g8090a65e2df5: Broken with llvm/clang v3.6.1

Sedat Dilek sedat.dilek at gmail.com
Sat Jul 25 03:52:10 PDT 2015


Hi,

my build breaks like this on Ubuntu/precise AMD64...

...
kgem.c:5116:10: error: use of undeclared identifier 'kgem'
        assert(!kgem->can_fence);
                ^
./xassert.h:42:37: note: expanded from macro 'assert'
#define assert(E) do if (unlikely(!(E))) { \
                                    ^
./compiler.h:46:25: note: expanded from macro 'unlikely'
#define unlikely(expr) (expr)
                        ^
7 warnings and 1 error generated.
...

Looks like this was introduced by...

commit ad20fd401b8c3ca128bd0fcf5a71ba90beda9d70
"sna: Ensure that DRI2 buffers are created with a fence"

Full build-log and config.log attached.

If you need more information, please let me know.

- sed@ -
-------------- next part --------------
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal ${ACLOCAL_FLAGS} -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --install --copy
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:35: installing `./missing'
benchmarks/Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... gcc3
checking for clang option to accept ISO C99... none needed
checking how to run the C preprocessor... clang-cpp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __clang__ is declared... yes
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking if clang supports -Werror=unknown-warning-option... yes
checking if clang supports -Werror=unused-command-line-argument... yes
checking if clang supports -Wall... yes
checking if clang supports -Wpointer-arith... yes
checking if clang supports -Wmissing-declarations... yes
checking if clang supports -Wformat=2... yes
checking if clang supports -Wstrict-prototypes... yes
checking if clang supports -Wmissing-prototypes... yes
checking if clang supports -Wnested-externs... yes
checking if clang supports -Wbad-function-cast... yes
checking if clang supports -Wold-style-definition... yes
checking if clang supports -Wdeclaration-after-statement... yes
checking if clang supports -Wunused... yes
checking if clang supports -Wuninitialized... yes
checking if clang supports -Wshadow... yes
checking if clang supports -Wcast-qual... yes
checking if clang supports -Wmissing-noreturn... yes
checking if clang supports -Wmissing-format-attribute... yes
checking if clang supports -Wredundant-decls... yes
checking if clang supports -Werror=implicit... yes
checking if clang supports -Werror=nonnull... yes
checking if clang supports -Werror=init-self... yes
checking if clang supports -Werror=main... yes
checking if clang supports -Werror=missing-braces... yes
checking if clang supports -Werror=sequence-point... yes
checking if clang supports -Werror=return-type... yes
checking if clang supports -Werror=trigraphs... yes
checking if clang supports -Werror=array-bounds... yes
checking if clang supports -Werror=write-strings... yes
checking if clang supports -Werror=address... yes
checking if clang supports -Werror=int-to-pointer-cast... yes
checking if clang supports -Werror=pointer-to-int-cast... yes
checking if clang supports -pedantic... yes
checking if clang supports -Werror... yes
checking if clang supports -Werror=attributes... yes
checking whether make supports nested variables... yes
checking if clang supports -Wno-cast-qual... yes
checking if clang supports -Wno-redundant-decls... yes
checking if clang supports -Wno-maybe-uninitialized... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for strlcpy... no
checking for strlcat... no
checking for strndup... yes
checking for native atomic primitives... Intel
checking for UDEV... yes
checking for sys/stat.h... (cached) yes
checking for X11... yes
X11_CLFAGS= X11_LIBS=-lX11-xcb -lxcb-dri2 -lxcb -lXcomposite -lXdamage -lXrandr -lXext -lXfixes -lXrender -lcairo -lX11 -lpixman-1 -lpng12  
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for sys/ipc.h... (cached) yes
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/shmproto.h... yes
checking for X11/extensions/shmstr.h... yes
checking whether shmctl IPC_RMID allows subsequent attaches... yes
checking for X11_DRI3... yes
checking for IVO_EXTRA... yes
checking for X11/extensions/Xinerama.h... yes
checking for IVO_EXTRA... yes
checking for IVO... yes
checking sys/timerfd.h usability... yes
checking sys/timerfd.h presence... yes
checking for sys/timerfd.h... yes
checking for TOOL_CURSOR... yes
checking whether to build additional tools... auto
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if DPMSExtension is defined... yes
checking for DRM... yes
checking for PCIACCESS... yes
checking dev/wscons/wsconsio.h usability... no
checking dev/wscons/wsconsio.h presence... no
checking for dev/wscons/wsconsio.h... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether sys/types.h defines makedev... yes
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for struct sysinfo.totalram... yes
checking for DRMINTEL... yes
checking for XORG... yes
checking vgaHW.h usability... yes
checking vgaHW.h presence... yes
checking for vgaHW.h... yes
checking xaa.h usability... no
checking xaa.h presence... no
checking for xaa.h... no
checking whether to include XAA support... no
checking for dgaproc.h... yes
checking whether to include DGA support... yes
checking if XF86DRI is defined... yes
checking whether to include DRI1 support... no
checking for DRI2... yes
checking for dri2.h... yes
checking whether to include DRI2 support... auto
checking whether to include DRI3 support... no
checking default DRI support... 
checking X11/extensions/dpmsconst.h usability... yes
checking X11/extensions/dpmsconst.h presence... yes
checking for X11/extensions/dpmsconst.h... yes
checking if PRESENT is defined... no
checking whether to include PRESENT support... no
checking whether to include UXA support... yes
checking whether to include SNA support... auto
checking for XVMCLIB... yes
checking whether to include XvMC support... yes
checking which acceleration method to use by default... sna
checking for library containing clock_gettime... -lrt
checking for VALGRIND... yes
checking whether to include valgrind support... yes (auto)
checking for getline... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating libobj/Makefile
config.status: creating src/Makefile
config.status: creating src/legacy/Makefile
config.status: creating src/legacy/i810/Makefile
config.status: creating src/legacy/i810/xvmc/Makefile
config.status: creating src/render_program/Makefile
config.status: creating src/sna/Makefile
config.status: creating src/sna/brw/Makefile
config.status: creating src/sna/fb/Makefile
config.status: creating src/uxa/Makefile
config.status: creating xvmc/Makefile
config.status: creating xvmc/shader/Makefile
config.status: creating xvmc/shader/mc/Makefile
config.status: creating xvmc/shader/vld/Makefile
config.status: creating test/Makefile
config.status: creating benchmarks/Makefile
config.status: creating tools/Makefile
config.status: creating tools/org.x.xf86-video-intel.backlight-helper.policy
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands


xf86-video-intel
Open-source X.org graphics driver for Intel graphics
https://01.org/linuxgraphics/

What is xf86-video-intel
------------------------
The xf86-video-intel module is an open-source 2D graphics driver for
the X Window System as implemented by X.org. It supports a variety of
Intel graphics chipsets including:

	i810/i810e/i810-dc100,i815,
	i830M,845G,852GM,855GM,865G,
	915G/GM,945G/GM/GME,946GZ
	G/GM/GME/Q965,
	G/Q33,G/Q35,G41,G/Q43,G/GM/Q45
	PineView-M (Atom N400 series)
	PineView-D (Atom D400/D500 series)
	Intel(R) HD Graphics: 2000-6000,
	Intel(R) Iris(TM) Graphics: 5100/6100, and
	Intel(R) Iris(TM) Pro Graphics: 5200/6200/P6300.

Where to get more information about the driver
----------------------------------------------
The primary source of information about this and other open-source
drivers for Intel graphics is:

	https://01.org/linuxgraphics/

Documentation specific to the xf86-video-intel driver including
possible configuration options for the xorg.conf file can be found in
the intel(4) manual page. After installing the driver this
documentation can be read with the following command:

	man intel

Mailing list for communication with users and developers of
xf86-video-intel:

	intel-gfx at lists.freedesktop.org

	Note: Subscription is required before posting, but anyone is
	free to subscribe. See instructions (and archives) here:

	http://lists.freedesktop.org/mailman/listinfo/intel-gfx

To report bugs encountered with the driver, see:

	https://01.org/linuxgraphics/documentation/how-report-bugs

To see bugs that are targeted to be fixed in the next release:

	https://bugs.freedesktop.org/show_bug.cgi?id=intel-2d-release

xf86-video-intel 2.99.917 will be compiled with:
  Xorg Video ABI version: 15.0 (xorg-server-1.15.1)
  pixman version: pixman-1-0.30.2
  Acceleration backends: none *sna uxa
  Additional debugging support? valgrind
  Support for Kernel Mode Setting? yes
  Support for legacy User Mode Setting (for i810)? yes
  Support for Direct Rendering Infrastructure: *DRI2
  Support for Xv motion compensation (XvMC and libXvMC): yes
  Support for display hotplug notifications (udev): yes
  Build additional tools and utilities? xf86-video-intel-backlight-helper intel-virtual-output

make  all-recursive
make[1]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git'
Making all in man
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/man'
  GEN    intel.4
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/man'
Making all in libobj
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/libobj'
  CC     ignore.lo
  CCLD   libcompat.la
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/libobj'
Making all in xvmc
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
Making all in shader
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
Making all in mc
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
make  all-am
make[5]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
Making all in vld
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make  all-am
make[5]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
  CC     intel_xvmc.lo
  CC     intel_xvmc_dump.lo
  CC     i915_xvmc.lo
  CC     i965_xvmc.lo
i965_xvmc.c:737:16: warning: assigning to 'unsigned short *' from 'short *' converts between pointers to integer types with different sign [-Wpointer-sign]
                mb_block_ptr = &blocks->blocks[(mb->index << 6)];
                             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
  CC     xvmc_vld.lo
xvmc_vld.c:1083:16: warning: assigning to 'unsigned short *' from 'short *' converts between pointers to integer types with different sign [-Wpointer-sign]
                mb_block_ptr = &blocks->blocks[(mb->index << 6)];
                             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
  CC     intel_batchbuffer.lo
  CCLD   libIntelXvMC.la
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
Making all in src
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src'
Making all in render_program
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
make  all-am
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
Making all in legacy
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
Making all in i810
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
Making all in xvmc
make[5]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810/xvmc'
  CC     I810XvMC.lo
  CCLD   libI810XvMC.la
make[5]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810/xvmc'
make[5]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
  CC     i810_accel.lo
  CC     i810_cursor.lo
  CC     i810_driver.lo
i810_driver.c:1889:12: warning: unused variable 'pI810' [-Wunused-variable]
   I810Ptr pI810 = I810PTR(scrn);
           ^
1 warning generated.
  CC     i810_memory.lo
  CC     i810_video.lo
  CC     i810_wmark.lo
  CC     i810_dga.lo
  CCLD   liblegacy-i810.la
make[5]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
  CCLD   liblegacy.la
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
Making all in sna
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna'
Making all in brw
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/brw'
  CC     brw_disasm.lo
  CC     brw_eu.lo
  CC     brw_eu_emit.lo
  CC     brw_sf.lo
  CC     brw_wm.lo
  CCLD   libbrw.la
  CC     brw_test.o
  CC     brw_test_gen4.o
brw_test_gen4.c:54:23: warning: unused variable 'ps_kernel_maskca_affine' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_affine[][4] = {
                      ^
brw_test_gen4.c:64:23: warning: unused variable 'ps_kernel_maskca_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_projective[][4] = {
                      ^
brw_test_gen4.c:74:23: warning: unused variable 'ps_kernel_maskca_srcalpha_affine' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_srcalpha_affine[][4] = {
                      ^
brw_test_gen4.c:84:23: warning: unused variable 'ps_kernel_maskca_srcalpha_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_srcalpha_projective[][4] = {
                      ^
brw_test_gen4.c:104:23: warning: unused variable 'ps_kernel_masknoca_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_masknoca_projective[][4] = {
                      ^
brw_test_gen4.c:114:23: warning: unused variable 'ps_kernel_packed_static' [-Wunused-const-variable]
static const uint32_t ps_kernel_packed_static[][4] = {
                      ^
brw_test_gen4.c:122:23: warning: unused variable 'ps_kernel_planar_static' [-Wunused-const-variable]
static const uint32_t ps_kernel_planar_static[][4] = {
                      ^
7 warnings generated.
  CC     brw_test_gen5.o
brw_test_gen5.c:64:23: warning: unused variable 'ps_kernel_maskca_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_projective[][4] = {
                      ^
brw_test_gen5.c:74:23: warning: unused variable 'ps_kernel_maskca_srcalpha_affine' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_srcalpha_affine[][4] = {
                      ^
brw_test_gen5.c:84:23: warning: unused variable 'ps_kernel_maskca_srcalpha_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_srcalpha_projective[][4] = {
                      ^
brw_test_gen5.c:104:23: warning: unused variable 'ps_kernel_masknoca_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_masknoca_projective[][4] = {
                      ^
brw_test_gen5.c:114:23: warning: unused variable 'ps_kernel_packed_static' [-Wunused-const-variable]
static const uint32_t ps_kernel_packed_static[][4] = {
                      ^
brw_test_gen5.c:122:23: warning: unused variable 'ps_kernel_planar_static' [-Wunused-const-variable]
static const uint32_t ps_kernel_planar_static[][4] = {
                      ^
6 warnings generated.
  CC     brw_test_gen6.o
brw_test_gen6.c:44:23: warning: unused variable 'ps_kernel_maskca_affine' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_affine[][4] = {
                      ^
brw_test_gen6.c:53:23: warning: unused variable 'ps_kernel_maskca_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_projective[][4] = {
                      ^
brw_test_gen6.c:62:23: warning: unused variable 'ps_kernel_maskca_srcalpha_affine' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_srcalpha_affine[][4] = {
                      ^
brw_test_gen6.c:71:23: warning: unused variable 'ps_kernel_maskca_srcalpha_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_srcalpha_projective[][4] = {
                      ^
brw_test_gen6.c:89:23: warning: unused variable 'ps_kernel_masknoca_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_masknoca_projective[][4] = {
                      ^
brw_test_gen6.c:98:23: warning: unused variable 'ps_kernel_packed' [-Wunused-const-variable]
static const uint32_t ps_kernel_packed[][4] = {
                      ^
brw_test_gen6.c:105:23: warning: unused variable 'ps_kernel_planar' [-Wunused-const-variable]
static const uint32_t ps_kernel_planar[][4] = {
                      ^
7 warnings generated.
  CC     brw_test_gen7.o
brw_test_gen7.c:53:23: warning: unused variable 'ps_kernel_maskca_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_projective[][4] = {
                      ^
brw_test_gen7.c:71:23: warning: unused variable 'ps_kernel_maskca_srcalpha_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_maskca_srcalpha_projective[][4] = {
                      ^
brw_test_gen7.c:89:23: warning: unused variable 'ps_kernel_masknoca_projective' [-Wunused-const-variable]
static const uint32_t ps_kernel_masknoca_projective[][4] = {
                      ^
brw_test_gen7.c:98:23: warning: unused variable 'ps_kernel_packed' [-Wunused-const-variable]
static const uint32_t ps_kernel_packed[][4] = {
                      ^
brw_test_gen7.c:105:23: warning: unused variable 'ps_kernel_planar' [-Wunused-const-variable]
static const uint32_t ps_kernel_planar[][4] = {
                      ^
5 warnings generated.
  CCLD   brw_test
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/brw'
Making all in fb
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/fb'
  CC     libfb_la-fbarc.lo
  CC     libfb_la-fbbitmap.lo
  CC     libfb_la-fbblt.lo
  CC     libfb_la-fbbltone.lo
  CC     libfb_la-fbclip.lo
  CC     libfb_la-fbcopy.lo
  CC     libfb_la-fbfill.lo
  CC     libfb_la-fbgc.lo
  CC     libfb_la-fbglyph.lo
  CC     libfb_la-fbimage.lo
  CC     libfb_la-fbline.lo
  CC     libfb_la-fbpict.lo
  CC     libfb_la-fbpoint.lo
  CC     libfb_la-fbpush.lo
  CC     libfb_la-fbseg.lo
  CC     libfb_la-fbspan.lo
  CC     libfb_la-fbstipple.lo
  CC     libfb_la-fbtile.lo
  CC     libfb_la-fbutil.lo
  CCLD   libfb.la
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/fb'
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna'
  CC     blt.lo
  CC     kgem.lo
kgem.c:2694:22: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry(bo, &kgem->snoop, list) {
                            ^~
../../src/intel_list.h:328:45: note: expanded from macro 'list_for_each_entry'
    for (pos = __container_of((head)->next, pos, member);               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:2679:20: note: initialize the variable 'bo' to silence this warning
        struct kgem_bo *bo, *first = NULL;
                          ^
                           = NULL
kgem.c:2940:27: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry_safe(bo, next, &kgem->flushing, request) {
                                 ^~
../../src/intel_list.h:345:45: note: expanded from macro 'list_for_each_entry_safe'
    for (pos = __container_of((head)->next, pos, member),               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:2937:20: note: initialize the variable 'bo' to silence this warning
        struct kgem_bo *bo, *next;
                          ^
                           = NULL
kgem.c:3229:22: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry(bo, &kgem->active_buffers, base.list)
                            ^~
../../src/intel_list.h:328:45: note: expanded from macro 'list_for_each_entry'
    for (pos = __container_of((head)->next, pos, member);               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:3227:24: note: initialize the variable 'bo' to silence this warning
        struct kgem_buffer *bo;
                              ^
                               = NULL
kgem.c:3243:27: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry_safe(bo, next, &rq->buffers, request) {
                                 ^~
../../src/intel_list.h:345:45: note: expanded from macro 'list_for_each_entry_safe'
    for (pos = __container_of((head)->next, pos, member),               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:3239:20: note: initialize the variable 'bo' to silence this warning
        struct kgem_bo *bo, *next;
                          ^
                           = NULL
kgem.c:3333:27: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry_safe(bo, next, &kgem->batch_buffers, base.list) {
                                 ^~
../../src/intel_list.h:345:45: note: expanded from macro 'list_for_each_entry_safe'
    for (pos = __container_of((head)->next, pos, member),               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:3331:24: note: initialize the variable 'bo' to silence this warning
        struct kgem_buffer *bo, *next;
                              ^
                               = NULL
kgem.c:4013:25: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
                                list_for_each_entry(bo, &kgem->next_request->buffers, request) {
                                                    ^~
../../src/intel_list.h:328:45: note: expanded from macro 'list_for_each_entry'
    for (pos = __container_of((head)->next, pos, member);               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:4011:23: note: initialize the variable 'bo' to silence this warning
                                struct kgem_bo *bo, *found = NULL;
                                                  ^
                                                   = NULL
kgem.c:4455:23: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
                list_for_each_entry(bo, cache, vma) {
                                    ^~
../../src/intel_list.h:328:45: note: expanded from macro 'list_for_each_entry'
    for (pos = __container_of((head)->next, pos, member);               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:4361:20: note: initialize the variable 'bo' to silence this warning
        struct kgem_bo *bo, *first = NULL;
                          ^
                           = NULL
kgem.c:5116:10: error: use of undeclared identifier 'kgem'
        assert(!kgem->can_fence);
                ^
./xassert.h:42:37: note: expanded from macro 'assert'
#define assert(E) do if (unlikely(!(E))) { \
                                    ^
./compiler.h:46:25: note: expanded from macro 'unlikely'
#define unlikely(expr) (expr)
                        ^
7 warnings and 1 error generated.
make[4]: *** [kgem.lo] Error 1
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git'
make: *** [all] Error 2
Command exited with non-zero status 2
real 12.18
user 8.73
sys 3.74
Making install in man
make[1]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/man'
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/man'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/opt/xorg/share/man/man4" || /bin/mkdir -p "/opt/xorg/share/man/man4"
 /usr/bin/install -c -m 644 intel.4 '/opt/xorg/share/man/man4'
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/man'
make[1]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/man'
Making install in libobj
make[1]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/libobj'
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/libobj'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/libobj'
make[1]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/libobj'
Making install in xvmc
make[1]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
Making install in shader
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
Making install in mc
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
make  install-am
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
make[5]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/mc'
Making install in vld
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make  install-am
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make[5]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader/vld'
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc/shader'
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
test -z "/opt/xorg/lib" || /bin/mkdir -p "/opt/xorg/lib"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libIntelXvMC.la '/opt/xorg/lib'
libtool: install: /usr/bin/install -c .libs/libIntelXvMC.so.1.0.0 /opt/xorg/lib/libIntelXvMC.so.1.0.0
libtool: install: (cd /opt/xorg/lib && { ln -s -f libIntelXvMC.so.1.0.0 libIntelXvMC.so.1 || { rm -f libIntelXvMC.so.1 && ln -s libIntelXvMC.so.1.0.0 libIntelXvMC.so.1; }; })
libtool: install: (cd /opt/xorg/lib && { ln -s -f libIntelXvMC.so.1.0.0 libIntelXvMC.so || { rm -f libIntelXvMC.so && ln -s libIntelXvMC.so.1.0.0 libIntelXvMC.so; }; })
libtool: install: /usr/bin/install -c .libs/libIntelXvMC.lai /opt/xorg/lib/libIntelXvMC.la
libtool: finish: PATH="/opt/llvm/bin:/opt/llvm/bin:/opt/xorg/bin:/opt/xorg/bin:/opt/llvm/bin:/home/wearefam/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" ldconfig -n /opt/xorg/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/xorg/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
make[1]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/xvmc'
Making install in src
make[1]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src'
Making install in render_program
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
make  install-am
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/render_program'
Making install in legacy
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
Making install in i810
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
Making install in xvmc
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810/xvmc'
make[5]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810/xvmc'
test -z "/opt/xorg/lib" || /bin/mkdir -p "/opt/xorg/lib"
 /bin/bash ../../../../libtool   --mode=install /usr/bin/install -c   libI810XvMC.la '/opt/xorg/lib'
libtool: install: /usr/bin/install -c .libs/libI810XvMC.so.1.0.0 /opt/xorg/lib/libI810XvMC.so.1.0.0
libtool: install: (cd /opt/xorg/lib && { ln -s -f libI810XvMC.so.1.0.0 libI810XvMC.so.1 || { rm -f libI810XvMC.so.1 && ln -s libI810XvMC.so.1.0.0 libI810XvMC.so.1; }; })
libtool: install: (cd /opt/xorg/lib && { ln -s -f libI810XvMC.so.1.0.0 libI810XvMC.so || { rm -f libI810XvMC.so && ln -s libI810XvMC.so.1.0.0 libI810XvMC.so; }; })
libtool: install: /usr/bin/install -c .libs/libI810XvMC.lai /opt/xorg/lib/libI810XvMC.la
libtool: finish: PATH="/opt/llvm/bin:/opt/llvm/bin:/opt/xorg/bin:/opt/xorg/bin:/opt/llvm/bin:/home/wearefam/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" ldconfig -n /opt/xorg/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/xorg/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810/xvmc'
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810/xvmc'
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
make[5]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy/i810'
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/legacy'
Making install in sna
make[2]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna'
Making install in brw
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/brw'
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/brw'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/brw'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/brw'
Making install in fb
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/fb'
make[4]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/fb'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/fb'
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna/fb'
make[3]: Entering directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna'
  CC     kgem.lo
kgem.c:2694:22: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry(bo, &kgem->snoop, list) {
                            ^~
../../src/intel_list.h:328:45: note: expanded from macro 'list_for_each_entry'
    for (pos = __container_of((head)->next, pos, member);               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:2679:20: note: initialize the variable 'bo' to silence this warning
        struct kgem_bo *bo, *first = NULL;
                          ^
                           = NULL
kgem.c:2940:27: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry_safe(bo, next, &kgem->flushing, request) {
                                 ^~
../../src/intel_list.h:345:45: note: expanded from macro 'list_for_each_entry_safe'
    for (pos = __container_of((head)->next, pos, member),               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:2937:20: note: initialize the variable 'bo' to silence this warning
        struct kgem_bo *bo, *next;
                          ^
                           = NULL
kgem.c:3229:22: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry(bo, &kgem->active_buffers, base.list)
                            ^~
../../src/intel_list.h:328:45: note: expanded from macro 'list_for_each_entry'
    for (pos = __container_of((head)->next, pos, member);               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:3227:24: note: initialize the variable 'bo' to silence this warning
        struct kgem_buffer *bo;
                              ^
                               = NULL
kgem.c:3243:27: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry_safe(bo, next, &rq->buffers, request) {
                                 ^~
../../src/intel_list.h:345:45: note: expanded from macro 'list_for_each_entry_safe'
    for (pos = __container_of((head)->next, pos, member),               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:3239:20: note: initialize the variable 'bo' to silence this warning
        struct kgem_bo *bo, *next;
                          ^
                           = NULL
kgem.c:3333:27: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
        list_for_each_entry_safe(bo, next, &kgem->batch_buffers, base.list) {
                                 ^~
../../src/intel_list.h:345:45: note: expanded from macro 'list_for_each_entry_safe'
    for (pos = __container_of((head)->next, pos, member),               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:3331:24: note: initialize the variable 'bo' to silence this warning
        struct kgem_buffer *bo, *next;
                              ^
                               = NULL
kgem.c:4013:25: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
                                list_for_each_entry(bo, &kgem->next_request->buffers, request) {
                                                    ^~
../../src/intel_list.h:328:45: note: expanded from macro 'list_for_each_entry'
    for (pos = __container_of((head)->next, pos, member);               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:4011:23: note: initialize the variable 'bo' to silence this warning
                                struct kgem_bo *bo, *found = NULL;
                                                  ^
                                                   = NULL
kgem.c:4455:23: warning: variable 'bo' is uninitialized when used here [-Wuninitialized]
                list_for_each_entry(bo, cache, vma) {
                                    ^~
../../src/intel_list.h:328:45: note: expanded from macro 'list_for_each_entry'
    for (pos = __container_of((head)->next, pos, member);               \
                                            ^
../../src/intel_list.h:309:41: note: expanded from macro '__container_of'
    (void *)((char *)(ptr) - ((char *)&(sample)->member - (char *)(sample)))
                                        ^
kgem.c:4361:20: note: initialize the variable 'bo' to silence this warning
        struct kgem_bo *bo, *first = NULL;
                          ^
                           = NULL
kgem.c:5116:10: error: use of undeclared identifier 'kgem'
        assert(!kgem->can_fence);
                ^
./xassert.h:42:37: note: expanded from macro 'assert'
#define assert(E) do if (unlikely(!(E))) { \
                                    ^
./compiler.h:46:25: note: expanded from macro 'unlikely'
#define unlikely(expr) (expr)
                        ^
7 warnings and 1 error generated.
make[3]: *** [kgem.lo] Error 1
make[3]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src'
make: *** [install-recursive] Error 1
	libdrm_intel.so.1 => /opt/xorg/lib/libdrm_intel.so.1 (0x00007f3555087000)
	libdrm.so.2 => /opt/xorg/lib/libdrm.so.2 (0x00007f3554c6b000)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 88059 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20150725/66ffcd40/attachment-0001.bin>


More information about the Intel-gfx mailing list