From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 05A9DA0526; Mon, 20 Jan 2020 20:51:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 29F501C0B4; Mon, 20 Jan 2020 20:51:17 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2081.outbound.protection.outlook.com [40.107.20.81]) by dpdk.org (Postfix) with ESMTP id 95F111C0B3 for ; Mon, 20 Jan 2020 20:51:15 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Uzc+nFDpQzG5dh7/SL2FygnkphT9W3YB8wLkFl3dwRF7QlW5Uh0zoHdUcIK+tHpS9ikIdp7GwGKQ9S7rvinBIC+oU2hTtyxNqC8cjVdl0YXqnxNnHqew+cF/eEWqqCgCi2Lnr/7Kg/3b05RtlOBg5YliOT1qNZ7+vY3/g7gs7ShgpQykXEgUGLjvXNw7+jVY7EfCly6MgNXGWRen3is9vsrW/9D3ha71VsMXCEPh3oVHvsbmsbf4qCF7lXPaUa64pwikaBck0umozq+m5rHjbYGAIu33oxtj36El4hFHfI5A7ALoOHrdBEGAEB55a9Lr6qBm055gIh5/cPnPjxOIWw== 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=sFN0YGo6kU87lrv7YWQ2tiPCdzGlWFVpGxbvxWfmANc=; b=dfIT6kAdEo5bIuTig7rIx1vZYedlZG7PMT/9Rm2yllzJljJnJNzR30scKKKjVm/dfW1eOJV3ku9XHi9B22yhzyVbBdnr3rn2zmHMP4LrveZ2ERRVFVtKt1CU41UwEzDrNsV4aG2+jIv9nM+o+3VATJKa7UyZjpLWqqkyirHMFODZ6CX4F/r5xz+zczSi4Lv7TCODFGRqhxbF3H0lSpsVwgnqv9BFIbuEmmB3lv+6P6l6OmQyihucdq9MzM1FQABhmf5wT0bgY0rnguO9XEKd+SiDciwj5jrJtSRFsegEjVwDBpt0rDCws8jR6D6FhFHn5qNnGyJbgtybMVchHBB+3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sFN0YGo6kU87lrv7YWQ2tiPCdzGlWFVpGxbvxWfmANc=; b=bJGT9lCKR13rsj5+89DXL+6+bDbFQjVc0kDWk0g+BOvjcItzXNXb6+SfaWTsPFAZBjc0fKxTxEyBEzK/JScP2eI+bIbzv/0ajLwYaIbVt6tyzCexBDQBpWb8Olso7oGDIjqoK41MV+uaR8ifQqwwIZJmqStENTbKjT2I00An1b8= Received: from AM0PR05MB4401.eurprd05.prod.outlook.com (52.134.124.20) by AM0PR05MB4145.eurprd05.prod.outlook.com (52.134.94.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.22; Mon, 20 Jan 2020 19:51:14 +0000 Received: from AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::d5e8:d078:e580:ffd7]) by AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::d5e8:d078:e580:ffd7%6]) with mapi id 15.20.2644.026; Mon, 20 Jan 2020 19:51:14 +0000 Received: from mellanox.com (37.142.13.130) by PR3P192CA0022.EURP192.PROD.OUTLOOK.COM (2603:10a6:102:56::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.19 via Frontend Transport; Mon, 20 Jan 2020 19:51:13 +0000 From: Ali Alnubani To: "dev@dpdk.org" CC: "mchalla@marvell.com" , "jerinj@marvell.com" Thread-Topic: [PATCH] mk: disable OCTEON TX2 EP on old compilers Thread-Index: AQHVz8r4UYY5p90azU+aox2wf71ifg== Date: Mon, 20 Jan 2020 19:51:14 +0000 Message-ID: <20200120195040.26843-1-alialnu@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.25.0 x-clientproxiedby: PR3P192CA0022.EURP192.PROD.OUTLOOK.COM (2603:10a6:102:56::27) To AM0PR05MB4401.eurprd05.prod.outlook.com (2603:10a6:208:62::20) authentication-results: spf=none (sender IP is ) smtp.mailfrom=alialnu@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [37.142.13.130] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: b240f4ac-ffb5-430d-2569-08d79de21b2b x-ms-traffictypediagnostic: AM0PR05MB4145: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-forefront-prvs: 0288CD37D9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(396003)(366004)(346002)(39860400002)(189003)(199004)(86362001)(8676002)(6916009)(66446008)(64756008)(66556008)(66476007)(66946007)(2616005)(81156014)(8936002)(81166006)(55016002)(956004)(4326008)(2906002)(478600001)(1076003)(26005)(8886007)(16526019)(186003)(54906003)(71200400001)(5660300002)(36756003)(316002)(7696005)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB4145; H:AM0PR05MB4401.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 47T0R6HhJhiFP2KNiSYqJRF8DWEgIPIuytdxKS0TfzyPe2+JdEKKadIsD4XkSHddf+ZiQFIsxw+edCjycOpxinhLeQNe7pGCUKAUvOAYTznfFR5kNoSlhB/fvebidZN7e0+IaDeRFCmBrm0jxCXVmD1v/3+Afj7xZpK8QJsODPWyG7ryW7/1Inc8aflkbeMmSjUbyXb5Hycy/yZLA7GnrL0c/kBdYE9/61ulu4C2zE5wbEzrQ3xnWnZRAzfxZqlF6NaBTpcJnImZxiz/9BUP+Rs5hBYM90iVpiO1RftR1G8gvbpmAi8wG9q4j4WiFMw5rc27VWg0zd0Vyv3aOHp7IF5fweUlX6yf02aP/MJ8lrCZdYtzqHuoDV90191JUSMRUUCERGK2trw3vQBKJqhaCjSJ8NLh6wu+PMz9QEHxqSrkDy3Pg4wOlnPdjrISi6a9 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: b240f4ac-ffb5-430d-2569-08d79de21b2b X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jan 2020 19:51:14.4224 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: G6aZaTbXepRrPi8OXg/FqtFdRNpU4arzzDiHrSSa1LsDksG/FsvLOG1ILkX2iMFgHetipIS53aXwn06bD7Q1WQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4145 Subject: [dpdk-dev] [PATCH] mk: disable OCTEON TX2 EP on old compilers 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" OCTEON TX2 isn't built for gcc 4.8.5 as the compiler emits "internal compiler error" on aarch64. This causes the following build error when OCTEON TX2 EP is enabled: /usr/bin/ld: cannot find -lrte_common_octeontx2 collect2: error: ld returned 1 exit status Fixes: 56d46d13f736 ("raw/octeontx2_ep: add build infra and device probe") Signed-off-by: Ali Alnubani --- mk/toolchain/gcc/rte.toolchain-compat.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk b/mk/toolchain/gcc/rt= e.toolchain-compat.mk index 7ce01a366..adf2e6eb8 100644 --- a/mk/toolchain/gcc/rte.toolchain-compat.mk +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk @@ -102,12 +102,14 @@ else CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=3Dd endif =20 - # Disable octeontx event PMD for gcc < 4.8.6 & ARCH=3Darm64 + # Disable octeontx drivers and libs for gcc < 4.8.6 & ARCH=3Darm64 ifeq ($(RTE_ARCH), arm64) ifeq ($(shell test $(GCC_VERSION)$(GCC_PATCHLEVEL) -lt 486 && echo 1), 1) CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=3Dd CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=3Dd CONFIG_RTE_LIBRTE_OCTEONTX_PMD=3Dd + + CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EP_RAWDEV=3Dd CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV=3Dd CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EVENTDEV=3Dd CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO=3Dd --=20 2.25.0