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 6D932A0350; Mon, 11 May 2020 10:26:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA60C1C1AE; Mon, 11 May 2020 10:26:53 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60089.outbound.protection.outlook.com [40.107.6.89]) by dpdk.org (Postfix) with ESMTP id 468B81BFA6; Mon, 11 May 2020 10:26:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mHcIEE1PMgeg9hECDxN8KyjSuKJ7LTJ8FGmethm+fAE7wdtuTwVUMgvDgJ9PGtLNMVQm6XZr41QYytFIeTi9KZUJeFLBPv3SUXgHCA1FC/DWuFacgO4v+mUL+/dL/vAfuNS/pvcHh6XJPyPARW/W8Ci0m6GVdFm/9w+GGPg10+s81zk1qIZyhN2pp2DySIb1GV0SlC0brZcCYSH0k30LgOghWQnY1Pr/gdjwtv95uaM46Sdlkacbrwd72Yh6EFSdpCYhtZS9q2FUnj5XGATr8gmqeelMNlk9iVJ6xfUa61zcOtG/IB5gncMty3rUPLIybmuqpdIs+M5TkNooNxvX+A== 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=FcN6aQrNzRpIvbdjcc9WpV83ISr0YpdfNCUKNEL3zaM=; b=MOETIzICnukdF3BUJqLpncI5aq6xFwYAwJPCBHnFBj6g0rFxrFpPRfWNTsZUDO6iPbAApJtjQpXHFWlhTdvbeBC55eYsTCvM0gQq3is8+5ffYMINTPnXlaOZtG7d09z2VABJ9JbvxW0OspQd405072h00O/ATYILKcUI4C5XeBjWtcawqYZzK2gNK2Vs+vybuTDhG6qF3GmP5gZZvojleTTzfpWXgYDiPmLESecCU5EKGdF+w2fU73uSMF3w1O2NORQP0Ob8ZyERaVkXoPAh/l3cTeHChKtzdbidghAH11iV/JGYlM18tRX4vVuBUSJZJ/TAPQ7L90zMUccAP2vAig== 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=FcN6aQrNzRpIvbdjcc9WpV83ISr0YpdfNCUKNEL3zaM=; b=aPmhIJ8ShZtxJi1z8x74+mx9MrUWkzn28klWH+0uDDXKr38zTTib79Rz6RCIwWExnXpQfdhGEpZLA450CfFEE3UtY8FbXs+603V+DZXa9uTTH6VQ8+9Nyxt5H9p1KS0rId/zSwl3XBxzdGXojpsjanwF/iepRVVPmNdOuRkWp2U= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB2975.eurprd04.prod.outlook.com (2603:10a6:802:9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.33; Mon, 11 May 2020 08:26:50 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2979.033; Mon, 11 May 2020 08:26:50 +0000 From: Akhil Goyal To: Kevin Traynor , "dev@dpdk.org" , Hemant Agrawal , Gagandeep Singh CC: "david.marchand@redhat.com" , "thomas@monjalon.net" , "bruce.richardson@intel.com" , "stable@dpdk.org" Thread-Topic: [PATCH] drivers/crypto: fix gcc 10 fno-common errors Thread-Index: AQHWJVWyLtaZMcJE+USAifNW6XD1aaiikK4A Date: Mon, 11 May 2020 08:26:50 +0000 Message-ID: References: <20200508162755.7114-1-ktraynor@redhat.com> In-Reply-To: <20200508162755.7114-1-ktraynor@redhat.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [45.118.167.80] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: eb7ffb0a-4c2b-4f22-0d9e-08d7f5850dec x-ms-traffictypediagnostic: VI1PR04MB2975:|VI1PR04MB2975: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 04004D94E2 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: J7cKcCuBVIwbIXR4hW2imtFH2CN79SSe1M5HoWGMW9behGap8H6mk23VMlnY3q2is+NqGqgMZFOzlXSxBexBOdDtwCCnMozYvkRYtiLHgY59VElj5jsTeiZ9SmPVfDhRVne8CZ24Q7y6J+hZA11NEcUNFwu7hFX4iw/w1nUufHrpJClgSUGDMDKjIJw3Q9ajwejj1ZSJKKMo0K94xh6zPKUh+m4GIaFlkavQqXG0nGL33QNPN/4kHwJaJ6SMm5+S6gpbWkVPg2IeCOZAGLqu/IR9c1SJliBWF9P0X9C+bgsE7dXWwV3EsuUJ1PLahgFwiGvE7x2Nn/45r8s4TJ2xZbLcGLFOcoZwBvjPVUGU79HQshxsvQ8iCmp+J48TrkcaWRB98fLEQpmfTSnCDGDzZ7F1iatWGEm6DpG3L3+Jf3lGYu4AQ8H6+n9VmxthyFSx+Fm1CDt0PlcNkgEVUp/dQjZe/KmuFS0KYd4j/wFVF1J5yyW/237/H1x1b9JVro95WGPmJ4RZn30HwHLy9eRUcQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(39860400002)(136003)(366004)(376002)(346002)(33430700001)(66946007)(66446008)(64756008)(66556008)(66476007)(2906002)(76116006)(9686003)(478600001)(7696005)(33440700001)(26005)(186003)(86362001)(33656002)(6506007)(52536014)(71200400001)(4326008)(54906003)(316002)(5660300002)(6636002)(110136005)(55016002)(8936002)(8676002)(44832011)(4744005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: fBNgih8LqFS6xFFYqrHD/wy31ZswGBmIV5iKLWxYDSpb3ILch7OVtzsiDh9AYqPBk7HXVHT+29mm+Eq6ssnHvaGJ2Jl0ho2pkhKFqaj67D0neFp/mPSfcZNJDpx/LVrCYqko1iucVaw9R0EACm/5HbVuAHgu2Go5foedlppQ5P7wvhw7vlVbff4/xjN3/Ia0zDB/esKt4AXj+M7gdHZxfE4URlPQW88To7WHMWXaeyPZPQqLrwCfzoXs624Cu7wgw++4NE6820QfaOHuf9ioeiQsno0A9gZs6xDceGW3id26pI3YrQhXdLR+VbOSz0EvVGbljTCLcUjK0ig3LomZ8nPLBpPFlnT2+vTvWtLAoPbLX8/HOOibYoRCkVASV+lgjEM+sVaLRtvfY2bXgvhjLyBH3ZQ3ENBdY67XUOzX4hvwm6hmbS+YXy4TAZ/TzmIHTP2ytm3xMzPzWNyXIcXmYSNxpVJC97Pl0G8+LANICXA= 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: eb7ffb0a-4c2b-4f22-0d9e-08d7f5850dec X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2020 08:26:50.8784 (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: gVqEXmdV/mq2S/Mfd1iFi/Qtg+gfxakOE1t7zYIKq0dE7fREwWsBXoTB7JKj2buhfl5ukMyyQQpaxscxkFmztQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB2975 Subject: Re: [dpdk-dev] [PATCH] drivers/crypto: fix gcc 10 fno-common 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > gcc 10 defaults to -fno-common and as a result when linking > with crypto drivers: >=20 > drivers/librte_pmd_dpaa_sec.a(crypto_dpaa_sec_dpaa_sec.c.o): > (.bss+0x4): multiple definition of `rta_sec_era'; > drivers/librte_pmd_caam_jr.a(crypto_caam_jr_caam_jr.c.o): > (.bss+0x0): first defined here >=20 > drivers/librte_pmd_dpaa2_sec.a(crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o): > (.data+0x0): multiple definition of `rta_sec_era'; > drivers/librte_pmd_caam_jr.a(crypto_caam_jr_caam_jr.c.o): > (.bss+0x0): first defined here >=20 > This is a blunt fix for the issue by enabling fcommon for > dpaa_sec/dpaa2_sec/caam_jr. >=20 > Bugzilla ID: 469 > Cc: stable@dpdk.org >=20 > Signed-off-by: Kevin Traynor >=20 > --- Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.