[Mesa-dev] [Bug 109741] swr doesn't build on i386 - simdlib.hpp:594:37: error: static assertion failed: This path only meant for 64-bit code

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 22 09:01:33 UTC 2019


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

            Bug ID: 109741
           Summary: swr doesn't build on i386 - simdlib.hpp:594:37: error:
                    static assertion failed: This path only meant for
                    64-bit code
           Product: Mesa
           Version: git
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/swr
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: pedretti.fabio at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Full build log:
https://launchpadlibrarian.net/412340387/buildlog_ubuntu-cosmic-i386.mesa_19.1~git1902220944.338dac~oibaf~c_BUILDING.txt.gz

Error:
In file included from
../src/gallium/drivers/swr/rasterizer/common/simdintrin.h:28,
                 from
../src/gallium/drivers/swr/rasterizer/core/format_types.h:31,
                 from
../src/gallium/drivers/swr/rasterizer/core/format_traits.h:32,
                 from
../src/gallium/drivers/swr/rasterizer/core/multisample.h:30,
                 from ../src/gallium/drivers/swr/rasterizer/core/backend.h:33,
                 from
src/gallium/drivers/swr/rasterizer/core/backends/gen_BackendPixelRate0.cpp:47:
../src/gallium/drivers/swr/rasterizer/common/simdlib.hpp: In member function
‘uint32_t SIMDVecHash<SIMD_T>::operator()(Integer<SIMD_T>) const’:
../src/gallium/drivers/swr/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");
                       ~~~~~~~~~~~~~~^~~~
../src/gallium/drivers/swr/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]);
                     ^~~~~~~~~~~~~

-- 
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/20190222/13f767f9/attachment.html>


More information about the mesa-dev mailing list