[Mesa-dev] [Bug 110323] mesa-19.0.1 fails to compile with llvm-8.0.0 and Gallium swr driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 9 12:31:12 UTC 2019


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

--- Comment #1 from john.frankish at outlook.com ---
Note that the same error occurs with meson, both autotools and meson builds
using gcc-8.2.0

FAILED:
src/gallium/drivers/swr/3eb908b@@mesaswr at sta/rasterizer_jitter_builder_mem.cpp.o 
g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti -DUSE_DRICONF
-Isrc/gallium/drivers/swr/3eb908b@@mesaswr at sta -Isrc/gallium/drivers/swr
-I../src/gallium/drivers/swr -Isrc/../include -I../src/../include -Isrc
-I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa
-I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary
-Isrc/gallium/drivers/swr/rasterizer/codegen
-I../src/gallium/drivers/swr/rasterizer/codegen
-Isrc/gallium/drivers/swr/rasterizer/core
-I../src/gallium/drivers/swr/rasterizer/core
-Isrc/gallium/drivers/swr/rasterizer/jitter
-I../src/gallium/drivers/swr/rasterizer/jitter
-I../src/gallium/drivers/swr/rasterizer/archrast
-Isrc/gallium/drivers/swr/rasterizer -I../src/gallium/drivers/swr/rasterizer
-Isrc/gallium/drivers/swr/rasterizer/core/backends -I/usr/local/include
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++11
'-DPACKAGE_VERSION="19.0.1"'
'-DPACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa"'
-DGLX_USE_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0
-DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM
-DHAVE_SURFACELESS_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32
-DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL
-DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS
-DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL
-DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST
-DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC
-DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK
-DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED
-DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_VISIBILITY
-DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DUSE_SSE41
-DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS
-DHAVE_SYS_SYSCTL_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H
-DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_POSIX_MEMALIGN -DHAVE_TIMESPEC_GET
-DHAVE_MEMFD_CREATE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR
-DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM
-DHAVE_LLVM=0x0800 -DMESA_LLVM_VERSION_PATCH=0 -DHAVE_WAYLAND_PLATFORM
-DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -Werror=return-type
-fno-math-errno -fno-trapping-math -Wno-non-virtual-dtor
-Wno-missing-field-initializers -Wno-format-truncation -fPIC
-D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -pthread -fvisibility=hidden -fvisibility=hidden
-fno-strict-aliasing -mavx -DHAVE_SWR_AVX -DHAVE_SWR_AVX2 -MD -MQ
'src/gallium/drivers/swr/3eb908b@@mesaswr at sta/rasterizer_jitter_builder_mem.cpp.o'
-MF
'src/gallium/drivers/swr/3eb908b@@mesaswr at sta/rasterizer_jitter_builder_mem.cpp.o.d'
-o
'src/gallium/drivers/swr/3eb908b@@mesaswr at sta/rasterizer_jitter_builder_mem.cpp.o'
-c ../src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp
In file included from
../src/gallium/drivers/swr/rasterizer/jitter/builder.h:157,
                 from
../src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp:31:
../src/gallium/drivers/swr/rasterizer/jitter/gen_builder.hpp: In member
function 'llvm::CallInst*
SwrJit::Builder::BINARY_INTRINSIC(llvm::Intrinsic::ID, llvm::Value*,
llvm::Value*, const llvm::Twine&)':
../src/gallium/drivers/swr/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);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190409/553da7a8/attachment-0001.html>


More information about the mesa-dev mailing list