From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-eopbgr730040.outbound.protection.outlook.com [40.107.73.40]) by dpdk.org (Postfix) with ESMTP id 3E58E69FC for ; Fri, 13 Jan 2017 09:13:20 +0100 (CET) Received: from DM5PR03CA0024.namprd03.prod.outlook.com (10.175.104.34) by DM2PR0301MB0752.namprd03.prod.outlook.com (10.160.97.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Fri, 13 Jan 2017 08:13:19 +0000 Received: from BN1AFFO11FD011.protection.gbl (2a01:111:f400:7c10::199) by DM5PR03CA0024.outlook.office365.com (2603:10b6:3:118::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12 via Frontend Transport; Fri, 13 Jan 2017 08:13:18 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; caviumnetworks.com; dkim=none (message not signed) header.d=none;caviumnetworks.com; dmarc=fail action=none header.from=nxp.com;caviumnetworks.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD011.mail.protection.outlook.com (10.58.52.71) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Fri, 13 Jan 2017 08:13:17 +0000 Received: from [127.0.0.1] ([10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v0D8DCK2006347; Fri, 13 Jan 2017 01:13:15 -0700 To: , References: <1481077985-4224-2-git-send-email-zbigniew.bodek@caviumnetworks.com> <1483551207-18236-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <1483551207-18236-2-git-send-email-zbigniew.bodek@caviumnetworks.com> CC: , , From: Hemant Agrawal Message-ID: <2dc96213-4a22-94e1-e1ed-3470f8da5fa2@nxp.com> Date: Fri, 13 Jan 2017 13:43:11 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <1483551207-18236-2-git-send-email-zbigniew.bodek@caviumnetworks.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131287687981448323; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7916002)(39840400002)(39860400002)(39400400002)(39450400003)(39410400002)(39850400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(24454002)(199003)(189002)(377454003)(33646002)(8676002)(105606002)(77096006)(106466001)(229853002)(68736007)(189998001)(230700001)(356003)(50466002)(92566002)(6666003)(76176999)(54356999)(50986999)(4001350100001)(54906002)(305945005)(97736004)(83506001)(38730400001)(2906002)(85426001)(5001770100001)(2950100002)(81156014)(81166006)(31686004)(4326007)(5660300001)(64126003)(8936002)(23746002)(120886001)(31696002)(7126002)(7246003)(47776003)(65826007)(36756003)(626004)(86362001)(65806001)(65956001)(104016004); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0752; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD011; 1:Sa99WE6r5oSTygc024ovc26W3aTea4ifgCivBpn65eh+gRN7x5VP1uuRqH5c3HTK7vPfandikFx8eddmoX25drP/8cF4SXqUy5ft/95L5qoUlvJJi8YVkmrhUlza2D8a+jBQAVz6iDuT3L4+C8KgJHMub2LHx+WVPQ5Qp5fSclh8317lCPBgqsbfmWK8vWFYVRLj+xZsW9aefW2NFfmqmtf2bXErxE2WeP7iQ6VOABR7rI3bKXsFD2rgWRrE7nhvtj4CVw1JQND5yiQR3PUBD+OGk1CFcX4l2t6/pB9vVHeC+8gHf3tquijPxQRYte7VjLpbiz77E9drgFxgtBZgo9N2Ace6R9xCqVG2TSxncQtbodlB7Hm9EwPwCo8SAWjt6lPow/llelXNYN8Zv1R0T32ArPGyeEV38cINBA0SZG35H9ngQnroz3Vk3peLg8P+WhVo1iLN7F67I9ORUbgvs5ShxlimDmnsF2/DRQZTlSC3BW0xsCAQSeonboyaAOpaDxzBgXE2Blyd4Q55APKE3yLoQ97j2SsmP1O/INgaoB/KJzC2Lnk/IXunUtLCCYo7esl9HMpVJPUn5i82sjnk23LpUpGrldSKg0GhoClMImI= X-MS-Office365-Filtering-Correlation-Id: 9a9c6745-9b2b-48b6-3c83-08d43b8c07fb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM2PR0301MB0752; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0752; 3:v8qavQ52gDleXTyg77BQs/JtzCnovys1KcDZQoHzzvWgr6mOOdP+OUPWJSVJd9xv0lMmSHoCkzOjGHVZu5HLHvY1O56vi8B+8iKOvLF/G7hvKRN9/R/Ar5uRn9ih84+3m2M0+SOMZVncfj4sjktGvHeRf4qJIstsF4uG6+CxOzwpbV32AOEGLJ2I84F1vl0H4UejII6xKT2GNzbZJ5dT+Iy+7/HAp3Mqv0OfeUBGc+gjIhU6CWcLO9lxZ+m/goi7HDFiepxiKqs6Lq6lFuzZd2sR8/HQBzVCnB2AgxGnbgkbqUlK91rCyKpn6dcVle99pA6G/Es/iWpJKJeieSsF8hE3jJphuDJU8kgfPMctMcHW/L2WqqJA7yR8UUyw73aE X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0752; 25:+vIM5mwJvwkmvyoyI/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H4/Qcu6pQu9TZGZNkoOsQpdLwuNmGyThU0F0w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13023025)(13017025)(13015025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123563025)(20161123565025); SRVR:DM2PR0301MB0752; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB0752; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0752; 4:e8sT4We0r0UYL9XwdqfUHo9usDgWCGOpkYMKiHec6l2q6QFGIB4xKBgzgfjkowbLZ9jc5uVKCQQjfHQsFmau21OKZu0YgjPhprsEC29rqHFWMIwBDlLNLljD+o0QsMlLjE4QB5254YwYFFDmwzzVS+qUCwBkxT3jt624PFJ0MDSayEAuIBk7VhcmwQPeyFuOuFgfs7ha9SrmUVwvoi2ykw6uZrUCfhOE+egPgFLLTdVMArDd54xsOlHgNTkC6VE8Bnw4SMWVYiG4XYhWbwEE9bY944useyja5uHNcK7RCMnayVvzkY9V8f6Jz2PKty6lXtAWUkovM3W6VXn9eJDAI4q/14Ffx7ZUfdGA1Zsi9MMOjFd8q6TxkL6Px3XstWicN78Mjf1AzuXhJf3EFeWuzc+exYnQjj7fVoLNowQid66QeOfByrALsjuVuN3aX7XJjHP5Q+8lr4NGMxONmfS0T2puieMP0m5J3WxlhtWASJICKXPtvHkwJ/LQjm0YjnjBfcJbsrbWqdTvSDAqPSCBnLlLlZJd6gwI08JEgHHho0AY0PZzMjXNxLaIGkxVUzvxUQroLbbzbdIqUQAf4W41THmQFSERJHZ/eLdyEvQ1CFtrCMVv4sZ5pw4RvM9VG7lMsFWJd8zwRP9aPet8A2mPFm0Sm3tATPzNVw5T1k6aKRcxyh3YyxkEc3T42JTJvovZF3hLpMeiWgci+/SYTG2tp0To5vPDcL+5FZ540xAEXtP37u4Lz3wlZFvTjCYi7nBe X-Forefront-PRVS: 018632C080 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; DM2PR0301MB0752; 23:YMlqKhwz4iQ/Lr1A35IDZRUlQmT+u2x2e8D?= =?Windows-1252?Q?bQjDoDJECWda1TBokpTJKvny5USyKRHmDFyyBZeu1AYYrlg94I+heXQs?= =?Windows-1252?Q?MhaOMZHuK18L885QaMYkhLJ9XU5Moy7aaoa+HnJiYskUSXBU17kVlUeQ?= =?Windows-1252?Q?CtlKeLSVcPFIwANWjgJ91wjfLaw1JAhJuF/9ghSrhCvneJ2WGkEd7Vd8?= =?Windows-1252?Q?D/Y3fUEY4qHWTHF5tH68m9o1+uz9IMjWbUmhX0GrhO1e2bNlHGQr3noG?= =?Windows-1252?Q?yKyzUXYlRkKxgqQidU1Eqd+d0vzpDUTixTTAq7M9KCaEVxs50uhP4CkC?= =?Windows-1252?Q?0qzq9uMU0Af0jXx/WIuiVAleSI/ai2RxXma1mI/6kBQV4/abtku9dB16?= =?Windows-1252?Q?4o25dSQg3g5Jtj1jGN0HcmYMr22p+0d2omUZ918Gw4qD8XbJ3FxWEIjT?= =?Windows-1252?Q?898OlnGZR8NkNLTTzWgiK4ygOby8Vb1YcvPNhxviXyeL/3ywxzJATm21?= =?Windows-1252?Q?BZI0JI7nhIhgfktWp6N4d7iucHF+rOvWTmULElrt26wH0c2gNB4fOwcu?= =?Windows-1252?Q?HfLUynoSxWAj8phImGYkI1A+LE7luMnG15hKw8lG0gZYZogURJj3PKZu?= =?Windows-1252?Q?qImlSzBaNLg3ITtT1vuNgnpMg/3GsOeVkXkfIUAU/gE/oJEU/taDi0OS?= =?Windows-1252?Q?v6TggbHrQC845T5Gcb+7tvNpEdp1SIQAuJYAUkca+l6VFOjG1FVNUf4x?= =?Windows-1252?Q?CTVt+NFZ4siLEU5lgQVxcicwbIeQvIjYn0mJ+eY3wKxMN6iT6mlUBZlm?= =?Windows-1252?Q?IaAn8qKKLsOAiEyZ98JBMhAM0FAsFFpD2xvZTnE56JzAlECMkxIFiyxQ?= =?Windows-1252?Q?QYn/hjfV9H1dsWX3d1meRbcFGULnFCGbswb6mERzzivgov9uLmKBAF0p?= =?Windows-1252?Q?5rSKAn85VgB7RpeXkgjGPeu3qaBJ98cmub2A5PFCHHghSePDLb2QbPRm?= =?Windows-1252?Q?jI8HHcQ4rJu9DFP9BRE/uU74CHT2xpGhLTA8nnqfIovwm6SFfM2fBEM6?= =?Windows-1252?Q?rSuGfQV820sffYpogjNR1n31XDDotkVtZgEtTNOAtiiZilCJrgrMzsei?= =?Windows-1252?Q?qnh+S/a08Qu6S9T2vQkArvFCCJUj989shzFqLd4eRgNrje7IZ4sKy2Bo?= =?Windows-1252?Q?IEAa+c+mZJlkz40fSF5t7punV/4CbIz28MkqBJJ2/MLfi81ArWg3+DTF?= =?Windows-1252?Q?14Kgtc2pzgkazEBDfgyWul3Newm0h7fGNHEKs3j8wFdVEOECv8Y5N+KW?= =?Windows-1252?Q?TKl7RoED6YZO2nBLGae6hSWaeGldSCv2smsg5uhXnWkY6k5/CJMWidjY?= =?Windows-1252?Q?oC1u8+NGh4RgFZu8/sQ5gObm0WTtNESd83fJMqDaXBfLrhXRgAKD/ADD?= =?Windows-1252?Q?7yC7QGBuwTzsoniP1ZVM8x2qYoz3sbBjoHgzlrSZgw0T2fhnbMrFDeTl?= =?Windows-1252?Q?pqwe7AXVhROgNQq3YEekGgE9a0dKtMOj6yzfBqvdm9eI9yfUmoIogzqH?= =?Windows-1252?Q?pL0l07ZthtuehCk9/CUX1gSt0udo/5EAHOhJx8OmlNq0GrwDG7iWcSDQ?= =?Windows-1252?Q?n38grnwS+KEDiQ33s+/Y240V3Ru+bMcgHTAbYs9yJVBBDQVBHmlNjQf+?= =?Windows-1252?Q?HUptcOqv4pA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0752; 6:4LG8KSM4MQy06QrSSJpiznw+kRTls8u2kBSLzm+XFARO5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W11ocb7JEVXI3xURcj0M3QxLvsZs75zmFUbhmHd1sQSxQP9Qq1sFgrXGt9Zq5Dsv9OSoxEdaXS3w1mkB1YkGOWagvcsE4gy8UFC2eoYaZMzhgfsSTqG3dkt4YW+8sqWcH0QGu1haPX11qBhJEp5ZciFZA7qU9yLjyE026hbAGP6BPIaBA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2017 08:13:17.8952 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0752 Subject: Re: [dpdk-dev] [PATCH v3 1/8] mk: fix build of assembly files for ARM64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 08:13:20 -0000 On 1/4/2017 11:03 PM, zbigniew.bodek@caviumnetworks.com wrote: > From: Zbigniew Bodek > > Avoid using incorrect assembler (nasm) and unsupported flags > when building for ARM64. > > Fixes: af75078fece3 ("first public release") > b3ce00e5fe36 ("mk: introduce ARMv8 architecture") > > Signed-off-by: Zbigniew Bodek > --- > mk/arch/arm64/rte.vars.mk | 1 - > mk/toolchain/gcc/rte.vars.mk | 6 ++++-- > 2 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/mk/arch/arm64/rte.vars.mk b/mk/arch/arm64/rte.vars.mk > index c168426..3b1178a 100644 > --- a/mk/arch/arm64/rte.vars.mk > +++ b/mk/arch/arm64/rte.vars.mk > @@ -53,7 +53,6 @@ CROSS ?= > > CPU_CFLAGS ?= > CPU_LDFLAGS ?= > -CPU_ASFLAGS ?= -felf > > export ARCH CROSS CPU_CFLAGS CPU_LDFLAGS CPU_ASFLAGS > > diff --git a/mk/toolchain/gcc/rte.vars.mk b/mk/toolchain/gcc/rte.vars.mk > index ff70f3d..94f6412 100644 > --- a/mk/toolchain/gcc/rte.vars.mk > +++ b/mk/toolchain/gcc/rte.vars.mk > @@ -41,9 +41,11 @@ > CC = $(CROSS)gcc > KERNELCC = $(CROSS)gcc > CPP = $(CROSS)cpp > -# for now, we don't use as but nasm. > -# AS = $(CROSS)as > +ifeq ($(CONFIG_RTE_ARCH_X86),y) > AS = nasm > +else > +AS = $(CROSS)as > +endif > AR = $(CROSS)ar > LD = $(CROSS)ld > OBJCOPY = $(CROSS)objcopy > you may add: Acked-by: Hemant Agrawal on a side note=> This patch is not related to this patch series anymore.