From: "Harouat, Karim (Nokia - FR/Lannion)" <karim.harouat@nokia.com>
To: "Li, Xiaoyun" <xiaoyun.li@intel.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Gcc 6.4 failure compile
Date: Tue, 19 Sep 2017 07:31:24 +0000 [thread overview]
Message-ID: <AM4PR0701MB2003B2C6B54F0FAD3B818D0FF1600@AM4PR0701MB2003.eurprd07.prod.outlook.com> (raw)
In-Reply-To: <B9E724F4CB7543449049E7AE7669D82F45F3D8@SHSMSX101.ccr.corp.intel.com>
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:xiaoyun.li@intel.com]
Sent: Tuesday, September 19, 2017 9:17 AM
To: Harouat, Karim (Nokia - FR/Lannion) <karim.harouat@nokia.com>; users@dpdk.org
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:karim.harouat@nokia.com]
> Sent: Tuesday, September 19, 2017 14:49
> To: Li, Xiaoyun <xiaoyun.li@intel.com>; users@dpdk.org
> 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:xiaoyun.li@intel.com]
> Sent: Tuesday, September 19, 2017 3:00 AM
> To: Harouat, Karim (Nokia - FR/Lannion) <karim.harouat@nokia.com>;
> users@dpdk.org
> 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:users-bounces@dpdk.org] On Behalf Of Harouat,
> > Karim (Nokia - FR/Lannion)
> > Sent: Monday, September 18, 2017 17:38
> > To: users@dpdk.org
> > 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.
next prev parent reply other threads:[~2017-09-19 7:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-18 9:38 Harouat, Karim (Nokia - FR/Lannion)
2017-09-19 1:00 ` Li, Xiaoyun
2017-09-19 6:37 ` Harouat, Karim (Nokia - FR/Lannion)
2017-09-19 6:49 ` Harouat, Karim (Nokia - FR/Lannion)
2017-09-19 7:16 ` Li, Xiaoyun
2017-09-19 7:31 ` Harouat, Karim (Nokia - FR/Lannion) [this message]
2017-09-19 7:56 ` Li, Xiaoyun
2017-09-19 8:03 ` Harouat, Karim (Nokia - FR/Lannion)
2017-09-25 10:42 ` Harouat, Karim (Nokia - FR/Lannion)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM4PR0701MB2003B2C6B54F0FAD3B818D0FF1600@AM4PR0701MB2003.eurprd07.prod.outlook.com \
--to=karim.harouat@nokia.com \
--cc=users@dpdk.org \
--cc=xiaoyun.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).