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'
This is likely due to: https://github.com/mesonbuild/meson/commit/b335ca2818b3cdb770bb69df25ae527d7ae8e7d3. I'm checking with said patch applied.
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.