[dpdk-dev] Build failure in v2.0.0-rc3 with !CC_AVX2_SUPPORT
Seth Forshee
seth.forshee at canonical.com
Tue Mar 31 17:27:17 CEST 2015
On Tue, Mar 31, 2015 at 02:59:36PM +0000, Ananyev, Konstantin wrote:
>
>
> > -----Original Message-----
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Seth Forshee
> > Sent: Tuesday, March 31, 2015 3:41 PM
> > To: dev at dpdk.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
More information about the dev
mailing list