Re: [dpdk-dev] [PATCH v2 2/2] build: fix crash by disabling AVX512 with binutils 2.31

2019-04-16 Thread Bruce Richardson
On Tue, Apr 16, 2019 at 04:39:32PM +0100, Ferruh Yigit wrote: > On Skylake platform, with native build, KNI kernel module crashes > because of the corrupted values passed to kernel module. > > The corruption occurs because the userspace kni library works > unexpectedly. Compiler [1] is using AVX51

[dpdk-dev] [PATCH v2 2/2] build: fix crash by disabling AVX512 with binutils 2.31

2019-04-16 Thread Ferruh Yigit
On Skylake platform, with native build, KNI kernel module crashes because of the corrupted values passed to kernel module. The corruption occurs because the userspace kni library works unexpectedly. Compiler [1] is using AVX512 instructions and generated binary is wrong [2]. It turned around gcc