From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0065.outbound.protection.outlook.com [104.47.38.65]) by dpdk.org (Postfix) with ESMTP id 083022C71 for ; Wed, 4 Jan 2017 18:33:45 +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=vXd6OD3apvJhKDpz+69s/5LtB7naDTpSTqeNqHj/JfE=; b=lAJLwiDd39kBOC0BnKfkN7HVUpBov2yC63401pNeg49YUMY3MAv3ISvVEXUHxdQAKM1rHtphKR2mOx8VEddT95uEEPqKBCwKuNcSJCyPbTjW5aQHZycIbbBUuJK7zh5evJmaahca6MzYu70umnNikyZDwFVhmxwo36pB6T3KXo0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Zbigniew.Bodek@cavium.com; Received: from localhost.localdomain (31.172.191.173) by DM2PR07MB559.namprd07.prod.outlook.com (10.141.158.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Wed, 4 Jan 2017 17:33:44 +0000 From: To: CC: , , , Zbigniew Bodek Date: Wed, 4 Jan 2017 18:33:20 +0100 Message-ID: <1483551207-18236-2-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1483551207-18236-1-git-send-email-zbigniew.bodek@caviumnetworks.com> References: <1481077985-4224-2-git-send-email-zbigniew.bodek@caviumnetworks.com> <1483551207-18236-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: AM4PR0501CA0020.eurprd05.prod.outlook.com (10.167.83.158) To DM2PR07MB559.namprd07.prod.outlook.com (10.141.158.24) X-MS-Office365-Filtering-Correlation-Id: 52113b8a-1f45-4273-0f78-08d434c7d590 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM2PR07MB559; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 3:yFXm2Zp3rtbYv62ehmrfQYjvnTtugO5QXZNT1DkqEjuUOQXeASQsAVoXcokW9jkMehRHwHKZooshSUWRpxpH6Ylv509bwUNl3wwqwHRq4NOsUOYZX9ok0bMiH2c9rk+HcVN23ZtPVsz/mXQbAHM6Q03zxBO89vC/pCcHK+utqT9DyfMqE+fG0Nl8knyBBgeaNuf2Xyak2NhzrxUwIN1w3Abge8COzdS5I0Tfy7e6ctorczip2cxw58upx/n1429/klz+uLTrSrCZ3aSyHXZopQ== X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 25:Q5dg3k8BCHgPHprcYum+d61IDVMugCAOK3JfZSxvboQKZZYf0unSOv77UTylD0rH00lyFbvu+pq8TJecDk+mUxv8FMIjp0O2DdcE2xc2triwm7nEgiLGImqREcqwYrW4wCP+cd1WaYrPOmUk6ZsaoY1hj6BK27/IyhaufAlO0KE7yejeVwhqaUtXEg7ts+PkZXPeF0RSR8v7cSnShs5I/HGBVAQgptkfHx9mYXrDRLWPCzVqAp6/D3C/ZfV1IoYaAHHRrRGalt5SRoHw0L2gm1OYKSaAoGCze4+56CSPD1HtcoXB5PSYJOjOVv5akFAa6TIm0aUKjA9Xd3fHlRVmAgmYiLmqkJzVqjYn5anUzoj+YukErEkohJPACNgkEjV7rO+woVKQ9tWDWcLepnrPFqwhjdRxm8iXbqvcjHkHZWvnTi+RdAXTU5/Qhpmr8KjcWK+u19u3OoaeYJH/uPGqRRFKybxuz7WjsEJBzDLiNzPfg7K4zBiTSEQ4IZHzHEm4avg+fuEO0qkiQJ0pDr2UbBx1L7s7h9E1UjWlIQz26FJ4A2W4gIPVzBf/LMHTBKOmdlUBCei77whdZhd5TfSh5W7rt2sqCB334KHHWhuMAabVh7/ht9UbuuK5HVf4Q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= 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)(3002001)(10201501046)(6041248)(20161123564025)(20161123562025)(20161123560025)(20161123555025)(6072148); SRVR:DM2PR07MB559; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB559; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 4:XtsUViw6kQTAjxjKK4MIriurNsrZTRvYF13ykMiZww0evXbDzqWsl0AiSYqSatbNt6weJu5mX1RjCX6toYMV7V/Py8uH/SLGRaNabf5wzFeU9GQO0utwA2jYhLt8GDyIS9Y3DqSMcNfqRazp+N/bxSnYKZ13Lpm4+qDFIicW9GuRz7LjEs6kfZcguNCqmbObvTNVxcZPUBGsma8lxfbFk3RCbT0vp799j0ug2enHwQM24QRpR3zfVdhnDlCydy3WLbkQzARsM/DKJ/1fi2d5rWLk+JJMkvXrG4OmADoXXTn/ueSxazBlp1DogC+oMVBBlFnloTnf687C0+2ENi0zgOg509Ku3A5I5g55mrFLpQUmjPe3vPs6HN4pEbarQD/lK60seKqjIynxxjaVdqeknrfBGAbU5EHu+OClNQK8NUDvrEFXWWDQT0k/g6TCBICDka/k67uTt97Lh9bRCDSnmYgWhs46UqqwV2F6NtVkttXhKfHnfOmKqXle6j7mrLj/iMzOzBXapMNsEfQRwx94tyMKp1jIycH6TtqZuJPbkHm6GgYzTTuCZyWipH4PS41ZeuqqPaksLnC4jnC4uCmkJQ== X-Forefront-PRVS: 0177904E6B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(189002)(199003)(105586002)(7736002)(92566002)(101416001)(68736007)(5660300001)(38730400001)(47776003)(66066001)(81156014)(50466002)(33646002)(110136003)(189998001)(6916009)(81166006)(42882006)(4001430100002)(8676002)(42186005)(97736004)(107886002)(25786008)(5003940100001)(2906002)(50986999)(6512006)(76176999)(6506006)(6116002)(54906002)(2950100002)(4326007)(86152003)(6666003)(305945005)(36756003)(2876002)(6486002)(106356001)(48376002)(3846002)(2351001)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB559; 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; DM2PR07MB559; 23:mvOULtsY7MxLTkmW4goVnhdsotS88ETirLjRr8PX2v?= =?us-ascii?Q?Re7T/BXeOXZQETvAhkL/rRa3M20T//Hi5+IN8AvmNAot4Cjq21KTbkO4y0vr?= =?us-ascii?Q?f/OpsDdo9614E4LmJ/6Fj8b6JS+LEESrTVaXBrLeXsGe4J5WdSRr2YVBNNL/?= =?us-ascii?Q?p62TlvLZ69UifLPy/rx3U6ah4UsAejP5Rp0mikJ9nSeGu3bwAiK9QFJkJMsi?= =?us-ascii?Q?LjD1dGMi4iSsepJ0KkJrRiWDdqr0o5gJamgNRNdg1ezRqG0LvSYfcGx0tTQK?= =?us-ascii?Q?2NTb4y9QWWEeRyy0Xmj4GMz08cOCNZqWOqsQoh9Y9EBKVPSvh3l5zG0OQAvT?= =?us-ascii?Q?0BtL8KzDNjw8BlKF0f1mLH8yu2K7aHYzPZd7ZXOzw8AqkSIXkhJgI7tkrpGM?= =?us-ascii?Q?Ifyxl3vsaj4qgaqN8meo/ZxGqnxp+b08HleIwVsJRQoTiG6FwGLK922Mz5jV?= =?us-ascii?Q?2MLsfTL1KebaGAjjozRsA9Mesy9pLZFjk8C10fcIQYW+yFLy+OIYyegcewbv?= =?us-ascii?Q?a/Ea97Fig5+nwRSe+3m/81MypMVhm2fGgrYdaEAFIDJujs6IJ5vmggTV0mcb?= =?us-ascii?Q?6a+R+GFQRnmOWAkISgyHWV7IIKGJjl9+UejcA6W0ecVC/YUKercuWj/xW6n6?= =?us-ascii?Q?UmaZ5oxd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yEyjyVkvp/whMNqV4KZBFpnHSfkrGnXz8VnKpmWG04YJY89nkowKDBZryrh8X0eEjVVCaGWQ+7ZxceYyoY0Fx+oG2DqCmFjGXG1C07G8orM38lICvUROWrF40Lmxo09qf+gHFdU=; 5:/kJVUQDIqOoVLCCj2Dc/tmKDwX32RNbfW/ZN4Gsot+d30Rct+BbVReWCnryPUYdAY9T1n1DzH4nRNVI8O35VOksS9xaL1yAsiIkoXG0gGmqRWCJGaOA//f6lQq+8Nu+fhL1r3+fwz9TiydnLokqNug==; 24:QTEevMzEPkofsqxvAuSgVLoINjt3Brx8MoMWP7RCjkEjeHukHXA2hVAFKnMx7R46XFyVeCyZZHnmKwWtaRQbC4Q3SiQHxIcCht4Kd14xgs0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 7:ShhwVVLIK4j9SU2N2eOpKcsuc4Np5s2xwhFZEld4zlpouQgv4pYhG9RQ9TZDVrKtyQ69F2ictlULzD6KPTpZ3gUsulJJKFpRRwYwD1tST1TaRBlz67iVbtJVv6/z0HjDnZLV3kDog94VVJ6JqPEuRbZHU9MD87OMa8D5wb2+Gv5OQPWagoSYtFiqrqa6eYrBI4tE01sQ4Hqnu8mhRwTOuT5LL0nA51a+5nIY15xChPlnrbbgrM2u/BLV4zRFchBq+0LcA5wGTJK3wfj4G7GSqRxUXYxjeqMJQF2/OF8pl4bne0rvQyh4xA5t4yPwmyKpM95pcEjnUviz7rLhmFSlzCBfD7p4xIvzj4JkIUwffKhPe9vuuNawYgAJCksDS2njdx2d2jb82ciIsexeV7rD8vRlki+Q+JRsOZqlYbgEuzcXwfEU525vNdOVVGvMTMrEs7BErbMBkap0+/jpKpeX4w== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2017 17:33:44.2188 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB559 Subject: [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: Wed, 04 Jan 2017 17:33:46 -0000 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 -- 1.9.1