From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0078.outbound.protection.outlook.com [104.47.0.78]) by dpdk.org (Postfix) with ESMTP id 0D68C2D13 for ; Tue, 29 May 2018 18:20:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iHj3Wnjcr2o17c3TJCPa+iW+etiahJLSaRikYGM2uUM=; b=hOrKGYhVJqweZHiT1eLcb2fRI2VnAkzqI73+LTfQWG41HjOvJ5wtgh2qB7ACib5xfLwhjQF35v3JvMvZMeadX0Bc2s18TG1GBl+yB6qFLD8xHek88dABmyNuAaQcFncdrVjAimFvMZZ6FmICvLifRB4P40r3NkxiMTCOffuSz1A= Received: from VI1PR08MB3167.eurprd08.prod.outlook.com (52.133.15.142) by VI1PR08MB2685.eurprd08.prod.outlook.com (10.175.245.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.797.11; Tue, 29 May 2018 16:20:45 +0000 Received: from VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::a105:3320:f324:a919]) by VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::a105:3320:f324:a919%13]) with mapi id 15.20.0797.015; Tue, 29 May 2018 16:20:45 +0000 From: Gavin Hu To: Bruce Richardson , Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: [dpdk-stable] [dpdk-dev] [PATCH v2 1/2] mk: fix cross build errors Thread-Index: AQHT9lCq/lb3Xv5KhU+l+pNi/Npnp6RFIacAgAGpNoCAAAP5AIAAFX0g Date: Tue, 29 May 2018 16:20:45 +0000 Message-ID: References: <1527133127-29407-1-git-send-email-gavin.hu@arm.com> <1527490428-15540-1-git-send-email-gavin.hu@arm.com> <20180528132402.GC8752@bricha3-MOBL.ger.corp.intel.com> <3461471.4uoUW6OFvL@xps> <20180529150008.GA25480@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20180529150008.GA25480@bricha3-MOBL.ger.corp.intel.com> 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=Gavin.Hu@arm.com; x-originating-ip: [218.83.107.248] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR08MB2685; 7:Qk5WQfgGqBTN1DKmPggPWxCHkId6ZfDdkTANHSFHicxlTLqQFIqjQ8AZZRj/8mHuQ+1k7gvsy+1GQxP+KUjDU4GyOsG4H4vIuLC4FC8o3avOEws+14ZPETbMoWglZ3LLTuCDY/2O9b1vpQossKpQQZC/T/lxQFN+J9f0SrSoOVQ1b6e2J4RFLaP5rKlmlrqHzBMxef0b6Kh7OjalhudqhS5RsiJJl29RSlMH0cS4od54RRGoQ4UkH8oz6lW58jve x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR08MB2685; x-ms-traffictypediagnostic: VI1PR08MB2685: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:VI1PR08MB2685; BCL:0; PCL:0; RULEID:; SRVR:VI1PR08MB2685; x-forefront-prvs: 0687389FB0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(366004)(376002)(346002)(39380400002)(40434004)(189003)(199004)(13464003)(3280700002)(74316002)(4326008)(3846002)(53936002)(305945005)(7736002)(76176011)(3660700001)(53546011)(81166006)(81156014)(66066001)(5660300001)(8676002)(68736007)(316002)(5890100001)(102836004)(25786009)(33656002)(5250100002)(97736004)(7696005)(6246003)(6506007)(2906002)(55016002)(186003)(110136005)(105586002)(106356001)(446003)(93886005)(86362001)(11346002)(26005)(6436002)(478600001)(72206003)(14454004)(59450400001)(9686003)(2900100001)(229853002)(476003)(6116002)(486006)(8936002)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2685; H:VI1PR08MB3167.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-microsoft-antispam-message-info: 6JSeoL9g6MTPAPJbKhjQcVKWxFk1HyAWmnLXrfsKc7KbpFuJSc5ulF9xaoonbOJAj3/h/E8lSrBe/irgg33V8Xe8sUOaKf9d/bHcgH3SX+CtZyQC1UlAHiN6nh2tqPy8+nWJt6JYKVVuyaLRu7tsiarEtCXY149WyYzQLfocSR/85eaYjz81VS9ZNHGxPpxW spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 5b07da7e-54e9-484e-c6c3-08d5c5802192 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b07da7e-54e9-484e-c6c3-08d5c5802192 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2018 16:20:45.0514 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2685 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2 1/2] mk: fix cross build errors 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: , X-List-Received-Date: Tue, 29 May 2018 16:20:47 -0000 > -----Original Message----- > From: Bruce Richardson > Sent: Tuesday, May 29, 2018 11:00 PM > To: Thomas Monjalon > Cc: Gavin Hu ; dev@dpdk.org > Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2 1/2] mk: fix cross build > errors > > On Tue, May 29, 2018 at 04:45:55PM +0200, Thomas Monjalon wrote: > > 28/05/2018 15:24, Bruce Richardson: > > > Would a simpler solution for this not be to put "-Wno-implicit- > fallthrough" > > > for pmdinfogen? GCC will not give a warning for an unrecognised "-Wno= " > > > flag when compiling, unless there are other errors. This means we > > > can just use the flag without bothering with version checks. > > > > No, it does not work. > > I have this error with clang 5.0.1: > > error: unknown warning option '-Wno-format-truncation' > > > Yes, you still need to check for GCC to use the flag, just not for a spec= ific > version of GCC. > > /Bruce Hi Thomas, did you meet this clang error when you applied my patch(which ve= rsion?) or your own one? @Bruce and Thomas, Could you review my v5 patch? Thanks! /Gavin IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.