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 3D34EA10DA for ; Thu, 1 Aug 2019 05:43:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 893501C011; Thu, 1 Aug 2019 05:43:22 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140073.outbound.protection.outlook.com [40.107.14.73]) by dpdk.org (Postfix) with ESMTP id C4D1E1BFE0 for ; Thu, 1 Aug 2019 05:43:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iI/Jw2vdEi+c773qP8FV6zV+I4vKDPgaFFARscqz+/NHfqm6rQPQUxTMzsed98jkTYlW7mlj1zd78/YH5NW1XRp7B9V6jYY0CHR6L/ZK+WUdwy3V1PAORokL24G21fuPKkDOvlbMbaTrewh9Usih4GP5Zw+ONiCKtDr3TIxHoZfJ4cM78sgggp39qMJZKqIFy7rOwXOENEVeUJ6L9J74Gpy0vK3P+h3lu047TdHe9GJXecoH5jrE0sfT9go0s28QA9pBlXHDCcccnOJ4NLGW9UlkURNSiziQz6HzQsilb5R1CTL6lcXAoSIeXfFmRbmehoJwtNNoYVQPMt8vexQ1JA== 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=heFCnNnYkq3lOLBjnetpOzn/PGL0sZoxQqyD8tf/Jv4=; b=HKyyyI9BBTFRGlSJl76hfAYW0XiTSX1geWNWkrRGLfEbi2HxTPC2vh9Hpvd1HB4DJMXQF5yrMmb4+QQXlFpSlCmIZMfAeBt5Vz1H6r8es90Q2+cjqcqeMkYHsQsrl+7z3OL4T5glsG+CIgRKNHudIhRdTGcgbVMlTIrLYwrl0+IG3/YoHju7SwRUgQUXcMjXhaRxqmyJBw9GkRoQer4EXL7Y/d7EmqYkLfglsgKfkyBCEbAuZQupRNP1Wco1ohO9TdASwM+F9i/Ca4rBvjY8zwVaVc8L088mjUDLLSbIoUVRvnG1vyzYn0/I9QElgGI1FGOig8sdy/Wq7PZRXQJsoQ== 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=heFCnNnYkq3lOLBjnetpOzn/PGL0sZoxQqyD8tf/Jv4=; b=S0UZahB1cixJRu//9tD2xEMuKH7JAlVcy2upRn6i7/geT6NPFmBBKNWP2PwYeecIH6U0S9byE3dbAEYt7x6EMGstz46ElQUJ2eJazGxcl5ZoX+q1mCIisqEAL2Q0Iu+gbJEtwUF7Lz3q9LWerdOxYNP1UukTVfoGAwQhZtOqPeg= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.62.139) by VI1PR0401MB2319.eurprd04.prod.outlook.com (10.169.132.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.16; Thu, 1 Aug 2019 03:43:19 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::3987:8ea:1eed:3110]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::3987:8ea:1eed:3110%5]) with mapi id 15.20.2136.010; Thu, 1 Aug 2019 03:43:19 +0000 From: Hemant Agrawal To: "Gavin Hu (Arm Technology China)" , "users@dpdk.org" CC: Honnappa Nagarahalli , nd Thread-Topic: fslmc bus compiling error Thread-Index: AdVHtQkKbeN1s7ZeRD2yBQUBXODd/AAZhzCQ Date: Thu, 1 Aug 2019 03:43:19 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-originating-ip: [122.162.97.77] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c2ee7055-0e6b-4b28-ce9c-08d7163264d9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR0401MB2319; x-ms-traffictypediagnostic: VI1PR0401MB2319: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:972; x-forefront-prvs: 01165471DB x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(346002)(39860400002)(366004)(136003)(13464003)(199004)(189003)(66446008)(66066001)(86362001)(6436002)(6246003)(14444005)(256004)(76116006)(66946007)(66476007)(229853002)(64756008)(66556008)(186003)(74316002)(446003)(305945005)(11346002)(476003)(7736002)(478600001)(53546011)(6506007)(44832011)(486006)(2906002)(81166006)(81156014)(8936002)(4326008)(3846002)(6116002)(25786009)(14454004)(8676002)(68736007)(52536014)(316002)(9686003)(26005)(55016002)(5660300002)(102836004)(53936002)(99286004)(33656002)(7696005)(2501003)(71190400001)(76176011)(3480700005)(110136005)(71200400001)(54906003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2319; H:VI1PR0401MB2541.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ZTf8zuoD1H/d+00VF55F7ELOQMUNNjr5gH3C+K+xJd4RNIMBmpCOOWDhYZQ6FBwLPCevD7QFHsRZexpYhpPKHP3e93O7+wqqlf+C1L0vqAE1j2YbT5/OT+vcRYfF5/JzZ2Enw+l+JH8BskmTi/anhY7Y9zyM4DH9mREQjYqyyflN/aQKyJfyTiGTMvtfY+NBFSrLUCsmDIejG6CYy3WLmAi61TIJJeM7Fo9hXNTShZcrWqwExR2vq0A22//PIntvG6m9aMT9XTP/ZLza4dJDwJLRm74w7G40tp9Opcy+xIYgylQA+hGtBrfBocD5tT1aj4sdapHe6CbFbLEDMrFa9jOL2Q6Fr3vKk78XtLVF1ARBftus2iZty8fIyHVIbOu2buznwp5K1FrC3u0F6FSXk3kvYWnYuJJuWSyEBaYBFoQ= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2ee7055-0e6b-4b28-ce9c-08d7163264d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Aug 2019 03:43:19.0587 (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: hemant.agrawal@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2319 Subject: Re: [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 Gavin, No we have not seen it before. Let me know your compilation steps and Git = commit you are using to reproduce it. Regards, Hemant > -----Original Message----- > From: Gavin Hu (Arm Technology China) > Sent: Wednesday, July 31, 2019 9:05 PM > To: Hemant Agrawal ; users@dpdk.org > Cc: Honnappa Nagarahalli ; nd > > Subject: fslmc bus compiling error >=20 > Hi Hemant, >=20 > There are two "dmb" functions defined and they are conflicting with each > other. 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") >=20 > 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 > location of the previous definition #define dmb() {__asm__ __volatile__(= "" : : > : "memory"); } >=20 > 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 >=20 > Best regards, > Gavin