From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4C68B5A32 for ; Fri, 25 Sep 2015 04:55:26 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 24 Sep 2015 19:55:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,584,1437462000"; d="scan'208";a="812535563" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 24 Sep 2015 19:55:25 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 24 Sep 2015 19:55:24 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 24 Sep 2015 19:55:24 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.75]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.246]) with mapi id 14.03.0248.002; Fri, 25 Sep 2015 10:55:20 +0800 From: "Qiu, Michael" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] librte_eal: Fix wrong header file for old gcc version Thread-Index: AQHQ3k6AnKXbrARwrkidWUM7naV8mA== Date: Fri, 25 Sep 2015 02:55:20 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286198953BD@SHSMSX101.ccr.corp.intel.com> References: <1440408177-29394-1-git-send-email-michael.qiu@intel.com> <18021087.J9VIySgl62@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] librte_eal: Fix wrong header file for old gcc version 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, 25 Sep 2015 02:55:26 -0000 On 2015/9/7 22:46, Thomas Monjalon wrote:=0A= > 2015-08-24 17:22, Michael Qiu:=0A= >> For __SSE3__, the corresponding header file should be pmmintrin.h,=0A= >> tmmintrin.h works for __SSSE3__.=0A= > Please could you better explain the difference and what is exactly the bu= g=0A= > being fixed?=0A= It should solve this issue:=0A= =0A= [dpdk-dev] DPDK 2.1.0 build error: inlining failed in call to always_inline= =0A= =0A= /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/tmmintrin.h:185:1: error: in= lining failed in call to always_inline =91_mm_alignr_epi8=92: t=0A= arget specific option mismatch=0A= _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)=0A= =0A= ^=0A= The AMD cpu flags:=0A= =0A= flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmo= v pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxe=0A= xt fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl non= stop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lah=0A= f_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch = osvw ibs skinit wdt cpb hw_pstate npt lbrv svm_lock nrip_sa=0A= =0A= =0A= "_mm_alignr_epi8" only works for ssse3 or upper,=0A= but this AMD CPU does not support that. This function has been wrongly call= ed, because the wrong header file.=0A= =0A= Thanks,=0A= Michael =0A= =0A= =0A= > Thanks=0A= >=0A= >=0A= =0A=