DPDK patches and discussions
 help / color / mirror / Atom feed
From: Neil Horman <nhorman@tuxdriver.com>
To: Raj Ravi <mekaviraj@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] SSSE3 instruction set not enabled ERROR - use msse4.2
Date: Fri, 5 Sep 2014 12:45:37 -0400	[thread overview]
Message-ID: <20140905164537.GA3963@hmsreliant.think-freely.org> (raw)
In-Reply-To: <CAL0OjmEDfq+7OT3e+qR9E9LjH5aTpi9gXxSJhCW1eVmdqtP_EQ@mail.gmail.com>

On Fri, Sep 05, 2014 at 08:32:56PM +0530, Raj Ravi wrote:
> ====================================
> cpuinfo:
> cat /proc/cpuinfo
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 16
> model : 4
> model name : AMD Phenom(tm) II X4 955 Processor
> stepping : 3
> microcode : 0x10000c8
> cpu MHz : 800.000
> cache size : 512 KB
> physical id : 0
> siblings : 4
> core id : 0
> cpu cores : 4
> apicid : 0
> initial apicid : 0
> fpu : yes
> fpu_exception : yes
> cpuid level : 5
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
> pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit
> wdt hw_pstate npt lbrv svm_lock nrip_save
> bogomips : 6399.94
> TLB size : 1024 4K pages
> clflush size : 64
> cache_alignment : 64
> address sizes : 48 bits physical, 48 bits virtual
> power management: ts ttp tm stc 100mhzsteps hwpstate
> ===================================
> 
> Fedora 20  - 3.15.10 default Fedora kernel  used.
> 
> ===================================
> 
> I have built dpdk-1.7.0 and faced this error.
> I have tried building dpdk-1.7.1 , but faced the same error.
> 
> 
> Only after adding msse4.2, this errors goes away.
> 

As Thomas said, it won't happen with 1.7.1, but the real question is, what do
you want to run this on. enabling sse4.2 in the compiler makes the error go
away, but it will cause run time failure if you try to run the built binary on a
system that doesn't support sse4.2.

Neil

> 
> Thanks
> 
> 
> 
> On Fri, Sep 5, 2014 at 7:10 PM, Masaru Oki <m-oki@stratosphere.co.jp> wrote:
> > Hi,
> > What is your build environment (processor)?
> > I got same error with AMD Phoenom II, doesn't have SSSE3 instruction.
> >
> >
> > 2014-09-05 22:23 GMT+09:00 Raj Ravi <mekaviraj@gmail.com>:
> >>
> >> Hi,
> >> I was facing this error:
> >> "SSSE3 instruction set not enabled" while building dpdk.
> >>
> >> Using the following commands:
> >> make config  T=x86_64-native-linuxapp-gcc
> >> make install  T=x86_64-native-linuxapp-gcc
> >>
> >> So, again I tried like this :
> >> make config    T=x86_64-native-linuxapp-gcc   EXTRA_CFLAGS="-msse4.2"
> >> make install    T=x86_64-native-linuxapp-gcc   EXTRA_CFLAGS="-msse4.2"
> >>
> >> Now, the build goes through.
> >> Is This method correct  to follow ?
> >>
> >> Thanks
> >
> >
> 

      reply	other threads:[~2014-09-05 16:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-05 13:23 Raj Ravi
2014-09-05 13:38 ` Thomas Monjalon
2014-09-05 13:40 ` Masaru Oki
2014-09-05 15:02   ` Raj Ravi
2014-09-05 16:45     ` Neil Horman [this message]

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=20140905164537.GA3963@hmsreliant.think-freely.org \
    --to=nhorman@tuxdriver.com \
    --cc=dev@dpdk.org \
    --cc=mekaviraj@gmail.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).