From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 1/3] net/thunderx: disable pmd for gcc < 4.7 Date: Thu, 6 Apr 2017 14:05:23 +0100 Message-ID: <0bf3e97e-0c86-c479-989d-1406fceac06d@intel.com> References: <20170406121428.16883-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Jerin Jacob , Bruce Richardson , Harry van Haaren , Thomas Monjalon Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 843851E20 for ; Thu, 6 Apr 2017 15:05:26 +0200 (CEST) In-Reply-To: <20170406121428.16883-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 4/6/2017 1:14 PM, Ferruh Yigit wrote: > PMD uses some compiler builtins and new compiler options. Tested with > gcc 4.5.1 and following were not supported: > > option: > -Ofast > > macros: > _Static_assert > > __ORDER_LITTLE_ENDIAN__ > __ORDER_BIG_ENDIAN__ > __BYTE_ORDER__ > > __atomic_fetch_add > __ATOMIC_ACQUIRE > __atomic_load_n > __ATOMIC_RELAXED > __atomic_store_n > __ATOMIC_RELEASE > > It is not easy to fix all in PMD, disabling PMD for gcc version < 4.7 > > Signed-off-by: Ferruh Yigit Need to update patch to cover icc 14.0, will send a v2 soon.