From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 1/3] net/thunderx: disable PMD for older compilers Date: Thu, 06 Apr 2017 20:40:57 +0200 Message-ID: <2470443.aUyrt0xAOX@xps13> References: <20170406134637.4484-1-ferruh.yigit@intel.com> <20170406170511.22289-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Jerin Jacob , Bruce Richardson , Harry van Haaren , dev@dpdk.org To: Ferruh Yigit Return-path: Received: from mail-wr0-f180.google.com (mail-wr0-f180.google.com [209.85.128.180]) by dpdk.org (Postfix) with ESMTP id 4C5E32B9B for ; Thu, 6 Apr 2017 20:40:59 +0200 (CEST) Received: by mail-wr0-f180.google.com with SMTP id o21so47686371wrb.2 for ; Thu, 06 Apr 2017 11:40:59 -0700 (PDT) In-Reply-To: <20170406170511.22289-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" 2017-04-06 18:05, Ferruh Yigit: > Disable for gcc < 4.7 and icc <= 14.0 > > 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 older compilers. > > Signed-off-by: Ferruh Yigit Series applied, thanks