All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 98627] mesa doesn't build since llvm r286062
Date: Mon, 07 Nov 2016 16:35:58 +0000	[thread overview]
Message-ID: <bug-98627-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 33174 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98627

            Bug ID: 98627
           Summary: mesa doesn't build since llvm r286062
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: lordheavym@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

llvm r286062 remove several functions/enums from the llvm-c api:
http://llvm.org/viewvc/llvm-project?view=revision&revision=286062

thus mesa doesn't build anymore:
make[3]: Entering directory '/build/mesa-git/src/mesa/src/amd/common'
depbase=`echo ac_binary.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"Mesa\"
-DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"13.1.0-devel\"
-DPACKAGE_STRING=\"Mesa\ 13.1.0-devel\"
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"13.1.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1
-DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1
-DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1
-DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1
-DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1
-DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1
-DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1
-DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1
-DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1
-DHAVE_SHA1_IN_LIBGCRYPT=1 -DENABLE_SHADER_CACHE=1 -I.   -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H
-DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1
-DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE
-DHAVE_ST_VDPAU -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=0
-I../../../include -I../../../src -I../../../src -I../../../src/compiler
-I../../../src/compiler/nir -I../../../src/compiler -I../../../src/mapi
-I../../../src/mesa -I../../../src/mesa/drivers/dri/common
-I../../../src/gallium/auxiliary -I../../../src/gallium/include
-D_FORTIFY_SOURCE=2 -fvisibility=hidden -pthread -I/usr/include 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g
-fvar-tracking-assignments -g -fvar-tracking-assignments -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-math-errno -fno-trapping-math  -MT ac_binary.lo -MD -MP -MF $depbase.Tpo
-c -o ac_binary.lo ac_binary.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo ac_llvm_helper.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++
-DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"13.1.0-devel\" -DPACKAGE_STRING=\"Mesa\ 13.1.0-devel\"
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"13.1.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1
-DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1
-DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1
-DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1
-DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1
-DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1
-DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1
-DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1
-DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1
-DHAVE_SHA1_IN_LIBGCRYPT=1 -DENABLE_SHADER_CACHE=1 -I.   -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H
-DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1
-DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE
-DHAVE_ST_VDPAU -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=0
-I../../../include -I../../../src -I../../../src -I../../../src/compiler
-I../../../src/compiler/nir -I../../../src/compiler -I../../../src/mapi
-I../../../src/mesa -I../../../src/mesa/drivers/dri/common
-I../../../src/gallium/auxiliary -I../../../src/gallium/include
-D_FORTIFY_SOURCE=2 -fvisibility=hidden -I/usr/include    -pipe     -W
-Wno-unused-parameter -Wwrite-strings  -Wno-missing-field-initializers 
-Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-Werror=date-time -std=c++11       -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector-strong -g -fvar-tracking-assignments -g
-fvar-tracking-assignments -Wall -fno-math-errno -fno-trapping-math  -MT
ac_llvm_helper.lo -MD -MP -MF $depbase.Tpo -c -o ac_llvm_helper.lo
ac_llvm_helper.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo ac_llvm_util.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"Mesa\"
-DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"13.1.0-devel\"
-DPACKAGE_STRING=\"Mesa\ 13.1.0-devel\"
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"13.1.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1
-DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1
-DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1
-DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1
-DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1
-DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1
-DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1
-DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1
-DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1
-DHAVE_SHA1_IN_LIBGCRYPT=1 -DENABLE_SHADER_CACHE=1 -I.   -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H
-DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1
-DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE
-DHAVE_ST_VDPAU -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=0
-I../../../include -I../../../src -I../../../src -I../../../src/compiler
-I../../../src/compiler/nir -I../../../src/compiler -I../../../src/mapi
-I../../../src/mesa -I../../../src/mesa/drivers/dri/common
-I../../../src/gallium/auxiliary -I../../../src/gallium/include
-D_FORTIFY_SOURCE=2 -fvisibility=hidden -pthread -I/usr/include 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g
-fvar-tracking-assignments -g -fvar-tracking-assignments -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-math-errno -fno-trapping-math  -MT ac_llvm_util.lo -MD -MP -MF
$depbase.Tpo -c -o ac_llvm_util.lo ac_llvm_util.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo ac_nir_to_llvm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"Mesa\"
-DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"13.1.0-devel\"
-DPACKAGE_STRING=\"Mesa\ 13.1.0-devel\"
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"13.1.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1
-DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1
-DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1
-DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1
-DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1
-DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1
-DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1
-DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1
-DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1
-DHAVE_SHA1_IN_LIBGCRYPT=1 -DENABLE_SHADER_CACHE=1 -I.   -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H
-DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1
-DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE
-DHAVE_ST_VDPAU -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=0
-I../../../include -I../../../src -I../../../src -I../../../src/compiler
-I../../../src/compiler/nir -I../../../src/compiler -I../../../src/mapi
-I../../../src/mesa -I../../../src/mesa/drivers/dri/common
-I../../../src/gallium/auxiliary -I../../../src/gallium/include
-D_FORTIFY_SOURCE=2 -fvisibility=hidden -pthread -I/usr/include 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g
-fvar-tracking-assignments -g -fvar-tracking-assignments -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-math-errno -fno-trapping-math  -MT ac_nir_to_llvm.lo -MD -MP -MF
$depbase.Tpo -c -o ac_nir_to_llvm.lo ac_nir_to_llvm.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"13.1.0-devel\" "-DPACKAGE_STRING=\"Mesa 13.1.0-devel\""
"-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\""
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"13.1.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1
-DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1
-DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1
-DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1
-DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1
-DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1
-DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1
-DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1
-DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1
-DHAVE_SHA1_IN_LIBGCRYPT=1 -DENABLE_SHADER_CACHE=1 -I. -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H
-DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1
-DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE
-DHAVE_ST_VDPAU -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=0
-I../../../include -I../../../src -I../../../src -I../../../src/compiler
-I../../../src/compiler/nir -I../../../src/compiler -I../../../src/mapi
-I../../../src/mesa -I../../../src/mesa/drivers/dri/common
-I../../../src/gallium/auxiliary -I../../../src/gallium/include
-D_FORTIFY_SOURCE=2 -fvisibility=hidden -pthread -I/usr/include
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g
-fvar-tracking-assignments -g -fvar-tracking-assignments -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-math-errno -fno-trapping-math -MT ac_nir_to_llvm.lo -MD -MP -MF
.deps/ac_nir_to_llvm.Tpo -c ac_nir_to_llvm.c  -fPIC -DPIC -o
.libs/ac_nir_to_llvm.o
libtool: compile:  gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"13.1.0-devel\" "-DPACKAGE_STRING=\"Mesa 13.1.0-devel\""
"-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\""
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"13.1.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1
-DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1
-DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1
-DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1
-DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1
-DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1
-DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1
-DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1
-DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1
-DHAVE_SHA1_IN_LIBGCRYPT=1 -DENABLE_SHADER_CACHE=1 -I. -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H
-DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1
-DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE
-DHAVE_ST_VDPAU -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=0
-I../../../include -I../../../src -I../../../src -I../../../src/compiler
-I../../../src/compiler/nir -I../../../src/compiler -I../../../src/mapi
-I../../../src/mesa -I../../../src/mesa/drivers/dri/common
-I../../../src/gallium/auxiliary -I../../../src/gallium/include
-D_FORTIFY_SOURCE=2 -fvisibility=hidden -pthread -I/usr/include
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g
-fvar-tracking-assignments -g -fvar-tracking-assignments -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-math-errno -fno-trapping-math -MT ac_binary.lo -MD -MP -MF
.deps/ac_binary.Tpo -c ac_binary.c  -fPIC -DPIC -o .libs/ac_binary.o
libtool: compile:  g++ -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"13.1.0-devel\" "-DPACKAGE_STRING=\"Mesa 13.1.0-devel\""
"-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\""
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"13.1.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1
-DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1
-DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1
-DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1
-DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1
-DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1
-DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1
-DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1
-DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1
-DHAVE_SHA1_IN_LIBGCRYPT=1 -DENABLE_SHADER_CACHE=1 -I. -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H
-DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1
-DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE
-DHAVE_ST_VDPAU -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=0
-I../../../include -I../../../src -I../../../src -I../../../src/compiler
-I../../../src/compiler/nir -I../../../src/compiler -I../../../src/mapi
-I../../../src/mesa -I../../../src/mesa/drivers/dri/common
-I../../../src/gallium/auxiliary -I../../../src/gallium/include
-D_FORTIFY_SOURCE=2 -fvisibility=hidden -I/usr/include -pipe -W
-Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers
-Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-Werror=date-time -std=c++11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong -g -fvar-tracking-assignments -g
-fvar-tracking-assignments -Wall -fno-math-errno -fno-trapping-math -MT
ac_llvm_helper.lo -MD -MP -MF .deps/ac_llvm_helper.Tpo -c ac_llvm_helper.cpp 
-fPIC -DPIC -o .libs/ac_llvm_helper.o
libtool: compile:  gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"13.1.0-devel\" "-DPACKAGE_STRING=\"Mesa 13.1.0-devel\""
"-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\""
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"13.1.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1
-DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1
-DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1
-DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1
-DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1
-DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1
-DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1
-DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1
-DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1
-DHAVE_SHA1_IN_LIBGCRYPT=1 -DENABLE_SHADER_CACHE=1 -I. -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H
-DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1
-DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE
-DHAVE_ST_VDPAU -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=0
-I../../../include -I../../../src -I../../../src -I../../../src/compiler
-I../../../src/compiler/nir -I../../../src/compiler -I../../../src/mapi
-I../../../src/mesa -I../../../src/mesa/drivers/dri/common
-I../../../src/gallium/auxiliary -I../../../src/gallium/include
-D_FORTIFY_SOURCE=2 -fvisibility=hidden -pthread -I/usr/include
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g
-fvar-tracking-assignments -g -fvar-tracking-assignments -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-math-errno -fno-trapping-math -MT ac_llvm_util.lo -MD -MP -MF
.deps/ac_llvm_util.Tpo -c ac_llvm_util.c  -fPIC -DPIC -o .libs/ac_llvm_util.o
ac_nir_to_llvm.c:145:43: error: unknown type name 'LLVMAttribute'
                     unsigned param_count, LLVMAttribute attribs);
                                           ^~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'create_llvm_function':
ac_nir_to_llvm.c:231:4: error: implicit declaration of function
'LLVMAddAttribute' [-Werror=implicit-function-declaration]
    LLVMAddAttribute(P, LLVMByValAttribute);
    ^~~~~~~~~~~~~~~~
ac_nir_to_llvm.c:231:24: error: 'LLVMByValAttribute' undeclared (first use in
this function)
    LLVMAddAttribute(P, LLVMByValAttribute);
                        ^~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c:231:24: note: each undeclared identifier is reported only once
for each function it appears in
ac_nir_to_llvm.c:235:24: error: 'LLVMInRegAttribute' undeclared (first use in
this function)
    LLVMAddAttribute(P, LLVMInRegAttribute);
                        ^~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_intrin_1f_param':
ac_nir_to_llvm.c:711:9: error: implicit declaration of function
'emit_llvm_intrinsic' [-Werror=implicit-function-declaration]
  return emit_llvm_intrinsic(ctx, intrin, ctx->f32, params, 1,
LLVMReadNoneAttribute);
         ^~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c:711:63: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
  return emit_llvm_intrinsic(ctx, intrin, ctx->f32, params, 1,
LLVMReadNoneAttribute);
                                                              
^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_intrin_2f_param':
ac_nir_to_llvm.c:722:63: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
  return emit_llvm_intrinsic(ctx, intrin, ctx->f32, params, 2,
LLVMReadNoneAttribute);
                                                              
^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_intrin_3f_param':
ac_nir_to_llvm.c:734:63: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
  return emit_llvm_intrinsic(ctx, intrin, ctx->f32, params, 3,
LLVMReadNoneAttribute);
                                                              
^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_find_lsb':
ac_nir_to_llvm.c:760:72: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
  return emit_llvm_intrinsic(ctx, "llvm.cttz.i32", ctx->i32, params, 2,
LLVMReadNoneAttribute);
                                                                       
^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_ifind_msb':
ac_nir_to_llvm.c:768:13: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
             LLVMReadNoneAttribute);
             ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_ufind_msb':
ac_nir_to_llvm.c:794:13: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
             LLVMReadNoneAttribute);
             ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_ffract':
ac_nir_to_llvm.c:858:8: error: 'LLVMReadNoneAttribute' undeclared (first use in
this function)
        LLVMReadNoneAttribute);
        ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_uint_carry':
ac_nir_to_llvm.c:874:18: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
       params, 2, LLVMReadNoneAttribute);
                  ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_bitfield_extract':
ac_nir_to_llvm.c:919:63: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
  result = emit_llvm_intrinsic(ctx, intrin, ctx->i32, srcs, 3,
LLVMReadNoneAttribute);
                                                              
^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'get_thread_id':
ac_nir_to_llvm.c:1026:21: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
        tid_args, 2, LLVMReadNoneAttribute);
                     ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_ddxy':
ac_nir_to_llvm.c:1118:7: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
       LLVMReadNoneAttribute);
       ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'visit_alu':
ac_nir_to_llvm.c:1454:78: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
   result = emit_llvm_intrinsic(ctx, "llvm.bitreverse.i32", ctx->i32, src, 1,
LLVMReadNoneAttribute);
                                                                             
^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: At top level:
ac_nir_to_llvm.c:1585:43: error: unknown type name 'LLVMAttribute'
                     unsigned param_count, LLVMAttribute attribs)
                                           ^~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'radv_lower_gather4_integer':
ac_nir_to_llvm.c:1683:9: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
         LLVMReadNoneAttribute);
         ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c:1707:32: error: 'LLVMNoUnwindAttribute' undeclared (first use
in this function)
        LLVMReadNoneAttribute | LLVMNoUnwindAttribute);
                                ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'build_tex_intrinsic':
ac_nir_to_llvm.c:1775:8: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
        LLVMReadNoneAttribute | LLVMNoUnwindAttribute);
        ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c:1775:32: error: 'LLVMNoUnwindAttribute' undeclared (first use
in this function)
        LLVMReadNoneAttribute | LLVMNoUnwindAttribute);
                                ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'visit_atomic_ssbo':
ac_nir_to_llvm.c:1958:9: warning: return makes pointer from integer without a
cast [-Wint-conversion]
  return emit_llvm_intrinsic(ctx, name, ctx->i32, params, arg_count, 0);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'visit_load_buffer':
ac_nir_to_llvm.c:1989:6: warning: initialization makes pointer from integer
without a cast [-Wint-conversion]
      emit_llvm_intrinsic(ctx, load_name, data_type, params, 5, 0);
      ^~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'visit_image_load':
ac_nir_to_llvm.c:2383:7: warning: assignment makes pointer from integer without
a cast [-Wint-conversion]
   res = emit_llvm_intrinsic(ctx, "llvm.amdgcn.buffer.load.format.v4f32",
ctx->v4f32,
       ^
ac_nir_to_llvm.c:2419:17: error: 'LLVMReadOnlyAttribute' undeclared (first use
in this function)
      params, 7, LLVMReadOnlyAttribute);
                 ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'visit_image_atomic':
ac_nir_to_llvm.c:2555:9: warning: return makes pointer from integer without a
cast [-Wint-conversion]
  return emit_llvm_intrinsic(ctx, intrinsic_name, ctx->i32, params,
param_count, 0);
        
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'visit_image_size':
ac_nir_to_llvm.c:2584:19: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
       params, 10, LLVMReadNoneAttribute);
                   ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'visit_interp':
ac_nir_to_llvm.c:2817:10: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
          LLVMReadNoneAttribute);
          ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'build_cube_intrinsic':
ac_nir_to_llvm.c:3112:23: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
           f32, in, 3, LLVMReadNoneAttribute);
                       ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'cube_to_2d_coords':
ac_nir_to_llvm.c:3149:21: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
      &coords[2], 1, LLVMReadNoneAttribute);
                     ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'visit_tex':
ac_nir_to_llvm.c:3376:15: warning: assignment makes pointer from integer
without a cast [-Wint-conversion]
     coords[2] = emit_llvm_intrinsic(ctx, "llvm.rint.f32", ctx->f32,
&coords[2],
               ^
ac_nir_to_llvm.c: In function 'handle_vs_input_decl':
ac_nir_to_llvm.c:3754:4: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
    LLVMReadNoneAttribute | LLVMNoUnwindAttribute);
    ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c:3754:28: error: 'LLVMNoUnwindAttribute' undeclared (first use
in this function)
    LLVMReadNoneAttribute | LLVMNoUnwindAttribute);
                            ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'interp_fs_input':
ac_nir_to_llvm.c:3800:9: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
         LLVMReadNoneAttribute | LLVMNoUnwindAttribute);
         ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c:3800:33: error: 'LLVMNoUnwindAttribute' undeclared (first use
in this function)
         LLVMReadNoneAttribute | LLVMNoUnwindAttribute);
                                 ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'si_llvm_init_export_args':
ac_nir_to_llvm.c:4059:13: error: 'LLVMReadNoneAttribute' undeclared (first use
in this function)
             LLVMReadNoneAttribute);
             ^~~~~~~~~~~~~~~~~~~~~
ac_nir_to_llvm.c: In function 'emit_intrin_1f_param':
ac_nir_to_llvm.c:712:1: warning: control reaches end of non-void function
[-Wreturn-type]
 }
 ^
ac_nir_to_llvm.c: In function 'emit_intrin_2f_param':
ac_nir_to_llvm.c:723:1: warning: control reaches end of non-void function
[-Wreturn-type]
 }
 ^
ac_nir_to_llvm.c: In function 'emit_intrin_3f_param':
ac_nir_to_llvm.c:735:1: warning: control reaches end of non-void function
[-Wreturn-type]
 }
 ^
ac_nir_to_llvm.c: In function 'emit_find_lsb':
ac_nir_to_llvm.c:761:1: warning: control reaches end of non-void function
[-Wreturn-type]
 }
 ^
ac_nir_to_llvm.c: In function 'build_tex_intrinsic':
ac_nir_to_llvm.c:1777:1: warning: control reaches end of non-void function
[-Wreturn-type]
 }
 ^
ac_nir_to_llvm.c: In function 'radv_lower_gather4_integer':
ac_nir_to_llvm.c:1709:1: warning: control reaches end of non-void function
[-Wreturn-type]
 }
 ^
cc1: some warnings being treated as errors
make[3]: *** [Makefile:667: ac_nir_to_llvm.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/mesa-git/src/mesa/src/amd/common'
make[2]: *** [Makefile:867: all-recursive] Error 1
make[2]: Leaving directory '/build/mesa-git/src/mesa/src'
make[1]: *** [Makefile:658: all] Error 2
make[1]: Leaving directory '/build/mesa-git/src/mesa/src'
make: *** [Makefile:651: all-recursive] Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 36117 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2016-11-07 16:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 16:35 bugzilla-daemon [this message]
2016-11-07 18:47 ` [Bug 98627] mesa doesn't build since llvm r286062 bugzilla-daemon
2016-11-09  8:24 ` bugzilla-daemon
2016-11-10  6:19 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-98627-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.