Matt,
I tried the cmake command you provided but that did not help. Got the same error.
below is the piece of output from cpuinfo, will it help if I move to hyperscan 4.0.1
(being optimistic but i feel i will hit the same error there as well)
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : QEMU Virtual CPU version 2.0.0
stepping : 3
microcode : 0x1
cpu MHz : 2199.998
cache size : 4096 KB
physical id : 3
siblings : 1
core id : 0
cpu cores : 1
apicid : 3
initial apicid : 3
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 vnmi
ept
bogomips : 4399.99
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
Thanks & regards,
Vishal V. Kotalwar
From: "Matthew Barr" <matthew.barr(a)intel.com>
To: "hyperscan" <hyperscan(a)lists.01.org>
Sent: Monday, May 9, 2016 1:09:19 PM
Subject: Re: [Hyperscan] Hyperscan 4.1.0 building
Hi Vishal,
My guess is that the virtualisation layer isn’t exposing the cpuid flags for SSSE3, which
means that gcc doesn’t know what features it can use through the use of -march=native. You
can see what processor features are enabled by inspecting the “flags:” line in
/proc/cpuinfo
One fix would be to set the processor configuration in QEMU to match the host CPU.
Alternately you can specify a target for gcc. Gcc 4.8.5 doesn’t have the “sandybridge”
target – they added that later – but you can use the confusingly named “corei7-avx”.
For example, you could run CMake like this:
cmake -DCMAKE_C_FLAGS=’-march=corei7-avx’ -DCMAKE_CXX_FLAGS=’-march=corei7-avx’
-DBUILD_SHARED_LIBS=1 -DBOOST_ROOT=/tmp/boost-1.60 ..
regards,
Matt.
From: Hyperscan [mailto:hyperscan-bounces@lists.01.org] On Behalf Of Vishal Kotalwar V
Sent: Monday, May 09, 2016 5:22 PM
To: hyperscan <hyperscan(a)lists.01.org>
Subject: Re: [Hyperscan] Hyperscan 4.1.0 building
Thanks Justin.
This is Intel Sandy bridge m/c running on QEMU. My VM has 4 cores and 4GB RAM assigned.
Re-attached error log.
Thanks & regards,
Vishal V. Kotalwar
Show replies by date