[dpdk-dev] Question Of binutils-avx512-check
Thomas Monjalon
thomas at monjalon.net
Fri May 21 09:04:06 CEST 2021
20/05/2021 23:22, Liang Ma:
> Hi All,
> I try to build DPDK with debug build-type but the building process is
> failed becuase of AVX512 code from librte-acl. The release build type
> is fine. Hence, I dig a bit into the avx512 enabling logic of meson.
>
> I found the main logic is implemented inside binutils-avx512-check.sh.
>
> It looks the script focus on checking the compatiblity of tools-chain
> instead of CPUID. My problem is current script will produce avx512
> code even I build dpdk on AMD platform. I understand the avx512 code
> may not be used in runtime. I just wonder why we can not check the
> cpuid as well ?
The same binary can be run on multiple CPUs,
so it makes no sense to check the compilation CPUID in generic compilation.
For native build, why not.
Anyway, your problem is at compilation, not runtime, right?
More information about the dev
mailing list