[Mesa-dev] [Bug 94383] build error on i386 when enabling swr

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 3 09:59:20 UTC 2016


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

            Bug ID: 94383
           Summary: build error on i386 when enabling swr
           Product: Mesa
           Version: git
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: fabio.ped at libero.it
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: timothy.o.rowley at intel.com

Build fails on Ubuntu 14.04/15.10/16.04 i386.
Build OK on Ubuntu 14.04/15.10/16.04 amd64.

Full build log here:
https://launchpadlibrarian.net/245329681/buildlog_ubuntu-wily-i386.mesa_11.3~git1603030943.7bb193~gd~w_BUILDING.txt.gz

Error:
  CCLD     libllvmpipe.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory
'/«PKGBUILDDIR»/build/dri/src/gallium/drivers/llvmpipe'
Making all in drivers/swr
make[4]: Entering directory '/«PKGBUILDDIR»/build/dri/src/gallium/drivers/swr'
  CXX      swr_loader.lo
  CXXLD    libmesaswr.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/«PKGBUILDDIR»/build/dri/src/gallium/drivers/swr'
Making all in drivers/swr/avx
make[4]: Entering directory
'/«PKGBUILDDIR»/build/dri/src/gallium/drivers/swr/avx'
python2.7  \
   
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/scripts/gen_knobs.py
\
    rasterizer/scripts
python2.7  \
   
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/scripts/gen_llvm_types.py
\
    --input
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/core/state.h \
    --output rasterizer/jitter/state_llvm.h
python2.7  \
   
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/scripts/gen_llvm_ir_macros.py
\
    --input /usr/lib/llvm-3.8/include/llvm/IR/IRBuilder.h \
    --output rasterizer/jitter/builder_gen.h \
    --gen_h
python2.7  \
   
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/scripts/gen_llvm_ir_macros.py
\
    --input /usr/lib/llvm-3.8/include/llvm/IR/IRBuilder.h \
    --output rasterizer/jitter/builder_gen.cpp \
    --gen_cpp
python2.7  \
   
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/scripts/gen_llvm_ir_macros.py
\
    --output rasterizer/jitter/builder_x86.h \
    --gen_x86_h
python2.7  \
   
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/scripts/gen_llvm_ir_macros.py
\
    --output rasterizer/jitter/builder_x86.cpp \
    --gen_x86_cpp
/usr/bin/make  all-am
make[5]: Entering directory
'/«PKGBUILDDIR»/build/dri/src/gallium/drivers/swr/avx'
  CXX      swr_clear.lo
In file included from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/jit_api.h:31:0,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../swr_context.h:30,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../swr_clear.cpp:24:
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/common/os.h:84:25:
error: conflicting declaration 'typedef int INT32'
 typedef int             INT32;
                         ^
In file included from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/common/os.h:71:0,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/jit_api.h:31,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../swr_context.h:30,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../swr_clear.cpp:24:
/usr/include/X11/Xmd.h:100:14: note: previous declaration as 'typedef long int
INT32'
 typedef long INT32;
              ^
In file included from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/core/state.h:31:0,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/fetch_jit.h:33,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/jit_api.h:33,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../swr_context.h:30,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../swr_clear.cpp:24:
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/common/simdintrin.h:
In function '__m256i _simdemu_mul_epi32(__m256i, __m256i)':
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/common/simdintrin.h:101:34:
warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
 __m256i func(__m256i a, __m256i b)\
                                  ^
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/common/simdintrin.h:141:1:
note: in expansion of macro 'SIMD_EMU_EPI'
 SIMD_EMU_EPI(_simdemu_mul_epi32, _mm_mul_epi32)
 ^
In file included from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/core/api.h:39:0,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/core/context.h:37,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/blend_jit.h:33,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/jitter/jit_api.h:35,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../swr_context.h:30,
                 from
../../../../../../../src/gallium/drivers/swr/avx/../swr_clear.cpp:24:
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/core/utils.h: In
function 'uint32_t ComputeCRC(uint32_t, const void*, uint32_t)':
../../../../../../../src/gallium/drivers/swr/avx/../rasterizer/core/utils.h:685:57:
error: '_mm_crc32_u64' was not declared in this scope
         crc = (uint32_t)_mm_crc32_u64(crc, *pDataWords++);
                                                         ^
Makefile:1013: recipe for target 'swr_clear.lo' failed
make[5]: *** [swr_clear.lo] Error 1

-- 
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/20160303/7813dfc2/attachment-0001.html>


More information about the mesa-dev mailing list