From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 94E628DB4 for ; Fri, 20 Nov 2015 17:17:05 +0100 (CET) Received: by wmww144 with SMTP id w144so27389671wmw.0 for ; Fri, 20 Nov 2015 08:17:05 -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=q+FZ3EwW16UpKGn1VJkxWhn/ZK0Gbf+REtZaZ+Jiv3s=; b=qhRf8ltPlBNsCB9jE8JtAd37Yc/E8dHF56+Nzv2FvDVX7pkQrsZdr+kiGYaVeKORyy 0ULcuNCjKgLcqbs9o4ShA5kxUb5wrjoujaZNlT3kC8XK+J8aRJKMKrFQ9TVl+Wgdvf8o bvagg36t5tNiMVyQt9tHhxU5y/oE2UEdTzP1jtACRqP6UmO60vs0ZrsOwIx+gZk3fS3V uVJvo4d2HNYnYrvwrQeJ85HC6aPNWAgdRZnXnhBjos+YaF6/GxLJZUPa+pvcnHqtVv8a lvX3VqEK+rpHmPRp2P4pb9bol+l2gvsyDaL0ftx1M6SwKQJ01wPjujqpLRGeTF0kMbq4 fQmw== 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=q+FZ3EwW16UpKGn1VJkxWhn/ZK0Gbf+REtZaZ+Jiv3s=; b=V8Bck0q1FP4/+QJFGu1uGHlhzEPp6qmISf1ruKXmVwtUGC/83XqwK7yJCPfVgHJlEV d5q4ihvu1mmCwgJaiDgdihqc/jRGCCMJHNrCmNfNvpS09/Lq2UMxuiZlAvITyTAJvK2u RjWZFIWdaGr4BJSdscLiWZNxnt8ApABraA3yPkhuJfWmP8wlqu3QC5flCbYp0fQ0nMDk 1cjhJg95EsJm6UvDYHxVOSntwO/YWxo9A77CZxYWzZIQtvBYqQGceViR+EGk6zDBTImc U65h5+MzWYLDtPoGuVGqcP5lnGKkbAEqIqZcOv5AVktAHPHsbXbZoKc1rKO1L6xRksMt d6TA== X-Gm-Message-State: ALoCoQmUWL6DPWNYu2RcSa1/7n4u3FGH60fBLgiyKvYOyKzepJfcGL7IZdKAkeyxpjkatK745g01 X-Received: by 10.28.127.141 with SMTP id a135mr753195wmd.69.1448036225416; Fri, 20 Nov 2015 08:17:05 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id a186sm187137wmh.4.2015.11.20.08.17.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Nov 2015 08:17:04 -0800 (PST) From: Thomas Monjalon To: Konstantin Ananyev Date: Fri, 20 Nov 2015 17:15:51 +0100 Message-ID: <4197524.MhqdmjAr8F@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <564F436A.9010202@intel.com> References: <1448033930-22524-1-git-send-email-konstantin.ananyev@intel.com> <564F436A.9010202@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 v2] ACL: fix build for native-icc target on haswell fails 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, 20 Nov 2015 16:17:05 -0000 2015-11-20 15:59, Declan Doherty: > On 20/11/15 15:38, Konstantin Ananyev wrote: > > On HSW box with icc 16.0.0 build for x86_64-native-linuxapp-icc fails with: > > icc: command line warning #10120: overriding '-march=native' with '-msse4.1' > > ... > > dpdk.org/x86_64-native-linuxapp-icc/include/rte_memcpy.h(96): error: identifier "__m256i" is undefined > > > > The reason is that icc treats "-march=native ... -msse4.1" > > in a different way, then gcc and clang. > > For icc it means override all flags enabled with > > '-march=native' with '-msse4.1'. > > Even when '-march=native' is a superset for '-msse4.1'. > > To overcome the problem add a check is SSE4.1 compilation flag already enabled. > > If yes, then no need to add '-msse4.1' > > Similar change for avx2 compilation option. > > > > Fixes: 074f54ad03ee ("acl: fix build and runtime for default target") > > > > Reported-by: Declan Doherty > > Reported-by: Sergio Gonzalez Monroy > > Signed-off-by: Konstantin Ananyev > > Acked-by: Declan Doherty Applied, thanks