Bug 109129 - format_types.h:1220: undefined reference to `_mm256_cvtps_ph'
Summary: format_types.h:1220: undefined reference to `_mm256_cvtps_ph'
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/swr (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Dylan Baker
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: mesa-autotools-removal
  Show dependency treegraph
 
Reported: 2018-12-21 18:58 UTC by Vinson Lee
Modified: 2019-01-30 19:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2018-12-21 18:58:39 UTC
SWR build error with ICC with meson. Build passes with autotools.

'src/gallium/drivers/swr/src@gallium@drivers@swr@@swrAVX2@sha/rasterizer_memory_StoreTile_TileY.cpp.o' 'src/gallium/drivers/swr/src@gallium@drivers@swr@@swrAVX2@sha/rasterizer_memory_InitMemory.cpp.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libswrAVX2.so.0 -Wl,--gc-sections -L/usr/lib/llvm-7/lib -lLLVM-7 -Wl,--end-group -pthread  
ld: src/gallium/drivers/swr/src@gallium@drivers@swr@@swrAVX2@sha/rasterizer_memory_StoreTile_Linear2.cpp.o: in function `TypeTraits<(SWR_TYPE)6, 16u>::pack(SIMDImpl::SIMD512Impl::Float const&)':
src/gallium/drivers/swr/rasterizer/core/format_types.h:1220: undefined reference to `_mm256_cvtps_ph'
ld: src/gallium/drivers/swr/rasterizer/core/format_types.h:1221: undefined reference to `_mm256_cvtps_ph'
Comment 1 Dylan Baker 2018-12-21 20:54:16 UTC
This is likely due to: https://github.com/mesonbuild/meson/commit/b335ca2818b3cdb770bb69df25ae527d7ae8e7d3.

I'm checking with said patch applied.
Comment 2 Dylan Baker 2018-12-21 21:26:08 UTC
Indeed, it seems to be fixed by that patch. I'm planning to make 0.49.1 required for using ICC once it's out anyway (due to a lot of fixes in 0.49.0 and the fix to this in 0.49.1


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.