From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BBBBFA0548; Tue, 27 Apr 2021 13:01:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9A9A40142; Tue, 27 Apr 2021 13:01:18 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2051.outbound.protection.outlook.com [40.107.21.51]) by mails.dpdk.org (Postfix) with ESMTP id 477AD40150; Tue, 27 Apr 2021 11:42:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QnIkDU6Z6lRGsLMCScpCMWqCzJgZB1DHQwVDbyBPiW9uG/pSZb1vvm6QUxdj1likDiDB6bYWHCcUGnSMeFYyihUhuLKFkNAIWVJGd1nat8NTcAnXMXEqEkCv5aLd5MU8xulL364mCExmzWzcJv9FAxlIV6qEn9dQSe9ESkcVpoF3F3BeAYyHrtEsbU5/alkJ31UnD1Se1MYpBwDMWO0R1Y7VCvfgOJuB/F8ZUq93aVXI4lP+oNWoGFw3qgqSJKkYO493/2JhIK3vLTdQEEEOUn6zTFwVVB6VJwr01bynt598KDy56f15SHrxDA9LlGSN/HoNGf01uDisQmZogekcyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NUvk4ODxnLNHtxBS/ac+tnk7CKR+N362tK10nh0rg4I=; b=ReVb/xM4Pk+OM8TZsCfHr7I+1BbpAFxvGDp/aKDDO4A4Ix4uoL0lWWaPQgPLfILlp1+IYMpj7SX31mzdSGr7FHU11fjAJ8o5pO44vPJyVSztp8m27dIKW49qWXhxSbVzkVHLGhP9Y5WW4fB9Aj6BMaRT+CY9lDQ3cLzKXnD4/NIph8dcfMwNSbwHx1W08CTNXvUcQpcGOEMaMC2Z+imv5YuBUFYSey4Brdp5Ldr/L8dm2UZe1gerkh6bJb1pywYLFoWYjmQvgVLHQLBjZX/6uheAgBakC0EoKMvifd8zGQrjcOhsM2Q0EDpWwbLnYppzKbG9FaOJauKRPDYz6qlj+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NUvk4ODxnLNHtxBS/ac+tnk7CKR+N362tK10nh0rg4I=; b=AcLDg2A2kwFHjh9ufmtNYENX9fJAdKqSZI0ise0tM60KtEY5/94J5CVFe3b0sIEtwKRGFRThIf6lNnkpBP+gf68cno7SqwyBg1CemKy16g7d2jAvetDcmWk31gSsnI96p87NBXd0s8EjxPtJN7U1kx1s22YbAicbb8nfXmVp2Aw= Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBBPR04MB7836.eurprd04.prod.outlook.com (2603:10a6:10:1f3::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.23; Tue, 27 Apr 2021 09:42:44 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::3400:b139:f681:c8cf]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::3400:b139:f681:c8cf%7]) with mapi id 15.20.4065.027; Tue, 27 Apr 2021 09:42:44 +0000 From: Joakim Zhang To: "users@dpdk.org" , "dev@dpdk.org" Thread-Topic: Build KNI module failed Thread-Index: Adc7RURVF+vBL+aIQpS7PZG8+w5c9g== Date: Tue, 27 Apr 2021 09:42:44 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 02cdae5f-b9af-479d-8f03-08d90960cef1 x-ms-traffictypediagnostic: DBBPR04MB7836: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: c73TZcovdciSsRXJoTQj7FANBqgfgz2vtu6yjAPPnkhsmV7n/y1hhM6vlxMWoJQns3v6WYrFH4I/nwTAWO8hpkXLGThRgICnWdsEnu+bM/S4WWJGUisBbqkvWRYv0uheUUU30u0X+IlJJV8x3fF5h04kYIcNPABUXoNIJtX/ApmyXxveFnUELLBsPbkJ1hxXHw/Pfsdg3FzgFM5bom0D/0DnLEkMZkdAlJqSvt13mxsjp21QirWw3BzH6jNwDk0vm7LOHbDP3vLsYjlw4mv/W5ZNjvdnteFwqtExm56Wv1joeyrFHvhQBrbirh/0+QipmebY+sPwXWLUNyRoySAX6cMTrO44bOKO8/kU1G0Lhi6YrDRCLKXY76aq90Qr65h/upibAowlKL6Tkc120jPM0zBjR+Eq5mCAafvWXSXmFRmRhSpyHY+y0kP86hgAgRfqWOT5t+tb05srvDuG4KvQ5D7tB6GSQ+AIx38Be9zuhCBwn0Hc6FtwnrEDjOM3TKtXunI3rjODN8yh20Gd+4oCADqLsOneldttncusawhPaGKAHxd+aAUHitseLljG1D+fn6lr90YU4I+h9aFafA/1WdBAwFK+PZihrypxpHh71GI= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(86362001)(7696005)(2906002)(33656002)(5660300002)(8936002)(8676002)(3480700007)(66556008)(110136005)(66476007)(64756008)(450100002)(498600001)(38100700002)(9686003)(122000001)(55016002)(66446008)(52536014)(26005)(6506007)(71200400001)(186003)(76116006)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?lJJPj/UXrlk6TYUpAIx6BcnlmBDwluVWyCQj/Z5/2fFQcS0ojoN3CQl7pfpg?= =?us-ascii?Q?1I9ez/ELYs8dPfGQ0620kIZRELGxvwBEkBXkZ4c+lm6ijRbj7cWuQS7nsd62?= =?us-ascii?Q?Ibdkq4/nKJsM4dEIm7CnCuyh+9PU/uHSbBQ2g/+LjG1piQ4V61X/WAXjojsB?= =?us-ascii?Q?kt+h7Z/OZ7GM0swFOA6XSRTGymT62PpmE+JY+ldj5vau6CnoJuYZwbPZqi91?= =?us-ascii?Q?C7GNJMsxprZ93GlyM3l+Vup/+OrEFZuVqBz2wPmt9bD2AztlTb1ybOze78lS?= =?us-ascii?Q?Jnt/XvNN2uacRESUyiNPIey0VvmtsrQf9rdgwLh+NdAags3vQ3jFlLHLIj9y?= =?us-ascii?Q?tVgeETq5i8kwLwWClFipDgUYygIUjhIT7BynAy2gT2SjUUSbJfM42HfPV1HX?= =?us-ascii?Q?6v1SQepNYG+indFm70tCzR2tNM5h/sdAtwRgkqaMn2iSDEE/I1UV/b3irK4d?= =?us-ascii?Q?dq6HNUdxQ/gSZixHUTpKdfEKBKbfcwq8IN2L92n+g84YWDWceKUWo2r5Qiog?= =?us-ascii?Q?liLZmGwp3ZUyfBWyPA93R3cdtXzKEDrW23gXoCfH/y2udRC/lJIMzAlV0JDN?= =?us-ascii?Q?U43GG9aCKJTxadf7y59952T3A6ROXN9Xgqk6mCeL6QAdh8N4H38KklJ4PsOE?= =?us-ascii?Q?bQ42+0u4MVVv0tLJvpgTZocdSxiy8vrTm1h5SLrJFzQlf7ax89x6hzbqccMf?= =?us-ascii?Q?dMk7hW2M47gOWNjayVWhCavNvuR+tz8kFJRw6MBfwIYmI8GJvjRgDcglfZkI?= =?us-ascii?Q?E804R1sKV7zhdrAmwzoCrF67TSUjgOhDM9ZkQ3maxGJt5vuOlJyDBZkL9n7+?= =?us-ascii?Q?4jZ87iMYC7f5JimlVRe+daSO9oSS5on4rnlBo23ERXRXYARMFIe59M4bcfa7?= =?us-ascii?Q?iHkH41u7HeD6iLdw7goGFwqjiY8SSIgoMuuxU2s/oTFM8ybdaZdBYrnfNOQR?= =?us-ascii?Q?bOCGtjXX1htANtIyK9OAaccuitTr5OoaTj7mzDGOwPknajjvFlw66DqJU1AO?= =?us-ascii?Q?kLUAQoMUEfpXa2z4Ekkec68dzYSc35Qqaij5bf3utXIP+R9C4h9wgvZxgvjx?= =?us-ascii?Q?DARwG97b25NQIpWw15KLk8grz5uYhnJoFxvgcSdZsQUMPOyQ1mgTMUyBwMzN?= =?us-ascii?Q?DOcWzipTJIFwSGCNTSHSzFdR26qYsobnXhWiBYnvuAmJNDssO0db/B/kG8bG?= =?us-ascii?Q?6njGNmLB6T0MKXSSMJikFtSDTt93QbHHfnRYMHfoW/NsZiqxzNcSXpnE81nx?= =?us-ascii?Q?OiypJcVQ6kZkExAfevDOLn9wBXO8pNfTySnaOyEnyXANwTzD7KKGF+FhPi25?= =?us-ascii?Q?dvGOvjIiHm9wOD3p8RGi+hsf?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02cdae5f-b9af-479d-8f03-08d90960cef1 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2021 09:42:44.1878 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rP6WeFVL7YnT8Ars6WTR94YUfbvvdLbGlSK+uei15IIV8qkXL5FENXF3ZMvdtXl9PnUxpUesXwERiW781f6igg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7836 X-Mailman-Approved-At: Tue, 27 Apr 2021 13:01:17 +0200 Subject: [dpdk-dev] Build KNI module failed X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi guys, Is there anyone met gcc build error when build KNI module on Ubuntu to cros= s build ARM64? I tried both gcc-linaro-6.5.0-2018.12-x86_64_aarch64-linux-gnu and gcc-lina= ro-7.5.0-2019.12-x86_64_aarch64-linux-gnu. The error log as below, any comments would be appreciated! Thanks a lot!=20 =3D=3D Build kernel/linux/kni CC [M] /home/zqq/dpdk/arm64-dpaa-linuxapp-gcc/build/kernel/linux/kni/kni= _misc.o aarch64-linux-gnu-gcc: error: unrecognized command line option '-mstack-pro= tector-guard=3Dsysreg'; did you mean '-fstack-protector-strong'? aarch64-linux-gnu-gcc: error: unrecognized command line option '-mstack-pro= tector-guard-reg=3Dsp_el0'; did you mean '-fstack-protector-all'? aarch64-linux-gnu-gcc: error: unrecognized command line option '-mstack-pro= tector-guard-offset=3D1096'; did you mean '-fstack-protector-strong'? scripts/Makefile.build:279: recipe for target '/home/zqq/dpdk/arm64-dpaa-li= nuxapp-gcc/build/kernel/linux/kni/kni_misc.o' failed I search the source code, have not found these gcc command line options. Best Regards, Joakim Zhang