From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0073.outbound.protection.outlook.com [104.47.33.73]) by dpdk.org (Postfix) with ESMTP id 95AFB2C6D for ; Sun, 4 Dec 2016 03:34:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bn4NArKUIwaFeA0ATM+xLvpjqygJsWOcldmO0KfFXF0=; b=jYOBF1uemO6+IZPvuL7qM0Sp+X7IzAuDOgs755Q0RgZB11u863d3fZjbI0pwcZdHWCHhqArYkqQOJLnBwu1cU4bGQEmeHZIqylqxiGm6itqc2labjKieRWb2MxiMW3RnU5tridSNE8nmtidqBdoMWBv1sBXeVaEq7BBAnUkt1ic= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Zbigniew.Bodek@cavium.com; Received: from localhost.localdomain (31.172.191.173) by CO2PR07MB554.namprd07.prod.outlook.com (10.141.199.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Sun, 4 Dec 2016 02:34:26 +0000 From: To: , CC: , Zbigniew Bodek Date: Sun, 4 Dec 2016 03:33:37 -0800 Message-ID: <1480851219-45071-2-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1480851219-45071-1-git-send-email-zbigniew.bodek@caviumnetworks.com> References: <1480851219-45071-1-git-send-email-zbigniew.bodek@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: HE1PR03CA0013.eurprd03.prod.outlook.com (10.163.170.151) To CO2PR07MB554.namprd07.prod.outlook.com (10.141.199.150) X-MS-Office365-Filtering-Correlation-Id: c7854eff-0979-4e4e-b16e-08d41bee1164 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CO2PR07MB554; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB554; 3:Ka+93HFWaYYNdWE9GR3NV4mOy1z1eqGtoZsWM/ysFnx9Efk+iyYd9DhbXrKgxFhUes1E+UMOS/o9tAdOFDGJY33Hfq3QbFjcXtOb07JsBb9pBhGMbtxGpTaQdR1lpgUeotpVpF4Zis0+Px4OkkBXbzDMFOgRQcZs+N2AKqI8YLf0Kzo1lgPjoLZ84s3B/SKJw8yrCvJCMm5IWtMdiAvc2ohfa3JtSZcxCnJbTve++svdYKNujkaaaxaV4rZJigR2QrzhyORadRlV/82bio5l6A==; 25:fR+Ffin8epypQE3U76HthUqCYlsW6LbYyU/UEWbDeUUXaqhx6ARjOLBn+PIEKsYaxx/lKLDdbkXWB/BjpDv9Ptgt2SzfU1O8RyjiAYS1IZea5f0lKgc3KgL3Me6ycYBNu17JGuuBeC+H6PALJMj7J/nQMOPuf6FZm9ufLxW2E5JwVnU4JQwE1armWF3nEaWIHxSpQzUWaE/iQDyV312JlQdzkryAslBe3xki5JVF39fK5blK8wKJdQ2ltwpVUVMtVa0HoNQnwwpgzKoZ+ObqfIWOuK4VcvgDh8iHD/IGCkjtMP2wUR9wVAfx351AAHNPPm/8IYGDhPiiekgwUUDnGkLa8OPJ+P4gpCqFYE7xwucuTFupnDsJDMHuWrkc9faXKw8ezfe+vMPV3B4aqe9ZuoLNvulOPZIIUqoq2+UnY0BVk2deeX9cYriP3JO2pLk7QumC1H2sIhqLYL4AztUQnQ== X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB554; 31:OV1JOLXgJAjBvTKLf3ceQYC+9ZxVg0fesNls6+/5G2XRa4gcaH01ctVnKgrTKNerecun+qYbxqfBcoUTR2wdENgTa4YBi6bGdWiochFoEA+d+ombr4EMDieiijSZXlaZWhE6twjAtMTA2YQUfSmnZ8L+Muu086Ft+fUVCWofASBWqt5uuC7b1j+AFpa6dX96hk9kefJYIIeJR8dyEG0ot+NZSZE5dxXst6YY0JeRCQlNpyHOFzBQokWYcbC4oHH9; 20:P+P9J7RD7v+lRunIO+6f4DJBUNAnhGwCz4axzZ6peJlAGm6cOG9TD3kFGYN0FCZWyS60QMyWxbVtOlpVw+DL+tPbwWgQw4DPeA+tz2V1fgOLEhVBuIsMZmK3ANUk/YH+SSQcvkoF2LIxALQgT4Od2xpiW7g5SdrYdEOSJqHylhWyiYUDchND+QA8TrMAjKfpwkTsAvothh2xihevhBLGTLNOfQMyuz9tPI1l0m5dhVzPcealZPJLtvB3JE28AIyRsMTDudUUMc7/OFV+v8cd5ZgIRn4fRRa184hKLcwA7XOOap9CVKMY9PRktdwi0nW2JxfWXJitMdGuQbGZkBy2g1lkIAOPZ5KSxv0UdHxBGSN8M9GiJ7So41GZtqCQhpW9xqExDCT/xy6xj3BPHKXCZpNZr/TJyKVO2V5qsKC/ya56/M3T6TSQX6R2tyyepAIAdyg1W7dEsr/KdWOWhW0Ermm/QAfBBRYBrb3edQ19G082vmG87dJtAqTUELCfdq+7ew2EivIkN3XosrVSl0jr8ChXhF77f7PCQjCKnHZ4ROJGzus9n8YTaWqW5ZSJ6t7vjm5w+ugPGnlAiwkekve9+MfNuv6X0A6TQYKjlDBapGo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6042181)(6072148); SRVR:CO2PR07MB554; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB554; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB554; 4:+PL8lvJre5EcsGh6GMSGNL2ByBx0sRe64DKZB3vf4R4cjF/IvDAMtx1N8lw92WrQH+XD12C1AJqwUBWjk5ji3bevwRCP5ZQ0LX89uZlliZYPseiemed1RjL739+rBqphJBIxSkKdmi1siey5etu9rSuOI4roY8VROkNmxJFS9JVG3tqki0H3zn+oLyYtt2L2Q9D5eyyMRgflW+/3DKgFf4HkZgebv7TGopvj9VIjlYnOOnRxOTTCRV5cdBX5+0osQ0tqq2y/tR2YSfU48b8dtGF96RJ8f/uMOr+tzaWL8Cgh4MmwiEeMy8P/7gj2crgJvfRELDrGrhO6Y+jjb+7q1RE8HIo/KHqlDqgHLdxpC+1vhDpn/7rNeCVtx2ClNDmjgCD9m4DmVHg+CN/Brnf3dj+3TJ1nRBz7hBsQ+jYD74P0tQa49DVQuGAl+Bwz4TkZfVsw97qh8IrdyDBlOSX//8vNu59B6JRA+gInu8jdsqAQKY+e88uCuPN0czCsGpEeIUHySOdEzUkSJBgM2LBdr5vqKcYkqrY6AnrHGHnO7eVrnBtf3V9Oi7AfhEwvj07+3JyfS9rhEkjRoa7EUI56AXoINL/rwJdZdL5m1ry4njo= X-Forefront-PRVS: 014617085B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(189002)(199003)(4326007)(36756003)(50226002)(86152002)(81156014)(81166006)(8676002)(2906002)(6486002)(733004)(6636002)(6666003)(305945005)(33646002)(6512006)(2876002)(4001430100002)(7736002)(7846002)(6506006)(107886002)(101416001)(189998001)(5660300001)(97736004)(5001770100001)(68736007)(92566002)(50986999)(50466002)(42186005)(48376002)(2950100002)(38730400001)(105586002)(42882006)(3846002)(6862003)(106356001)(6116002)(76176999)(66066001)(5003940100001)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB554; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB554; 23:H/+gYpiSKtJEBL+r0mO6rHW7tKGRItiHRTPx71ZBUC?= =?us-ascii?Q?D1PlkMXLsCta6iM8lRWD539tC3FnzPv2rPc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XpztCkuVuA2J2xrHpCL4MCBR6Di3vWQgwrZt7lAf/9zcCpAKzww= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB554; 7:yUchTuKGcz3TRFCTqHk4HkVGXVPHQZ2ro11rU+ObtB2x4wmENtqvjzp1ylXJ4htOmFwICsiGdOkddNfRzuwOP94FyeCJTSQ10nz7WEfMr6l5ZsS5WNgLGjqSsY632pXYjpz9fd5Kcchyn8iglVz3vpx48ui6N0Cmy2hFZCi+d8lQREBxlyIzh0kdpkMh36mmyl6BHhSGL+b5xVznqql6gYQvE/tztz+4yYWWQ5Wxc25XkSaR6zlB7b0fGqpo4XSURlGAL8Kf2ePd39ajwMWlo/gjIVP8bmNb/ZE3Tea8Imj9gjK+xKooMNdS7RYF0rlIUewvui8s9SWo+vcesNL5UX9m/HSnnZK0eZ1gTPCua5RpBSRJbcCbrBOa21WQ1+vRL7dElC564LuFdUrAvxvLVsPi8QCU5F0UG0NmNLidHfT56krXWo63pM1QcRRRBugu+OKwPqsZ5CgkQBtY8kE8TA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2016 02:34:26.0812 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB554 Subject: [dpdk-dev] [PATCH 1/3] 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: Sun, 04 Dec 2016 02:34:29 -0000 From: Zbigniew Bodek Avoid using incorrect assembler (nasm) and unsupported flags when building for ARM64. 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 -- 1.9.1