From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45])
 by dpdk.org (Postfix) with ESMTP id 1800BC330
 for <dev@dpdk.org>; Thu, 28 Jan 2016 09:31:54 +0100 (CET)
Received: by mail-wm0-f45.google.com with SMTP id p63so13531779wmp.1
 for <dev@dpdk.org>; Thu, 28 Jan 2016 00:31:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:organization:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding
 :content-type; bh=AC71NlrBdaBjwRiU0N/uXLOpq440oex7fZfQgTNGIIs=;
 b=MpnikWnAY4rTXySIc8rxX6InwzjWq4A+FXr8mbXLghO/oJTyGiXTmKUeb2DAxSjU6L
 0Ie9geDoy4/28fxnEvIb8ruEjLkp+zz+q0GZS6anE49dOPuP+1aC17Zmu3E5M8qtnPBH
 uY2RshxANRK6W1L7xj9IxzNT9wplZNaZn9Dyq2M+k6bwsm4xNrwbx7rYeh7g9E02qaPO
 QcDo6cHsio9vDDK03fz1N7D6k5neMCHCKehE70iYbuz7wrkhDnVnEGRZZM3zbNVUlObS
 B4nc2EY13SOR2HHz9F82bTtwAouK5/BbUf/s8sSLdyEQ8oKHfUFb9nM/EH5KJEI2KsQN
 70QA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=AC71NlrBdaBjwRiU0N/uXLOpq440oex7fZfQgTNGIIs=;
 b=LY72Cb8T8unDB6L/XRit4ZaoEutu72Gcfuus4bewbzXsGLEC8rue4OTbU7ncv+HgBL
 Hmpnq3haS/5S1D1+NjNaNemNqpX25fj5/Oomknx93XXn2rEm5DP4xrCgelnKF8g4jdc0
 TpWP4uvqUlvcxSVYoztyvzP6NcLaYPVj9H1Lvq3CAbi9VqS36votW94OIvPL7Kg9Ir0m
 A2v57yqYBW/Af+0ZLOUkjc2uds3sbJ+czQlFVl2ka5Y3/flQl+8RRORGIOdJxU1IK/ZP
 MKI6mSTRGxB91AofUS5hr+Tvj91qPUQbvfxnnwltUCZ+XgQceOp8DJbHg16/M2YnvnwF
 TTjg==
X-Gm-Message-State: AG10YORwBwVIpxrjn822N+Zq0xU81rFqSCFEzCD6CIEyrFbCeisr3Ud3LfdlAend26NtC4ov
X-Received: by 10.28.99.69 with SMTP id x66mr1721028wmb.10.1453969913870;
 Thu, 28 Jan 2016 00:31:53 -0800 (PST)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by smtp.gmail.com with ESMTPSA id t199sm1706416wmt.23.2016.01.28.00.31.52
 (version=TLSv1/SSLv3 cipher=OTHER);
 Thu, 28 Jan 2016 00:31:53 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Michael Qiu <michael.qiu@intel.com>
Date: Thu, 28 Jan 2016 09:30:43 +0100
Message-ID: <8781190.9aSToTMefL@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <1453966234-10577-1-git-send-email-michael.qiu@intel.com>
References: <1453966234-10577-1-git-send-email-michael.qiu@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] lib/librte_eal: Fix compile issue with gcc
	5.3.1
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Jan 2016 08:31:54 -0000

2016-01-28 15:30, Michael Qiu:
> In fedora 22 with GCC version 5.3.1, when compile,
> will result an error:
> 
>     include/rte_memcpy.h:309:7: error: "RTE_MACHINE_CPUFLAG_AVX2"
>                                 is not defined [-Werror=undef]
>     #elif RTE_MACHINE_CPUFLAG_AVX2
> 
> Fixes: 9484092baad3 ("eal/x86: optimize memcpy for AVX512 platforms")

Thanks for the quick fix.

Note about the title formatting:
As you see in the "Fixes:" line, the title of the original commit
was starting with "eal/x86". Yours should adopt the same convention.
A lot of patches are sent with "lib/librte_eal" which was never used
in the git history. If not sure when writing the title, please check
the history to keep it consistent.
As usual, I will reword it.
Thanks for your attention