From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 0E70EB347 for ; Fri, 5 Sep 2014 18:41:04 +0200 (CEST) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1XPwdm-0000wT-Gx; Fri, 05 Sep 2014 12:45:44 -0400 Date: Fri, 5 Sep 2014 12:45:37 -0400 From: Neil Horman To: Raj Ravi Message-ID: <20140905164537.GA3963@hmsreliant.think-freely.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] SSSE3 instruction set not enabled ERROR - use msse4.2 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 16:41:04 -0000 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 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 : > >> > >> 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 > > > > >