From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id BE1799221 for ; Fri, 4 Dec 2015 19:55:07 +0100 (CET) Received: by wmww144 with SMTP id w144so76703334wmw.0 for ; Fri, 04 Dec 2015 10:55:07 -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=EnxnRhcBFBAEIijWNRD7INUo0Pc8kIxbwfQZX0nmdtw=; b=dmzlOj79Ed1q9jSOuMXLZxhvtHFFAPQ+q10thCKTXBZ3r17NaqF1sZaPKs4ezK+Gsz vfHl5hghOqVvrjXsf9dQRgSy6ORYp22U7WFPi13ELEhHSMWuQ3hV08pYs/Y6dLMlx120 /Qne8E+VpzAVXDKehzli4H9Z6oG1hoVjYlzbtJqY9fUteKWEw303jrFW+lrFvgxNADrJ /5TbsVwauSb3oW8XObSQnouUQ3+49EaVjLalXkSr1S99WZGOtXdOdxHwK7CYfcOvxnZi 7pmcFQzYeU770ptKSDX1xVd0pSLBXiycTNs5rwYkVVgH7zPcLunLLsCHQjfsnokmPXAB xbxw== 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=EnxnRhcBFBAEIijWNRD7INUo0Pc8kIxbwfQZX0nmdtw=; b=Z9PI4vBE54R/OYqH6Pc3zkATWwkNjVlwVb07dbTc3E5PCat9iu1gfxLuoplcsC+qPk y/pSU+r/MI4D6VNU3lusyQeo3HmvGYK7xomY+SpHST0mr+/x+4DUjrjSlMs+ns0YSOQj b+q45Ey12QC98MV3+Disdpln/W9k85GL8jdhbTgLIsix3jSZA53BMipqJFcRlab8UAh0 sIGDRxmFHGJGb3+PA8J4kMayt9h2X4GG6flwiXyNTH7bNw84w1V5pJQD8FZsFJnidjC8 +W5ecqK7/Gfx7Ib9JJUocbinZ0+VGekfKNZyG+zTI3yA7LKpx5bQ00btpiGT4bs877ru 0CBg== X-Gm-Message-State: ALoCoQn/H8Zk9kb6S7zIJwPFFaKIyQvulrVJ6SUCusTeWEv/MIF6DsF9Wmsar8CPJ6DyJjO1Bc8j X-Received: by 10.194.185.42 with SMTP id ez10mr22000374wjc.82.1449255307596; Fri, 04 Dec 2015 10:55:07 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id jm4sm13226559wjb.7.2015.12.04.10.55.06 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 10:55:06 -0800 (PST) From: Thomas Monjalon To: Simon =?ISO-8859-1?Q?K=E5gstr=F6m?= Date: Fri, 04 Dec 2015 19:53:57 +0100 Message-ID: <4623746.AUJoGgWqRB@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <566167CC.3040303@6wind.com> References: <20151124085001.58817bf0@miho> <56614AE8.2010200@netinsight.net> <566167CC.3040303@6wind.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] mk: pass EXTRA_CFLAGS to AUTO_CPUFLAGS to enable local modifications 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, 04 Dec 2015 18:55:07 -0000 > >> We have encountered a CPU where the AES-NI instruction set is disabled > >> due to export restrictions. Since the build machine and target machine > >> is different, using -native configs doesn't work, and on this CPU, the > >> application refuses to run due to the AES CPU flags being amiss. > >> > >> The patch passes EXTRA_CFLAGS to the figure-out-cpu-flags helper, > >> which allows us to add -mno-aes to the compile flags and resolve this > >> problem. > >> > >> Signed-off-by: Simon Kagstrom > > Acked-by: Olivier Matz Applied, thanks