Summary: | media-gfx/krita-4.2.8.2 USE=vc - In file included from.../work/krita-4.2.8.2/libs/pigment/compositeops/KoOptimizedCompositeOpFactory.cpp:20: /usr/include/Vc/avx/intrinsics.h:458:5: error: ‘_mm256_comlt_epu32’ was not declared in this scope; did you mean ‘ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sandi (Sandy) Vujaković <sandyvujakovicj> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | amadio, gdiazhartusch, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info |
Description
Sandi (Sandy) Vujaković
2020-01-14 23:27:36 UTC
Created attachment 603322 [details]
build.log
Created attachment 603324 [details]
emerge --info
I just rebuilt dev-libs/vc with the Gentoo default flags and there is no difference. I think thus is a bug in dev-libs/vc. Header Vc/avx/intrinsics.h contains this fragment: #if defined(Vc_IMPL_XOP) Vc_AVX_TO_SSE_2_NEW(comlt_epu32) Vc_AVX_TO_SSE_2_NEW(comgt_epu32) Vc_AVX_TO_SSE_2_NEW(comlt_epu16) Vc_AVX_TO_SSE_2_NEW(comgt_epu16) static Vc_INTRINSIC m256i Vc_CONST cmplt_epu32(__m256i a, __m256i b) { return comlt_epu32(a, b); } static Vc_INTRINSIC m256i Vc_CONST cmpgt_epu32(__m256i a, __m256i b) { return comgt_epu32(a, b); } static Vc_INTRINSIC m256i Vc_CONST cmplt_epu16(__m256i a, __m256i b) { return comlt_epu16(a, b); } static Vc_INTRINSIC m256i Vc_CONST cmpgt_epu16(__m256i a, __m256i b) { return comgt_epu16(a, b); } #else [...] which I suppose makes GCC generate implementations with XOP instructions for these functions, by calling magic builtin fuctions defined in <x86intrin.h>. And also contains two definitions of macro Vc_AVX_TO_SSE_2_NEW(), one that I suppose makes GCC generate implementations with AVX2 instructions, and one that doesn't. The former creates invalid function names if called from that fragment. That is, when both Vc_IMPL_XOP and Vc_IMPL_AVX2 are defined. I suppose both are when -march=bdver4 is in CFLAGS. Adding vc maintainer then. please retest with media-gfx/krita-4.4.8-r1 and newer. Reopen if the bug is still there. |