Aw you got it sse4_1 sse4_2 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm tpr_shadow vnmi flexpriority ept fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
It is not for the machine on which I'm working the binary, how can I make the gcc to ignore the host cpu flags ? Best Regards, Cordialement Karim HAROUAT Platform (UPHWAPI) software developer Mobile Networks, NOKIA +33256740257 -----Original Message----- From: Li, Xiaoyun [mailto:[email protected]] Sent: Tuesday, September 19, 2017 9:17 AM To: Harouat, Karim (Nokia - FR/Lannion) <[email protected]>; [email protected] Subject: RE: [dpdk-users] Gcc 6.4 failure compile Can you show the results of Flags of your machine? Use "lscpu" or "cat /proc/cpuinfo". Are there sse4_1 and sse4_2? > -----Original Message----- > From: Harouat, Karim (Nokia - FR/Lannion) > [mailto:[email protected]] > Sent: Tuesday, September 19, 2017 14:49 > To: Li, Xiaoyun <[email protected]>; [email protected] > Subject: RE: [dpdk-users] Gcc 6.4 failure compile > > Which configuration flag/var do I have to disable/enable to avoid that please? > > Best Regards > Karim HAROUAT > > -----Original Message----- > From: Li, Xiaoyun [mailto:[email protected]] > Sent: Tuesday, September 19, 2017 3:00 AM > To: Harouat, Karim (Nokia - FR/Lannion) <[email protected]>; > [email protected] > Subject: RE: [dpdk-users] Gcc 6.4 failure compile > > Hi > What machine are you using? And what target are you using? > I met this problem before. > That time, I used cross-compiling for atom, and gcc thinks atom don't > support SSE4, but the instructions in your error are SSE4. So there > are compilation errors. > > > Best Regards > Xiaoyun Li > > > > > -----Original Message----- > > From: users [mailto:[email protected]] On Behalf Of Harouat, > > Karim (Nokia - FR/Lannion) > > Sent: Monday, September 18, 2017 17:38 > > To: [email protected] > > Subject: [dpdk-users] Gcc 6.4 failure compile > > > > Hello > > > > I'm trying to compile DPKD 17.08 (hash 02657b) > > > > I have the following error > > > > > > > > dpdk/build/lib/librte_acl/acl_run_sse.h: In function 'resolve_priority_sse': > > /builds/x86_64-pc-linux-gnu/dpdk/srcdir/lib/gcc/x86_64-pc-linux- > > gnu/6.4.1/include/smmintrin.h:179:1: error: inlining failed in call > > to always_inline '_mm_blendv_epi8': target specific option mismatch > > _mm_blendv_epi8 (__m128i __X, __m128i __Y, __m128i __M) > > ^~~~~~~~~~~~~~~ > > > > Any idea please ? > > > > Karim H.
