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 AF0AFA0613 for ; Mon, 26 Aug 2019 11:46:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B3401BF9C; Mon, 26 Aug 2019 11:46:39 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60049.outbound.protection.outlook.com [40.107.6.49]) by dpdk.org (Postfix) with ESMTP id 6C70C1BF91 for ; Mon, 26 Aug 2019 11:46:37 +0200 (CEST) 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=8pgxMFKckUrpjhg0vgwMW6wUQ76sF+HfEnN0zRWABtg=; b=6xhL24tuj8xbFl8Wbjm7mLcdxmYFjiFQKHS6tplPsJ6y3aaDWavYY3eqrd86q0aPyRU9rQ0qnkaj5refSL6OO2yMGVcdtD2v97bOfQAqFVGNWDhatPZDQu8HXTFaveJJu0OF9zSS31C8N6zRXULHPq8qTrSAy/nsGLWU6GItcfk= Received: from DB6PR0801CA0054.eurprd08.prod.outlook.com (2603:10a6:4:2b::22) by HE1PR0801MB1851.eurprd08.prod.outlook.com (2603:10a6:3:7b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.16; Mon, 26 Aug 2019 09:46:34 +0000 Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::209) by DB6PR0801CA0054.outlook.office365.com (2603:10a6:4:2b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.14 via Frontend Transport; Mon, 26 Aug 2019 09:46:34 +0000 Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.13 via Frontend Transport; Mon, 26 Aug 2019 09:46:33 +0000 Received: ("Tessian outbound df6366865adf:v27"); Mon, 26 Aug 2019 09:46:31 +0000 X-CR-MTA-TID: 64aa7808 Received: from 29f4313b7486.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.55]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id DCD01D2F-76E0-4D8D-A36F-549B69E9174C.1; Mon, 26 Aug 2019 09:46:26 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2055.outbound.protection.outlook.com [104.47.10.55]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 29f4313b7486.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 26 Aug 2019 09:46:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jo0OGyMfLRouY5llW/c8U8hIkRGSLOxF31RmrvEzWhNhF0SWnKroDziE1lXcIUB4vmL83Axg/6d5LOlMKTCXAfFVyNBlAgZReo4+xDImRkFte6OGW/B1IVffH+xZ7SSoK2Ey7i+GfyqmiHxZtEwdnpHsoDQ1o66zOq2rT14bYfirq4dEMZYYK4pO1X2KEPmviT3JSDKUmppG53B3vCnOD5Pt1HYtCjrTJlhM9DZYTutA1CAB3iBk1G0WIQTHTFbbCKWdsxc2w9X89fZtmOpdVoiRq7VBRgOr0KCXnWpZJ9pdoiBXuUSmBpvtqLLi8V8Zc4WiWM1LBybVX8udRQRoRg== 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=8pgxMFKckUrpjhg0vgwMW6wUQ76sF+HfEnN0zRWABtg=; b=n6CIWZKZ5Jm2cMG2Yg13R43DSKWHvlVcgKbqWtJ1zGejLRNA8OC6xrnVRDo7S3VEFoWxbUiNVkb53vCbewIhHFsPzQGggWXXpslrWGLm3PpZZxqkFuKrACyKV1IjR75YaYai9dIPbYzDGlEWrtmenB69dnBRsNj0r6n/E7KWmxvVG4EXCoCZ+3MRhPDFCsAhN2ieVygahr2lZrV693iYWhd5Wf0fYZ5l57my/ZTFnpwxfvb1XIMAI2o6I4hL2iQ3rN1DSRr9T3NxWPBZe2fGUa1gA7oI9nlDGETo4X+sfgaDk5qapt/nIiu5a//WG24LF1SFAAlIN10a8a1KE7fVYg== 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=8pgxMFKckUrpjhg0vgwMW6wUQ76sF+HfEnN0zRWABtg=; b=6xhL24tuj8xbFl8Wbjm7mLcdxmYFjiFQKHS6tplPsJ6y3aaDWavYY3eqrd86q0aPyRU9rQ0qnkaj5refSL6OO2yMGVcdtD2v97bOfQAqFVGNWDhatPZDQu8HXTFaveJJu0OF9zSS31C8N6zRXULHPq8qTrSAy/nsGLWU6GItcfk= Received: from AM0PR08MB5363.eurprd08.prod.outlook.com (52.132.212.203) by AM0PR08MB3203.eurprd08.prod.outlook.com (52.134.124.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.20; Mon, 26 Aug 2019 09:46:25 +0000 Received: from AM0PR08MB5363.eurprd08.prod.outlook.com ([fe80::c943:6505:1a1c:7dc1]) by AM0PR08MB5363.eurprd08.prod.outlook.com ([fe80::c943:6505:1a1c:7dc1%3]) with mapi id 15.20.2199.021; Mon, 26 Aug 2019 09:46:25 +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/AAZhzCQBPXs29A= Date: Mon, 26 Aug 2019 09:46:24 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: e8208c34-bc3b-4bad-9e26-7c9ee9ebc385.0 x-checkrecipientchecked: true Authentication-Results-Original: 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: f1aa638c-8b93-4733-14aa-08d72a0a4770 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam-Untrusted: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR08MB3203; X-MS-TrafficTypeDiagnostic: AM0PR08MB3203:|HE1PR0801MB1851: X-MS-Exchange-PUrlCount: 1 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:370;OLM:370; x-forefront-prvs: 01415BB535 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(396003)(136003)(346002)(39860400002)(13464003)(189003)(199004)(71190400001)(3480700005)(8936002)(33656002)(81166006)(81156014)(6246003)(8676002)(966005)(478600001)(229853002)(53936002)(14454004)(6306002)(86362001)(9686003)(11346002)(316002)(446003)(2501003)(5660300002)(6436002)(55236004)(102836004)(6506007)(53546011)(7696005)(76176011)(26005)(186003)(55016002)(2906002)(66066001)(71200400001)(3846002)(305945005)(4326008)(74316002)(25786009)(7736002)(54906003)(486006)(476003)(110136005)(99286004)(76116006)(66946007)(52536014)(66556008)(64756008)(66446008)(14444005)(256004)(6116002)(66476007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3203; H:AM0PR08MB5363.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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-Original: pH/O2pBSKfiHULVjl8I+OQodeuzoike5x2dWweFCn4YWKXrDXYdp+4S4dOrvvB2igNWr9BR4IEx8h2nYJ7f78MGCOOrkk6GwceNCge915IuLBFbBzA0CIDldV6xSIjHBE0/bsfWdAPpI05GZJZ1VDrOEU+BFHUNL0jzJjh3O/h6LCFLqlOnAuBAJiM2xKWIOpMi++OXOJJx6oG/N5WG+D3akgLDF4VI/Dd104CmpjFArtmn9FqkOnpDDV66xDLhxh1IA9U0N3aSQJlYYXeSkuM31BkrcI9P0PJtf47QfZDNEUBkLVkPXGr7WW9dJHZagYTSHEFif3ZK0CUUaoCY+jtIsNi0ZuNwfOXpGg4Jh2oJnR1MP7oxgmi6Yi9BrM6sEdFMmDtD2HyxYoistsG97fEPIlXYF4ImvmOoWRtq4Zek= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3203 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(136003)(39860400002)(396003)(2980300002)(199004)(189003)(13464003)(446003)(46406003)(63370400001)(63350400001)(7696005)(47776003)(356004)(66066001)(476003)(126002)(3480700005)(6116002)(486006)(23726003)(74316002)(76176011)(14444005)(81156014)(81166006)(8746002)(8936002)(8676002)(3846002)(11346002)(33656002)(26826003)(2501003)(6506007)(53546011)(76130400001)(229853002)(5660300002)(316002)(305945005)(7736002)(99286004)(2906002)(9686003)(6306002)(336012)(25786009)(4326008)(26005)(102836004)(86362001)(14454004)(478600001)(966005)(186003)(70206006)(110136005)(54906003)(50466002)(70586007)(6246003)(55016002)(52536014)(22756006)(97756001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1851; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: fc050935-6387-462b-09cc-08d72a0a4286 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(710020)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:HE1PR0801MB1851; NoDisclaimer: True X-Forefront-PRVS: 01415BB535 X-Microsoft-Antispam-Message-Info: 2f68oeB7/VlG9+R4IBd8sLuInlo/iezRNvTvv2TZMXe5/HvJYpStOwN0MxHOocJmsrf2OWzd+IOXWjtVX+0r3gmB3bBFVmlymay8m7eR7sVTuJ1uG1Ry/HC3W70T9gSqWzcZh0OzBNoQza3MO6j2qXlaIXeHV7dpXctRHz40sowqeEwDmqYYpGEO6LaeCohYCMorFkTli0IV4IJr1hTa2h/sQkxkLYnWksJrKa0cuEcONxUwoD5jNKdHykO5U1Og2stuvDr3kfK00P0K41klJQmf+SVlWlsb3WRIUhb5dRsfbt9pVA9P7MR9yuvsHA+4UZz/5HgFASgomhNLsfytS/iZicwh6/bEkIbYHHpjFhRst2Sz1qUQekZR5IBRqUpa2W4cOVjgxiSt6IWn6bX51qtYHkkwm9LAluTGPjYabWc= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2019 09:46:33.2241 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f1aa638c-8b93-4733-14aa-08d72a0a4770 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1851 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 Hemant,=20 Could you help review this patch? We are introducing WFE for spinlock(also = for ticketlock and ring), we got the above compiling issue, this patch is t= o address the conflicts.=20 http://patches.dpdk.org/patch/57806/=20 > -----Original Message----- > From: Hemant Agrawal > Sent: Thursday, August 1, 2019 11:43 AM > To: Gavin Hu (Arm Technology China) ; > users@dpdk.org > Cc: Honnappa Nagarahalli ; nd > > Subject: RE: fslmc bus compiling error >=20 > HI Gavin, > No we have not seen it before. Let me know your compilation steps > and Git commit you are using to reproduce it. >=20 > Regards, > Hemant >=20 > > -----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 > > > > Hi Hemant, > > > > There are two "dmb" functions defined and they are conflicting with eac= h > > other. Did you notice this compiling error? > > > > 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_spinlo= ck.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 > > location 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