From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86F10A0A02; Thu, 14 Jan 2021 11:30:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 011231410D4; Thu, 14 Jan 2021 11:30:59 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by mails.dpdk.org (Postfix) with ESMTP id 5AF271410C7 for ; Thu, 14 Jan 2021 11:30:57 +0100 (CET) Received: from HKMAIL103.nvidia.com (Not Verified[10.18.92.77]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 14 Jan 2021 18:30:55 +0800 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 14 Jan 2021 10:30:54 +0000 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.50) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 14 Jan 2021 10:30:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ci/zMySvbc3bo9JWpKxOcXMxmx1vjBanGgpyAbghaACp+ifshicQKBWEvjTKmZwOzNpSUzqV9inSDyWp7rKhCA4GPYsZfxawaAY/TZx1EynHxKAzxB67ItuJw22RDozl8AV42BOQ1L+CH/20zBKkyqKXpRAZPl+YeBp9R06qfyd3WGKZa0ZkbE4LjJE638oQpyIUYiwK5ojptTUCifRvxBOvUCzzk7/GlwnUO71FPaV0a4hH0MkABut4E9bM1xePcA0w5IT8gC40pKjF7FtJLwWgny9xshetIN6xb3Uu9+eIBafAY+ls77GixQEDrWHfFGr1zPozwSmHpFf4/5RkYw== 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=Q/E+2qML00vBHgof+TzbujxOxlxbJXUoHkyqXQihjJw=; b=jyQyodex0eivbqNKIDx4/bF6JLPunFtz8XaeEz1nzNOoxEPJtQKFMU8LbDab2+kJpHZtEGGhq2/2lr1PrSOsgS6j2K6ATixHixhMrDy+BTefkDopuu/33sSr2f2QRlBWn0hnvLt/o6hLB6/h1Qx62KccwsBFQqDBpZuHhw4LkgYl8ZWzRMehudg7KkM5Cs2VgMLLAZOhMpJt9X6iTvSIQ9K+tpENo0ECCv6uiu9THMOShtdT3tp7ZKsqxbl8w5wx+jKtnV34szcZmH36QCr9fxGFkJNL2ntB92eQhnT8XvtajI6r0FsojwnSbdZpv7txlT68RlCKEQBaNrwoEWyXBA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM6PR12MB3945.namprd12.prod.outlook.com (2603:10b6:5:1c2::27) by DM6PR12MB5021.namprd12.prod.outlook.com (2603:10b6:5:208::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Thu, 14 Jan 2021 10:30:52 +0000 Received: from DM6PR12MB3945.namprd12.prod.outlook.com ([fe80::d1dc:9fb2:4724:53df]) by DM6PR12MB3945.namprd12.prod.outlook.com ([fe80::d1dc:9fb2:4724:53df%7]) with mapi id 15.20.3742.012; Thu, 14 Jan 2021 10:30:52 +0000 From: Tal Shnaiderman To: NBU-Contact-Thomas Monjalon CC: Dmitry Kozlyuk , "dev@dpdk.org" , Olivier Matz , Bruce Richardson , Ranjit Menon , Aaron Thread-Topic: [dpdk-dev] [dpdk-stable] [PATCH] build: fix using ELF-only linker flags with COFF Thread-Index: AQHW6e5x8JcPAjEm9UaLVKH7lJoWY6om2oQQgAABaoCAABBjgA== Date: Thu, 14 Jan 2021 10:30:51 +0000 Message-ID: References: <20210112003602.29004-1-dmitry.kozliuk@gmail.com> <1999240.RY27NfppNA@thomas> <2637046.0b4CQWxj9Z@thomas> In-Reply-To: <2637046.0b4CQWxj9Z@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [77.137.141.17] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ab2ac420-923d-4f58-cc94-08d8b877779b x-ms-traffictypediagnostic: DM6PR12MB5021: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SfvBaYIUAWguJLMu8sDwRQkn0cpq6HMbKnFQnzwzAIUp3aUSEvwh0GTrkgDL+TtQJMxctoUQm8nwhMyQ2oXDnb81UCz8vt7/HKm8/LKY40jQVIc8zaUEvEM0a9eiK9fV3kDPLg7PKQ8oIs6MgYnKLrrY/wIDGR9NMRJd+5SS4U60+PvoQd9rPTi69MvaDwlkVKrPafPNwf5rfGoSCP2tItLSFMSIqs/chgZssw1D8wb8+ZtvmFoHdqWy0HnkoxeeXoCdCBLAp7/k3oi/Au86rIUPbXsIzqN2png1Zg8jD03vX0z/AspgOdMQ5qBaUSMxfUm8PQX8RUIaOBdzELUJScpb7M4i9yEJ1nkpNVFV815d7BxLyvPJpLtVfkQX11w+HO258H+QGCThJVoksvYSoQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3945.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(136003)(346002)(396003)(39860400002)(6506007)(316002)(52536014)(33656002)(186003)(8676002)(54906003)(66946007)(71200400001)(64756008)(26005)(86362001)(66476007)(7696005)(66556008)(8936002)(5660300002)(2906002)(4326008)(9686003)(55016002)(6916009)(83380400001)(66446008)(478600001)(76116006)(53546011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?hlZ6ZWNlsCeG9Dk/rb4WqOYE993nSwIF0H7Df3XlZ1ItwnGZFa2uXFbdtBB/?= =?us-ascii?Q?eKF88JgC45q9vdHSbcsPD31nVpoAsiyWvuTBkWKpZYDQAz52JlAlhFWaR30T?= =?us-ascii?Q?4AJ2UqAAzS8OMxPnp0X3xF3GQ8Xe+qCxb2v/+vrDGDVfUONJHBm/hCCIM0qz?= =?us-ascii?Q?iYJ1YIP6KSCzVWoZQKmCUeeStmCoJpNqVXMQh9a4T/whrNd7Nr5x7a8IMaKI?= =?us-ascii?Q?6Ft7qeFc14GbZfel1pHyVlN7BstV6g5RqJryZUdY0Bku3USYD4WeRDJr43NM?= =?us-ascii?Q?Xym741BHIC5UrzIaBcemrG67nwUBPB9gFIdquq+xneqcAQYT7kaMSGlAHm0G?= =?us-ascii?Q?JzzKDTUZvBHpfLuxyHUaYSWjUeOqr2PNlbf8l2NI2GAhNAb0ro1M6ktfkfPj?= =?us-ascii?Q?Pt8LNWHDaSNkjQeSUVs7XxEGFhKJEcfBX4jodeWQAGPcnG3rHuuuDvu/+tfe?= =?us-ascii?Q?AV/0IeIb4EBP6i20GO3Is8J97XQGxCVocQvMV9pUHqPCz7YL+BlB56kC6pW6?= =?us-ascii?Q?QPkRPOnYop8WRBTNCTMn/F0o9zojxdVT2HZfhqJvL6afIO1M4xsoFAI8vy4o?= =?us-ascii?Q?1nWRDJWfisbS9e/Zj3UPKtDGL0BdqwjAjd9n6VdqL8OypXwwZmOdL6MIdaT+?= =?us-ascii?Q?9eXTubNG2dpJ7eeu2GVRNb8vSQG+z/zZbUXQq8or+QbP+BAfVYVcwQejlvc0?= =?us-ascii?Q?7UJxuJteMFmh2WsU1xSaeoIkCRHJdhWsLl0b0Z+JW8wQ/rjSdXgRfu7n88Vy?= =?us-ascii?Q?inCIvkL1lRFj/e9D9qtm71bN5pY9xHYuREHfLjHl45MW7W22PLJy/B6eYgxq?= =?us-ascii?Q?WnFhceKzTaNEwDaIWC5fc3/o/D9+HsZM4rwj5gVej1zmAIhgfKy2bujiu3ki?= =?us-ascii?Q?E3vfsDhYxjI941capD9VRQ6PMAd66VZcjRPBg8EeDmMRA3d/OcsW25EGO+Up?= =?us-ascii?Q?7ml97g5T2qLeGrTAN+1R+kbcuOJQt64K94KWDGWpjHI=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3945.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab2ac420-923d-4f58-cc94-08d8b877779b X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2021 10:30:51.9323 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KjKQK77ClUE1vVNHoRNBsS+dJ79cNBXeTihBXqueRZEIaKP1n02sC5KLF8b9hd3XAxHliC2HN9xfUMlE3gWHnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB5021 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1610620255; bh=Q/E+2qML00vBHgof+TzbujxOxlxbJXUoHkyqXQihjJw=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-microsoft-antispam-prvs:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:x-ms-exchange-transport-forked: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=QI2vqVphLj5zScFrosFDCCofZe3anrE9N3IQO/KzjFHVD3GNZj6t3/95vPA89Ii3v sWgj1Zh5RA3eQyX5WFRrFmBAEwrYvlEd0An6amZY4m+VJ3VxTZxks4BZPp14R6ToxD XKe0GR+sKiAM2QLh50B+GQlehOfPWtkuGD6ugTl3dz10TlyRvrtnJ7ajapLMmQTW5t GEFWkEfKJdEpVs9UnGUYCVu10YhCMPBgm4m+xPlsQJ7HOupxySfNMutj5X49Pw+aIb WzqKm/qgVLr/7OGwzJzXamvH8hZJ5Yu7XJw3d2c+1khBxdAVKyv0ZpogE6Y0MHfUMb 5JhdzC28FPiGQ== Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] build: fix using ELF-only linker flags with COFF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] build: fix using ELF-only l= inker > flags with COFF >=20 > External email: Use caution opening links or attachments >=20 >=20 > 14/01/2021 10:27, Tal Shnaiderman: > > > Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] build: fix using > > > ELF-only linker flags with COFF > > > > > > External email: Use caution opening links or attachments > > > > > > > > > 13/01/2021 21:27, Ranjit Menon: > > > > On 1/11/2021 4:36 PM, Dmitry Kozlyuk wrote: > > > > > The --export-dynamic linker option is only applicable to ELF. > > > > > On Windows, where COFF is used, it causes warnings: > > > > > > > > > > x86_64-w64-mingw32-ld: warning: --export-dynamic is not > supported > > > > > for PE+ targets, did you mean --export-all-symbols? (MinGW) > > > > > > > > > > LINK : warning LNK4044: unrecognized option '/-export-dynami= c'; > > > > > ignored (clang) > > > > > > > > > > Don't add --export-dynamic on Windows anywhere. > > > > > > > > > > Fixes: b031e13d7f0d ("build: fix plugin load on static build") > > > > > Cc: stable@dpdk.org > > > > > > > > > > Signed-off-by: Dmitry Kozlyuk > > > > > --- > > > > > Using TLS variables with DLLs is problematic on Windows for now, > > > > > so not attempting to check or solve the issue with plugin load. > > > > > > > > Acked-by: Ranjit Menon > > > > > > Applied, thanks > > > > > > Why we didn't catch it in advance in CI? > > > > > > > I think Windows CI still passes on builds with warnings, maybe we can > change it now that we cleared all of them. >=20 > Yes. > Please can you open a ticket in bugs.dpdk.org in the section lab/jobs? > Thank you >=20 Done, Bug number 614.