<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - mesa-19.0.1 fails to compile with llvm-8.0.0 and Gallium swr driver"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110323#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - mesa-19.0.1 fails to compile with llvm-8.0.0 and Gallium swr driver"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110323">bug 110323</a>
              from <span class="vcard"><a class="email" href="mailto:john.frankish@outlook.com" title="john.frankish@outlook.com">john.frankish@outlook.com</a>
</span></b>
        <pre>Thanks.

The workaround builds without error on 64-bit, but fails with 32-bit.

Note that with a 64-bit build, glxgears segfaults with software acceleration -
is glxgears hardware acceleration only?

libtool: compile:  g++ -flto -fuse-linker-plugin -march=pentium-m -mtune=i686
-Os -pipe -fno-exceptions -fno-rtti -DUSE_DRICONF -DPACKAGE_NAME=\"Mesa\"
-DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"19.0.1\"
"-DPACKAGE_STRING=\"Mesa 19.0.1\""
"-DPACKAGE_BUGREPORT=\"<a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa">https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa</a>\""
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"19.0.1\"
-D_FILE_OFFSET_BITS=64 -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.
-pthread -mavx -DKNOB_ARCH=KNOB_ARCH_AVX -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_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM
-DUSE_SSE_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_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_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-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 -Wall
-fno-math-errno -fno-trapping-math -Wno-missing-field-initializers
-Wno-format-truncation -MT rasterizer/core/libswrAVX_la-api.lo -MD -MP -MF
rasterizer/core/.deps/libswrAVX_la-api.Tpo -c rasterizer/core/api.cpp  -fPIC
-DPIC -o rasterizer/core/.libs/libswrAVX_la-api.o
In file included from ./rasterizer/common/simdintrin.h:28,
                 from ./rasterizer/core/format_types.h:31,
                 from ./rasterizer/core/format_traits.h:32,
                 from ./rasterizer/core/multisample.h:30,
                 from ./rasterizer/core/backend.h:33,
                 from rasterizer/core/api.cpp:35:
./rasterizer/common/simdlib.hpp: In member function 'uint32_t
SIMDVecHash<SIMD_T>::operator()(Integer<SIMD_T>) const':
./rasterizer/common/simdlib.hpp:594:37: error: static assertion failed: This
path only meant for 64-bit code
         static_assert(sizeof(void*) == 8, "This path only meant for 64-bit
code");
                       ~~~~~~~~~~~~~~^~~~
./rasterizer/common/simdlib.hpp:603:21: error: there are no arguments to
'_mm_crc32_u64' that depend on a template parameter, so a declaration of
'_mm_crc32_u64' must be available [-fpermissive]
             crc32 = _mm_crc32_u64(crc32, pData[i]);</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>