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 E8873A10DA for ; Wed, 31 Jul 2019 17:34:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4829F1BFC1; Wed, 31 Jul 2019 17:34:58 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70040.outbound.protection.outlook.com [40.107.7.40]) by dpdk.org (Postfix) with ESMTP id 312591BF1A for ; Wed, 31 Jul 2019 17:34:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PtdYeIZpu0EHLZtadMoQMdsebkSoNSSN2jLbJy6QTJLsBirzHBcuhXE565tXFDUKadavj9ZFvDyNz/2m5lcbqjGhii67PTcin4nbK6XlN7HFE4bQdYSoayj326ep7Db62MD8RsMgKsic6x3KfOA+u//2bWhMXgJZLAnyHdVRURAe/0yR4si6Tdi2pwpk52j7/n6hWj64XHqwwG+EeX+DRHUcrSIIrUEPwUljaTgswNWeV7haMsQaDrN50d351FgMhNhXH7cFdtH7kk2RH+fDf53QCYtS12qHXDHHbBpfZvRcYkIxlkBva0ML5Fr683PitDF0cJ8urz7u/qqM0Ao3yw== 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=oydvCI69J2xBduV3y0tM74i4fh2sfLZffB8zt9F6n8I=; b=b+xPXQwvPSmdFONq/L6fItW94M2CwbDVVEnGLtjJwNKguEluN2YfCCaTDrF3mWpUscsJseqYomM8h/4Noye57HarZtRXsxjEwURJx85hBTxeB96aB+i2Fa3QFCFn4qGIeMLwj0bZflSl7tjg/7lbVaYUPbPJBmLTWm/kmkQNn16WGgO3JjN0dtFQ5TjLpzyHdo1bmborjbm+xk8InlT4RohDKpVvQXdjSGCgG2xRVty/AMP0jvBp4zQmhVnw9vYHsaWz7qxsgxE9b3lHl9+SJYsmNGD0hVGx5rKevh4mkk40uCZEgXNoQ0PS4T10xd2zcsCAt3WO42+RLRRBT6/hdg== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=arm.com;dmarc=pass action=none header.from=arm.com;dkim=pass header.d=arm.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oydvCI69J2xBduV3y0tM74i4fh2sfLZffB8zt9F6n8I=; b=uYDX2yPsDLPpAggaSKb8fIBltj+oD5QB4ng20nKe/2beX9IOjgPrBh8wN2kUVfi9BPvK429jw8lnOngQGK+wgFRs8ldIslttzoSKg23vc8FUcuqWi3KtGmJE4+vtGpWQu37z6HUYW8t+OxIZp4KdsWf5Syt/T73O5wFZcnrHqzg= Received: from VI1PR08MB5376.eurprd08.prod.outlook.com (52.133.244.200) by VI1PR08MB3565.eurprd08.prod.outlook.com (20.177.61.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.10; Wed, 31 Jul 2019 15:34:55 +0000 Received: from VI1PR08MB5376.eurprd08.prod.outlook.com ([fe80::8130:867e:2371:9c0]) by VI1PR08MB5376.eurprd08.prod.outlook.com ([fe80::8130:867e:2371:9c0%2]) with mapi id 15.20.2115.005; Wed, 31 Jul 2019 15:34:55 +0000 From: "Gavin Hu (Arm Technology China)" To: "hemant.agrawal@nxp.com" , "users@dpdk.org" CC: Honnappa Nagarahalli , nd Thread-Topic: fslmc bus compiling error Thread-Index: AdVHtQkKbeN1s7ZeRD2yBQUBXODd/A== Date: Wed, 31 Jul 2019 15:34:55 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: a926f530-b80f-4775-a530-4e27aa5e1ef5.0 x-checkrecipientchecked: true authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9695f689-e32e-4edd-7eb3-08d715cca34c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR08MB3565; x-ms-traffictypediagnostic: VI1PR08MB3565: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-microsoft-antispam-prvs: nodisclaimer: True x-ms-oob-tlc-oobclassifiers: OLM:3631; x-forefront-prvs: 011579F31F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(136003)(376002)(366004)(346002)(396003)(199004)(189003)(52536014)(14444005)(256004)(68736007)(54906003)(110136005)(66066001)(8936002)(2906002)(33656002)(102836004)(26005)(6506007)(71190400001)(71200400001)(486006)(86362001)(2501003)(55236004)(186003)(6436002)(316002)(305945005)(99286004)(76116006)(25786009)(66946007)(74316002)(7736002)(66446008)(64756008)(478600001)(66556008)(66476007)(6116002)(3846002)(476003)(14454004)(7696005)(81156014)(53936002)(81166006)(4326008)(3480700005)(5660300002)(9686003)(8676002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3565; H:VI1PR08MB5376.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: jqZBUpKiXqnqO7i0JyRAY2WDHVQhpikSccd7/IkOqj/AZRm8lEslOQ4MtFLO9WCpKcdVMLFPBvFR4LxffN4uuR9/6M4w6kVAxNml1kWYWqzDtRiGd7wPXMduaP5yotbk+Ifq96HkPF1Q8H1UNxkYcu0rjxg3n4esR1EXytF56JtPqZyOhsiwmQ8EPGLf38wLEvGMCsi1GBvFFZ5/JKXhe3V1Gig3h+wqMwDewiklpehvRS6i8fF15TlHwel2N1/aIPHWbz5Iu7glJ0EO/nJRt1B3/J9iT7In5JFHeJ1mSC3wey0af8uE9vAHv28r3vWuGYc1RnLKYcchOwOkZAopSHPamQz0WWqW71AMfVQr6IJHrpGGBNQQo99JR6+Por/IHwnv13St1UXq1f1HNMw1MYcJdW8axpIOBjb6j8CyaT8= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9695f689-e32e-4edd-7eb3-08d715cca34c X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jul 2019 15:34:55.2044 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Gavin.Hu@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3565 Subject: [dpdk-users] fslmc bus compiling error X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Hemant,=20 There are two "dmb" functions defined and they are conflicting with each ot= her. Did you notice this compiling error?=20 CC base/qbman/dpaa_alloc.o In file included from /home/gavin/dpdk/build/include/rte_atomic.h:9, from /home/gavin/dpdk/build/include/generic/rte_pause.h:16= , from /home/gavin/dpdk/build/include/rte_pause_64.h:13, from /home/gavin/dpdk/build/include/rte_pause.h:13, from /home/gavin/dpdk/build/include/generic/rte_spinlock.h= :25, from /home/gavin/dpdk/build/include/rte_spinlock.h:17, from /home/gavin/dpdk/drivers/bus/fslmc/mc/mc_sys.c:10: /home/gavin/dpdk/build/include/rte_atomic_64.h:19: error: "dmb" redefined [= -Werror] #define dmb(opt) asm volatile("dmb " #opt : : : "memory") In file included from /home/gavin/dpdk/drivers/bus/fslmc/mc/mc_sys.c:7: /home/gavin/dpdk/drivers/bus/fslmc/mc/fsl_mc_sys.h:36: note: this is the lo= cation of the previous definition #define dmb() {__asm__ __volatile__("" : : : "memory"); } cc1: error: unrecognized command line option '-Wno-address-of-packed-member= ' [-Werror] cc1: all warnings being treated as errors /home/gavin/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'mc/= mc_sys.o' failed make[4]: *** [mc/mc_sys.o] Error 1 Best regards, Gavin