From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0046.outbound.protection.outlook.com [104.47.36.46]) by dpdk.org (Postfix) with ESMTP id 32E741094 for ; Tue, 17 Jan 2017 15:35:57 +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=WRXIUkxULalaiOtqk2d/UkcRmtROd+YGv2qzorgBhmg=; b=P8/HLG7QAUBBL92TAPN4DJ0ewXX/WVr5B6UO42pGuKVIvyWiyPHX4YeeduiVAv7oB1gz2eFEF25AFjrrWZUxqBlBHMFZkmlkP88xk2nDJIdI4Pz1UKiwC1GvuM+yzZUWHvArghzY013Z14snzMeKlF5MMK1j6rPjLlKWtFQFFXA= 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.845.12; Tue, 17 Jan 2017 14:35:54 +0000 From: To: CC: , , Zbigniew Bodek Date: Tue, 17 Jan 2017 15:35:36 +0100 Message-ID: <1484663736-32195-1-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: DB6P191CA0002.EURP191.PROD.OUTLOOK.COM (10.175.236.140) To CO2PR07MB554.namprd07.prod.outlook.com (10.141.199.150) X-MS-Office365-Filtering-Correlation-Id: fd95161a-23fb-472d-0744-08d43ee6255e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CO2PR07MB554; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07M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A4cOuIlLBEZoJ3STGp+8p6Tbns5401dhSxCTn44E7ceaVhErQ== X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB554; 31:kCDSMjlgduzgL77NOF599dgqh9yxdeAfkBhLFqPdPOu2IA4e28JrNqUQc0mG1UxaxqAoGI4cfFwxKyP5I4JiHosPJLHv9mWtbx6julAJ2tItq8+cFzXGyp7raNyNAhAmtLtiP/rHdiNxP6FxL3rReix2LXCy6v3ME9xPatWazgB2prGxsopAq7YNONG7C6KwQZ7iH8psTmYimtn5MlZwcCD9PAMGixuNFrE4YZthsZ1HsOfbWKboNF+AhPk5sTfAeTmGdpkh6iVyOD47e7YSbw==; 20:YAp9fEO4pjlLrysYDIyO3dRZILO96esuytHPbcZHUdA6oyAgFBWZ4AZ2sDCpbgcgdIabOLYVW1/XSdVe8Jjtf1ThymM9LVbmmN6IKhEDPcsrNN/mDtb67MjNGGaz22Nf1sgwAM1pDBsI8Rk06rJ4fErhN2mmoceIJqCuL4wYzc1nAxhX2u8zC5/tgPVfNL7bqlbjmwXj2TMuvk+tIxW2zue5iqPRXozsvxu/GkcY16QdeI+piNuJ8VkFl1yYjiKjSz6IFA7kTyHtSHOKEXqaFvd5k8QIykUOJpBNSohJM0g8J+yGIOo05ohklrI5se2wiSQ5NNNSgahmRNGVJV/bOUVSh+YMcM4Lp7y71/nlysbT4oJoGCoq5bhAXbxLFLOMSQzSstVf68fYhFRyQrAkcW4IH1BSqHOGn0giGiAYILaf3xGDb+Gwfss6Z7MEKTNHGJZLJOy++zcQ5bEXeyMPJmIjjfOK38F2Vk9QjDJtnbmbwO8fWVqilt9Al9n4jGv3taju12NJQk313Nwnb4lB5Lxbm7bXEbuqHC9zQMEx9GL/it5WCmNoHPcv9ZO8dtClKWxbR/dlfCYggpg3c3sRm6HUYHKLDq/JgJp85AXlNnE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:CO2PR07MB554; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB554; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB554; 4:d6mzdiay19QPBpr1VH8oS/vxDHBWiz81yU74TRQdC/JTzHgRI4fpryr+gZPiHznn7swk/MNFUfGpgaOQce7MGA2xE/DaOFG8D864BaAERCG0mo3Fh/qapVyiN+4kh1IVwdWA9A9c+n+9RGzCSZg3G9r0JB8SK6q9n00JIIu6jgYakJY30QRcVvQsMhwTfIvxVcC17knwVC4UKBLVkczBgkVdme9tZ55z9Iue6r98yfPfTKdQRCA7X11/VilFZc5Au9bUwnObP2RDUZoQl558sO30nh07VLVgNmHHhYxhIOORhYM1PJE51zPT3YAuhLFc/jO20mACtmJVq1GuXxEoMKg03mnPtSRv751ZgULvjO3JkiCBUZZDgqk3gMu5zhByvB8wVJFYdZLpqBsb2KFrhGax2TGrdR0bUTkK78tD6+0IphYCJET8Ml0Lnoexi2HBHTO0kfU1KEA93hMNHDYsl29Bsb9xI0uwEi1m/2C8HvOrQw4X0rdh8u2WoGWssR3fHcZM1vFfz8S0vMmYFC+KNhP/E4uLXr09PVmRQJlnW1bwLH7On4Ts6Sob2cpYGRKAGfehWGNMccD0Z3n1hjS8rOu1NxpTe5NpK1hbg1jTZYsEsytpofgRPYL8lea7vBgK X-Forefront-PRVS: 01901B3451 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(189002)(199003)(6512007)(50466002)(107886002)(101416001)(97736004)(189998001)(5003940100001)(6486002)(68736007)(2906002)(25786008)(305945005)(2876002)(8676002)(30001)(86152003)(4326007)(7736002)(50226002)(81166006)(54906002)(81156014)(3846002)(6116002)(48376002)(110136003)(5660300001)(6666003)(4001430100002)(50986999)(38730400001)(6506006)(6916009)(42882006)(42186005)(47776003)(66066001)(2351001)(33646002)(106356001)(105586002)(92566002)(36756003); 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:PStMby6lFjdXXorH2T3Coi67BOmE6FyH317GWf460P?= =?us-ascii?Q?hyMxZaiHnItaXiDHdIbFMwRRyrV02TZjIHBfmvI/K/XTxT3xbWqyGRU3a/HD?= =?us-ascii?Q?BAfM2bjXvDdJMVxgpbxj+KQFeUG4iFjJBF9nznlfyVAV1jYRqgQXMnNWzfH8?= =?us-ascii?Q?maHTjoypWltKvWGki51yyUcKH2R1pQp8q6+cr/BtD70hpreTKGkAaorKxuEu?= =?us-ascii?Q?6iZ8+yn+TE2hxcX0I+faIskOn3TRgL2hDTPztj0rjDD9IuUX0WO6oalbxGWw?= =?us-ascii?Q?UvZazN3MDJhtFZIbsf/RfgOqnDo1jVyEyfiJSxC6x3vyOBQ2huUCjcE8BnEW?= =?us-ascii?Q?oqhd96MjNd8ZGNxSRwn23XEb7yhIy+zQMfPSVtWydXWY03PqJnsqhNRedzQK?= =?us-ascii?Q?yzMiZcLn5+uMKNRluFRV73unO5fyE0dsbV70Q/2rZfAXIxuJ8oI8P6iGMyuk?= =?us-ascii?Q?ZRS6y5uW/5nIP/cZAlP+z0cKYRAZkf9foumW1XB0dHqjP0l0PEg8kSFrcFPe?= =?us-ascii?Q?Z6vOUIvkYQYmxwDEsRTH6LUd0xzVHG0Mjmfb6ElYgZ8X9HVV4UtNC2WJ6PYo?= =?us-ascii?Q?oKJohVYjmsOKthdlDJbgjS8HpE2LdJFf+RIfAD3ZKQhvPK5lRhU3VL5r5Eff?= =?us-ascii?Q?Zh4klLqbMUbqXTVtFw6ZX6F2H0ZPP9M6+QkmzJa0s/74NQoxcEH9wzk2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U9m2i0Wjr/b8drbcdQHIKf9TkYiGUYaokw=; 5:oQYyCpC9SyPEO/Nz1ECLvR5ELs9SPRafwxNjYe8rBEZq6BuLjx3vbT8Ar6GHCP1qJenyth32V8bq9gvBsXnWk8ouaTE5nXBn8lWiYcdfhxGjcvyU9mmlajijCtqB/o+XD2fytDnKv7R6Bf/Crc/WUA==; 24:JGr7kE53ltcHFb9YM5cJrDJIJcWTAt7tGKDDH2TN+yEjR4oJIodm6HnD62KjNgC0+xj9EnBPNNQ7M/QJA9oevsyP48iqeYjEnL/Nm3EdXkY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB554; 7:2Uh+KmmENxB6ONrtiwL1ZgKF7z7ASvxVAeaPx6/BnVHYwxvDdGlltxK+VO+frkI82WqzTseRBPeUbFpmYf7oZN47VPQHPKpnbJuw3pA+NQC/7Mr7NPylzyPusbJ4HiWbTT+iZmUha2zXByq0lF2MfCNj2rA/+Dgna6SZjTNVO8Xn/0RdIv8dj7dAvuVdWrqGKZ+6sZVm3zVqy4mt4OtYwul/AMXZge4aCoobBFXuSeoHa5QN47m6nAMKvjE/c+FkFiw7Y3yP8NKhg7PUd1XYiVMb2ZvH8G8kuSm6ueR3MnXxjzmBypDNu4ix+Nu37hJxZS6pbaO/XD5uylLL7GVRM0ZqXMyFyg9ca41Oe+bSU8aQ5JQ+v1cREvqi/eEQQF/8c0vKVRrvDmDasHim+cT5hMxvN3VmVuN9doZA0xKOn7rzzd2KQNCz+kpgbMyy3Gkn8bN0dB1Uj+bzydsLh8jAVg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2017 14:35:54.5403 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB554 Subject: [dpdk-dev] [PATCH] 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: Tue, 17 Jan 2017 14:35:57 -0000 From: Zbigniew Bodek Avoid using incorrect assembler (nasm) and unsupported flags when building for ARM64. Fixes: af75078fece3 ("first public release") Fixes: b3ce00e5fe36 ("mk: introduce ARMv8 architecture") Signed-off-by: Zbigniew Bodek Reviewed-by: Jerin Jacob Acked-by: Hemant Agrawal --- 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