[Mesa-dev] [Bug 107865] swr fail to build with llvm-libs 6.0.1
https://bugs.freedesktop.org/show_bug.cgi?id=107865 Alok Hota changed: What|Removed |Added Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from Alok Hota --- This patch is to fix this issue: https://patchwork.freedesktop.org/series/51133/ It should make its way to the stable branch, hopefully in the next dot release. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 107865] swr fail to build with llvm-libs 6.0.1
https://bugs.freedesktop.org/show_bug.cgi?id=107865 --- Comment #2 from Bruce Cherniak --- Thank you for tracking this down! That helps a lot! -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 107865] swr fail to build with llvm-libs 6.0.1
https://bugs.freedesktop.org/show_bug.cgi?id=107865 --- Comment #1 from Steven Noonan --- I found out that this build apparently only fails when building from the release tarball, presumably because of these differences (recursive diff between git tree and release tarball follows): Only in mesa-18.2.0/src/gallium/drivers/swr: Makefile.in Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/archrast: gen_ar_event.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/archrast: gen_ar_eventhandlerfile.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/archrast: gen_ar_eventhandler.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/archrast: gen_ar_event.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/codegen: gen_knobs.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/codegen: gen_knobs.h Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate0.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate1.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate2.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate3.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer0.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer1.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer2.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer3.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer.hpp Only in mesa/src/gallium/drivers/swr/rasterizer: .dir-locals.el Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/jitter: gen_builder.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/jitter: gen_builder_intrin.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/jitter: gen_builder_meta.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/jitter: gen_state_llvm.h So it looks like there are a bunch of pregenerated source files that were generated using a *different* LLVM version, and that's what's causing the build break. I changed my arch PKGBUILD to build from the git tree, and it built successfully. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 107865] swr fail to build with llvm-libs 6.0.1
https://bugs.freedesktop.org/show_bug.cgi?id=107865 Steven Noonan changed: What|Removed |Added CC||ste...@uplinklabs.net -- You are receiving this mail because: You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 107865] swr fail to build with llvm-libs 6.0.1
https://bugs.freedesktop.org/show_bug.cgi?id=107865 Sergey Kondakov changed: What|Removed |Added CC||virtuous...@gmail.com -- You are receiving this mail because: You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 107865] swr fail to build with llvm-libs 6.0.1
https://bugs.freedesktop.org/show_bug.cgi?id=107865 Bug ID: 107865 Summary: swr fail to build with llvm-libs 6.0.1 Product: Mesa Version: 18.2 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: blocker Priority: medium Component: Drivers/Gallium/swr Assignee: mesa-dev@lists.freedesktop.org Reporter: lordhea...@gmail.com QA Contact: mesa-dev@lists.freedesktop.org [1803/2428] Compiling C++ object 'src/gallium/drivers/swr/src@gallium@drivers@swr@@swrAVX2@sha/rasterizer_memory_StoreTile_TileX.cpp.o'. In file included from ../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/format_conversion.h:28, from ../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/memory/StoreTile.h:34, from ../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/memory/StoreTile_TileX.cpp:28: ../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/format_types.h: In lambda function: ../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/format_types.h:1416:26: warning: array subscript 4 is above array bounds of ‘const uint32_t [4]’ {aka ‘const unsigned int [4]’} [-Warray-bounds] return MyBpc[comp]; ^ ../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/format_types.h:1404:29: warning: array subscript 4 is above array bounds of ‘const SWR_TYPE [4]’ [-Warray-bounds] return CompType[comp]; ^ [1804/2428] Compiling C++ object 'src/gallium/drivers/swr/src@gallium@drivers@swr@@mesaswr@sta/meson-generated_.._rasterizer_core_backends_gen_rasterizer0.cpp.o'. [1805/2428] Compiling C++ object 'src/gallium/drivers/swr/src@gallium@drivers@swr@@swrAVX2@sha/rasterizer_memory_StoreTile_TileY2.cpp.o'. [1806/2428] Compiling C++ object 'src/gallium/drivers/swr/src@gallium@drivers@swr@@mesaswr@sta/swr_loader.cpp.o'. [1807/2428] Compiling C++ object 'src/gallium/drivers/swr/src@gallium@drivers@swr@@mesaswr@sta/rasterizer_jitter_builder_mem.cpp.o'. FAILED: src/gallium/drivers/swr/src@gallium@drivers@swr@@mesaswr@sta/rasterizer_jitter_builder_mem.cpp.o c++ -Isrc/gallium/drivers/swr/src@gallium@drivers@swr@@mesaswr@sta -Isrc/gallium/drivers/swr -I../mesa-18.2.0/src/gallium/drivers/swr -Isrc/../include -I../mesa-18.2.0/src/../include -Isrc -I../mesa-18.2.0/src -Isrc/mapi -I../mesa-18.2.0/src/mapi -Isrc/mesa -I../mesa-18.2.0/src/mesa -I../mesa-18.2.0/src/gallium/include -Isrc/gallium/auxiliary -I../mesa-18.2.0/src/gallium/auxiliary -Isrc/gallium/drivers/swr/rasterizer/codegen -I../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/codegen -Isrc/gallium/drivers/swr/rasterizer/core -I../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core -Isrc/gallium/drivers/swr/rasterizer/jitter -I../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/jitter -I../mesa-18.2.0/src/gallium/drivers/swr/rasterizer/archrast -Isrc/gallium/drivers/swr/rasterizer -I../mesa-18.2.0/src/gallium/drivers/swr/rasterizer -Isrc/gallium/drivers/swr/rasterizer/core/backends -I/usr/include -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O3 '-DVERSION="18.2.0"' -DPACKAGE_VERSION=VERSION '-DPACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa";' -DGLX_USE_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=1 -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_LIBDRM -DHAVE_LLVM=0x0600 -DMESA_LLVM_VERSION_PATCH=1 -DUSE_LIBGLVND=1 -DHAVE_LIBUNWIND -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1 -Wall -fno-math-errno -fno-trapping-math -Wno-non-virtual-dtor -Wno-missing-field-initializers -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -D__STDC_CONSTANT_MACROS -