From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0046.outbound.protection.outlook.com [104.47.41.46]) by dpdk.org (Postfix) with ESMTP id B707E2BB3 for ; Tue, 6 Dec 2016 18:34:13 +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=Tt0e0SIHGjTf4xaSUv80RNcqAP+qSzeJjDB0mNBSYZjSHwLf/0wNwA/D/4T6HlTCt0Q2rq3fH+aSFTgAeIcAYta0TSyWibFYAQpfA9CEc0GHlfvOnOVTwZesCU9aW8hMLMENwvclb16D/DJeQa2P0GNnzNVEP15qWOm47hOEjcw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Zbigniew.Bodek@cavium.com; Received: from localhost.localdomain (31.172.191.173) by BLUPR07MB547.namprd07.prod.outlook.com (10.141.205.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Tue, 6 Dec 2016 17:34:12 +0000 From: To: , CC: , Zbigniew Bodek Date: Tue, 6 Dec 2016 18:32:54 -0800 Message-ID: <1481077985-4224-2-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1481077985-4224-1-git-send-email-zbigniew.bodek@caviumnetworks.com> References: <1480851219-45071-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <1481077985-4224-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: VI1PR01CA0023.eurprd01.prod.exchangelabs.com (10.162.116.33) To BLUPR07MB547.namprd07.prod.outlook.com (10.141.205.17) X-MS-Office365-Filtering-Correlation-Id: 96ba00bc-c4ae-4219-2c6c-08d41dfe17f3 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BLUPR07MB547; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB547; 3:jBqpJKYmRvjSB5kuVtX+a1F5dKfwtVe8ANqHLStVJUiik7lV18BtGbbWN1xcbjjkNX3yRIX2M7um4YHI0Lit/q24et1pnOG3nCzfYxwCl/jwy4008A4E56bwnWlzaj0ktGeDCEgJJvyv821/oqshNoqyw4TjMv22TdnVF+bZbjUAL+FAbBsf5QOktOCBul0FcMZvvZv0M5oJKJ3Bh6Lg0kSbfCG4rSqT0pee+tgFwH1OJcJopqSXwwc3zpgkmUokySw7a8jc5n+Yt16a/b+pVA==; 25:5ivji7rzGBZHn8h/k7c6asT8H5T0i8QhkyqGS/2tKhbDvbe5x5LKFSI+66O6WQpwIMgU8q5tPqNCsLNOMsj/NfcNP1C48SWhaNBn6J4OB2NOgMrj5hnYCJ1p4qIgA0CxrYuSq5QvGzzGTvlEryh8lh15QaEbtK1LaHx4GADJaq8FpxDilmS0qfniCIQMfsUpxAD2YPtJgRFIGZEepgAJ05GKn7C/zf21RhRq2K1WH1m4IeYZtGt8gx9WdBh70Tt3h01x5J9fi1p8PYWAogsimV0xRwK2UmnEJWjqO7kv0Kq6zIh89qyciunEO6BemNlbVQf5iSt9NHedkSVGggJpZz+rKCTWMOTgRG9U7WxOG8qkdZPkqEgYl2rP4fEujAQnkn4kOmVZx799/cu7xVAkOgnwQSIHeFTI8PvOeww/GaJL2errZ64Q4CHAw+cr1Ch28KqknXAQDpGkcruXU/l18A== X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB547; 31:7OZWwwYRfYMB4HPetPwq6YZGMAk1R4vtuaJzhAJV36cTmVGMc49oVm4m8W9aGUBKc14q17ezbgCSys2HaKJ5zIgI1WscRa0cuJE2e0E/jfPiM3SH9hLgDy6dmSkLKe4rX09HMvQXo+U/UJVLqIhsFvury4fEaGLt3Wzl+sPhZPXS7bhHrFJfXYR1vAGB5YZPg5EDaV1FzlxqRuMmxlhDR2JUGqKzm6g3zXXBF4hKt1qTmGh+jkM7SNq4qBqtVQg5ZEXie3NPPdlYo6hstbWWIQ==; 20:N9RwVFKniWQOcLNLMdALUyiThzGPkbtbRunlHNrBFWEQJ8IDBnJBhZ2dxfWNZC5lcVlPjAAd0NcE8kbgyRNVv2ni3qOIA2PuHCJ1EvDqp4SslJiSQ2S5XpdYO/5mDbKzuQVgxrzr0DTRyT2H2ZXyf4p9iz05CjgcWmchMrItBJv/tS8XJZVFBG6nUZ628XI8pf0AVNErvE2qKk6JeZOoY2upWGEXAidTA0EW2xVzhzhjVzC3w9SpGjaAIGM0Jubb4ileCR7yDPjTpaVNwwmc/DqZQPvQMr4GnZ2arMFka+OVQtMR+PcXww4MrJBGqhyY90V2sfxJf87D81mBRQUKklAhHCilhMPX4AvHXgRCXeO5xPQrKsdgadzAOmi6MXkmj9vHI+ubHHJmHLhOJf7/aSeBMdmWw5onsHNB5E3fv1vWNflLhUCkNVZI603hFrgd4a9Qfi8iLApK9pDhk7BpYPxJ5ePq3EHhZ9xeJgtVUAqTKmJfRe/ABGfTpIel1h1EbZK6BpIcwpx8tBdbg9vLK1NAq8iD9ABU2ASRudaY5rKeADiTdt7kyE82BqtpURkfuZ0k3FEtlynjGXnWsxlE0Ce599YhqTVXgLZHtjn1jSw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(6072148); SRVR:BLUPR07MB547; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB547; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB547; 4:NRs764oS7Tvlm1mklTqaVJcUPvD+QGMbjElCYo2/S6s7upJWEQG1qI9noGr/Xbm2N3JQpup5xZDvQ/tzLi6WcTTSN4c8kPLhSZn04OuY/LOTtObuZgTVHQ0FFlPewZvjBfXiWq5hSXVATObGnUuRsiNKcx7TeAeNT9sWULv5BlklXS0L7niktWYgXjo1ZoU/MOlJKzxwVDB412pw5MziZKWGMA92G0wnaAMrfhZLwj3M0LXY/2TzoeztE5bnr4lZJ1s9AZgzwXbCbt1hz52NERONjbnzNolA6d96atU0X5v+g5IanuIZCYVEqqvPvwvSg9tuLyCUDCCqsYdoLidWTpjUSzWH92XT1aVSb4Utt4EELrzxg8ra3+9FYRV12Cc7fUh1mqSon7fQItXXdP2dWJwZM53e80Sih45DOm1NzJ3n2mKzjxNOFUB/bzcA/6GRmGXLL9FXFJRY5GdlmqciSuNZvr4WScJ7+P1cjlv3frJ0s1Hcr+dDR5IiXqiBdKxx7cL8YtwphQtUku11Z/ybV+xH18GcMm4DvFCJ3bU/gSViY1kWHZksl5djyFyktss7UPQAqjfqU+FBtuc19XRsVw== X-Forefront-PRVS: 01480965DA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(189002)(199003)(86152002)(33646002)(97736004)(5001770100001)(39450400002)(107886002)(4326007)(6506006)(6636002)(50466002)(6862003)(50226002)(6512006)(6486002)(4001430100002)(189998001)(39840400001)(39850400001)(2906002)(2950100002)(2876002)(6666003)(39410400001)(42882006)(5660300001)(733004)(68736007)(8676002)(81156014)(50986999)(3846002)(7736002)(76176999)(106356001)(81166006)(7846002)(92566002)(101416001)(105586002)(48376002)(36756003)(38730400001)(5003940100001)(47776003)(6116002)(42186005)(305945005)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB547; 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; BLUPR07MB547; 23:KAApNFHAtmq41kAdx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AxmLaiMQmM1ptlGC39tnhPIVOcD9R/ONMK0+xg/vBa2wy2Iib0GLp0Yiyo2x7W4Go9w5Y4vNDityaA==; 24:QIrDTday3QDjRXgYYB19R6h+TwgcOee9JHY/qjLd70jePtfS9Ts4V/kdQ3ImdajJTzSJF8v2laLCbwGuOw9ZV970K4fNTKmuv5ybGjO/E3Q= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB547; 7:BH8Km2R/pL4/BU7LAygd09YZMbXg03EW/7IfEsrLKHZnDjVoos1NHhnvtbzkDuEmg1LkUjdvvmq3q6RIgOd84DFbWbnvY2+yjT9pQfuRWCnSXlxxQX06yJyzhtxh57I4nuK0w5Hyk9lnSVCpM3tb2JJ2m2YFpfRK0VctMTXQA7LbibSq5V+zPZ/xaZ7rYEkYNffEF6xKLZD+iuYpCaERikBTsdNhJDPrVHxMd3cQoHT8Fg4dkkY48/T0fiqscwZwGqxuoz0QQbM6s/XvikPWqsFJdeK122UEMOVDLxS4q8Xu1GXkAXZJcnAEQIQy0f6FyOjY74HMLOSIjZMhGtXVeBOODzCOwbR2mVRwGpqIci3H85uiONCZEy7jucEUisdPTBFXp6+kwfmcRGu6NRBv6OybBAHJQ/ls/RWhfZR4bQTmlaHD75uqEp/Wvn2sV67BsbEHplwrFrSnnX9t/JKIxw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2016 17:34:12.0208 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB547 Subject: [dpdk-dev] [PATCH v2 01/12] 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, 06 Dec 2016 17:34:14 -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