tce-load -i compiletc Xorg-7.7-dev llvm-dev libvdpau-dev libdrm-dev libva-dev wayland-dev wayland-protocols libclc-dev python-mako elfutils-dev clang cd mesa-19.0.1 sudo cp /tmp/tcloop/llvm-dev/usr/local/bin/llvm-config /usr/local/bin CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe -DUSE_DRICONF" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -DUSE_DRICONF" ./configure --prefix=/usr/local -disable-static --localstatedir=/var --sysconfdir=/etc --enable-osmesa --enable-xa --enable-glx-tls --with-platforms="drm,wayland,surfaceless,x11" --with-gallium-drivers="i915,nouveau,r300,r600,radeonsi,svga,swrast,swr,virgl" --with-vulkan-drivers="intel,radeon" --enable-opencl --enable-opencl-icd --enable-autotools [-fno-exceptions -fno-rtti fails with opencl] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [27m 6.59s] sudo make install prefix: /usr/local exec_prefix: ${prefix} libdir: ${exec_prefix}/lib includedir: ${prefix}/include OpenGL: yes (ES1: yes ES2: yes) OSMesa: libOSMesa DRI platform: drm DRI drivers: i915 i965 nouveau r200 radeon swrast DRI driver dir: ${libdir}/dri GLX: DRI-based EGL: yes EGL drivers: builtin:egl_dri2 builtin:egl_dri3 GBM: yes EGL/Vulkan/VL platforms: drm wayland surfaceless x11 Vulkan drivers: intel radeon Vulkan ICD dir: ${datarootdir}/vulkan/icd.d llvm: yes llvm-config: /usr/local/bin/llvm-config llvm-version: 8.0.0 Gallium drivers: i915 nouveau r300 r600 radeonsi svga swrast virgl Gallium st: mesa xa xvmc vdpau va clover HUD extra stats: no HUD lmsensors: no SWR archs: avx avx2 Shared libs: yes Static libs: no Shared-glapi: yes CFLAGS: -g -O2 -std=c99 CXXFLAGS: -g -O2 -Wall -fno-math-errno -fno-trapping-math -Wno-missing-field-initializers -Wno-format-truncation CXX11_CXXFLAGS: LDFLAGS: Macros: -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DUSE_X86_64_ASM -DHAVE_SYS_SYSCTL_H -DHAVE_DLFCN_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_DRM_PLATFORM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_SURFACELESS_PLATFORM -DHAVE_X11_PLATFORM -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0800 -DMESA_LLVM_VERSION_PATCH=0 LLVM_CFLAGS: -I/usr/local/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS LLVM_CXXFLAGS: -I/usr/local/include -std=c++11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS LLVM_CPPFLAGS: -I/usr/local/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS LLVM_LDFLAGS: -L/usr/local/lib PYTHON: /usr/local/bin/python libtool: compile: g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -DUSE_DRICONF -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"19.0.1\" "-DPACKAGE_STRING=\"Mesa 19.0.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"19.0.1\" -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 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1 -DHAVE_FUNC_ATTRIBUTE_NORETURN=1 -DMAJOR_IN_SYSMACROS=1 -DHAVE_ENDIAN_H=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -I. -mavx -fno-strict-aliasing -I./include -I../../../../src -I../../../../include -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I../../../../src/gallium/winsys -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DUSE_X86_64_ASM -DHAVE_SYS_SYSCTL_H -DHAVE_DLFCN_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_DRM_PLATFORM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_SURFACELESS_PLATFORM -DHAVE_X11_PLATFORM -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0800 -DMESA_LLVM_VERSION_PATCH=0 -fvisibility=hidden -I/usr/local/include -std=c++11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I./rasterizer/codegen -I./rasterizer/core -I./rasterizer/jitter -I./rasterizer/archrast -I./rasterizer -I./rasterizer/core -I./rasterizer/codegen -I./rasterizer/jitter -I./rasterizer/archrast -DHAVE_SWR_AVX -DHAVE_SWR_AVX2 -Wall -fno-math-errno -fno-trapping-math -Wno-missing-field-initializers -Wno-format-truncation -MT libmesaswr_la-swr_shader.lo -MD -MP -MF .deps/libmesaswr_la-swr_shader.Tpo -c swr_shader.cpp -fPIC -DPIC -o .libs/libmesaswr_la-swr_shader.o In file included from ./rasterizer/jitter/builder.h:157, from swr_shader.cpp:35: ./rasterizer/jitter/gen_builder.hpp: In member function 'llvm::CallInst* SwrJit::Builder::BINARY_INTRINSIC(llvm::Intrinsic::ID, llvm::Value*, llvm::Value*, const llvm::Twine&)': ./rasterizer/jitter/gen_builder.hpp:231:59: error: no matching function for call to 'llvm::IRBuilder<>::CreateBinaryIntrinsic(llvm::Intrinsic::ID&, llvm::Value*&, llvm::Value*&, const llvm::Twine&)' return IRB()->CreateBinaryIntrinsic(ID, LHS, RHS, Name);