From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seth Forshee Subject: Re: Build failure in v2.0.0-rc3 with !CC_AVX2_SUPPORT Date: Tue, 31 Mar 2015 10:27:17 -0500 Message-ID: <20150331152717.GC99112@ubuntu-hedt> References: <20150331144108.GB99112@ubuntu-hedt> <2601191342CEEE43887BDE71AB9772582141330E@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "Ananyev, Konstantin" Return-path: Content-Disposition: inline In-Reply-To: <2601191342CEEE43887BDE71AB9772582141330E-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Tue, Mar 31, 2015 at 02:59:36PM +0000, Ananyev, Konstantin wrote: > > > > -----Original Message----- > > From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Seth Forshee > > Sent: Tuesday, March 31, 2015 3:41 PM > > To: dev-VfR2kkLFssw@public.gmane.org > > Subject: [dpdk-dev] Build failure in v2.0.0-rc3 with !CC_AVX2_SUPPORT > > > > I'm getting errors when building DPDK in an Ubuntu 15.04 VM with > > T=x86_64-native-linuxapp-gcc. I've got a small VM set up without avx2 in > > the cpu flags: > > > > $ cat /proc/cpuinfo > > processor : 0 > > vendor_id : GenuineIntel > > cpu family : 6 > > model : 6 > > model name : QEMU Virtual CPU version 2.0.0 > > stepping : 3 > > microcode : 0x1 > > cpu MHz : 2993.068 > > cache size : 4096 KB > > physical id : 0 > > siblings : 1 > > core id : 0 > > cpu cores : 1 > > apicid : 0 > > initial apicid : 0 > > fpu : yes > > fpu_exception : yes > > cpuid level : 4 > > wp : yes > > flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl > > pni vmx cx16 x2apic popcnt hypervisor lahf_lm abm vnmi ept > > > It seems that your VM cpu doesn't even have SSE3. > As I remember, DPDK doesn't support architectures prior to SSE3, i.e you need a VM with at least core2 CPU. This VM was set up with a script that just uses the qemu default CPU, which is quite basic. Bumping it up to a core2 with SSE3 but not avx does get the build working. So if that CPU lacks features required by DPDK then I guess there's no problem, I just didn't know how to interpret those build errors. Thanks, Seth