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 88448A00C2; Wed, 24 Aug 2022 11:05:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30C46415D7; Wed, 24 Aug 2022 11:05:07 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2102.outbound.protection.outlook.com [40.107.20.102]) by mails.dpdk.org (Postfix) with ESMTP id 7676440DDE for ; Wed, 24 Aug 2022 10:59:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C+OGg8GPx9E/QrmZwDvqh4/nTg4nxivO1lPzoikbdpv2gIwdwBPun8psA6inLc3Je8Hf8olZMOmuUnG+/7BaswhGy8+eJJsP9dksbqiqo46A1L5UtCiARbWDGJZZ74AZJ0fyPRp7GEObZFB8DepAXQ55H30tZ7rZ/NR6rR6ZOieJbWiz23HRwSLqRraEfcCVtTKYj+Aq3WBKYwuLlzPLbT7HEh9McHITCq9VgYH8mAqh9Eu6KUPQLcMuM10yXNmYAjPL/vfKM8DZjYNxM44r3M3rFrWdfakzDwZJBrQJlkF9jOlnuYke82hqdLiaK6ecsh8jXBDe8SsUTckeAse8Ug== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NKDlv9JHR6AYkdVvgDUZOM14ajJc2JhaNNv/c+UHCSI=; b=mYJq4MrZhlM2LeMDyZuUpPA93MSpIjDEDdlRbhy182HjTTINmjAVAsiPdbhwxamBA4WAIQcpS6jDGr+TL5zjd82kfQlXFR1NV+aV0qiOcKHvCwAgs4XrarHLsXD10Rh6oZauqNgcjjQXCb8E3j1Ub3qJFxO0YKCT9VMQKUweggsEa/LDU+NrOZg0O+hyxI7Fji0L7Vyb29bYx/WOJhtcuq5+ZHc8wI7zoSwM28odj9/g7OyyDB1Uwr0BCA23A0tpG8lK7+qfbcFVdWmmp17hD5n9SIwMqX02XAhXbAS8kqJKfbHWYQHQ0y+PrCdKZSnXNsbk1+MowFeE6g1hMMmzjQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=radware.com; dmarc=pass action=none header.from=radware.com; dkim=pass header.d=radware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radware.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NKDlv9JHR6AYkdVvgDUZOM14ajJc2JhaNNv/c+UHCSI=; b=K0fAZWfT0h0SXUHFGpU3kRSMsljG4Hy599b4H+bFxikxF0CPJCZ35vRGGF8stiQr/WENOIn2xqYxxbVjZRj7riczNBtDG/e5+ZbFywdBb6DGJAo+f5K+jSw5T5OAzWsy90tHbr87ySJ/b9ZW03SSGQ4I+71P/f/XsGWnp3v7KTQ= Received: from DU2PR01MB8328.eurprd01.prod.exchangelabs.com (2603:10a6:10:2db::18) by DU2PR01MB8031.eurprd01.prod.exchangelabs.com (2603:10a6:10:274::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15; Wed, 24 Aug 2022 08:59:11 +0000 Received: from DU2PR01MB8328.eurprd01.prod.exchangelabs.com ([fe80::8d4d:66fc:1d98:7744]) by DU2PR01MB8328.eurprd01.prod.exchangelabs.com ([fe80::8d4d:66fc:1d98:7744%8]) with mapi id 15.20.5546.022; Wed, 24 Aug 2022 08:59:11 +0000 From: Michael Lekar To: Bruce Richardson CC: "dev@dpdk.org" Subject: RE: dpdk-22.07 Thread-Topic: dpdk-22.07 Thread-Index: Adi2NqTrRZOBraQySk2nouT7CU7BxQBWc/eAAADDouAAAJSWgAAAGt1A Date: Wed, 24 Aug 2022 08:59:11 +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: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=Radware.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0a0167b5-4f1b-4ca8-6872-08da85aee99c x-ms-traffictypediagnostic: DU2PR01MB8031:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: W4+mXfnb5tQ2+Lqk/stJYlbm911XE02mRz+YkBRwHF9olb1nCpvk30/01Ob12Orp/30h18ytaMPb+4usPaxd4qPCgHmAN7DnOAS/chWmxQzSNQbGDIB7EFsnRet7ddD3H+1RtD+N2FBwsJbvlJ2gGXD4UnHvaOmv5YLHQSLv7D5Uhok9IRqckLpa3yOPs+o3kUhxHdsu+bdu51AtMusOBme65ZZaa8xhx8a3Fc+3J/h9C94QcueUFXxyClHFQTV047YT93e6UO7toXqEL9fatDqnUkfTnhNpJ+uEEXt9gx+2nRdTNkCinf7/iVnf20LjSLSdQAYCOZeBFO932xRKkuQQ3C6HGqdftteZN1xSqcSKwPnTX7nYvcVVmPWrt/SOhTYj0tzXO/RRK1s3Z0fpq+JtpTj3XepSamQIe/IHY1TRW4rEId1qFCoy3kkTRgyDQ928Y+5WCXEv/cYhQKu62SP+mvtwFo478wIS5fYdUvUQHnXS8696/s8blaPSF9reAH4nFurzwm/PD63eR2B5Mm7MJfXxbYjiynP8NtIPy/7URgXvF5HdIe/CatEnWyrYWWI3k7dV5xEO+0bgMVbXg8w3aKZgcU4HjUvtV+2Xx+hvdu5p28dAhjEOq02Q7OFDoW1iuoC5QS0BfdzAbztxTmxlGJL6Fqtb2wQawb0qY5x2le8Yxysx761iFeeSJkoCVB1ThycZafKZIATo6+HenZ1Jxjf/XW9VCEbbmuwj0j20aPdSOEdfd/q+Z8NwfEUCQOkSJ0sppl5ul3KE/z1d5w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR01MB8328.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(136003)(366004)(39860400002)(396003)(66556008)(33656002)(55016003)(45080400002)(52536014)(4326008)(8676002)(66446008)(66476007)(76116006)(66946007)(478600001)(9686003)(26005)(122000001)(2906002)(7696005)(53546011)(86362001)(6506007)(5660300002)(64756008)(38070700005)(8936002)(41300700001)(83380400001)(316002)(6916009)(71200400001)(38100700002)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Eyd9fTG0V54SQ+TF2dqrrMdZEIr3+uQ1fORwY+/jS/NelCTZLUAoN7DohLhN?= =?us-ascii?Q?yyBDlyku7pUN+Kt/wD5/Ko1e3XZBi+jPIcIqmNe80+NylOaEDLkSR6dXQkSa?= =?us-ascii?Q?yLU0l56WjH+FnHwuPzCyBzjnXk9RqqCY3cpcJiaEsZuVpOQsGhwmCsiYHcAU?= =?us-ascii?Q?0QUs/X1oy/6OLV1ADYHwKOsr/uEHBTH5EcILpKVpASe7TyBu92kZyBVriZVx?= =?us-ascii?Q?WMixT+XH1MyqCk4Hn7/yaZvZh9zgBusNl51+ISerhf5qBQB8WrxlKE/QppqP?= =?us-ascii?Q?69UNO3egBIHHcQ3sTwh/FvxHlRZp+u9f3u+vqGvoVYmK/tMF+wjZqH0mwI9k?= =?us-ascii?Q?zjV7mcm3zdMY6NCUi0/EbxwJWwSIriTjBdPR1gCz1EVdnkKpDWqbgCcWI1Ed?= =?us-ascii?Q?d6jV76eemQUVuP7/+a4JR1uRkwKhAiiShEimqYhBXJFxAQhgC7XQbQFAKdNC?= =?us-ascii?Q?mvCj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IgYQdb/wSADDg?= =?us-ascii?Q?n9bW7hk9B5RWQ+kA/pV0DI+pgZEwLcVdRCKZMnW3xw73S2WTiOrMkkJz8N90?= =?us-ascii?Q?kp5GLdS85+BMWExDZGyhPHwM1QajD3hku1R3WKI2E2UxpCT9CQJqf+ddw4XN?= =?us-ascii?Q?n+9TMw75H+ZqxOUtgfr5h+yPw9aNFmuWcLms62tz0wsQtYKk2JTWC1fyRohc?= =?us-ascii?Q?sjItS0LmGnd8FdCEQM9ssWmcWmUU+bxD0OmGuo1r?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: radware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU2PR01MB8328.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a0167b5-4f1b-4ca8-6872-08da85aee99c X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2022 08:59:11.6023 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6ae4e000-b5d0-4f48-a766-402d46119b76 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MAeEa273RASPMOSZhfa0TeeaYa9IWIMGObd/NkOC5Qf+yoDycfTPSTzJNgXJvmvU9AQ3iabNU1uy9OOu0JysgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR01MB8031 X-Mailman-Approved-At: Wed, 24 Aug 2022 11:05:05 +0200 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 I tried to change the meson configuration, by adding c_args=3D-fno-builtin= and changing default_ldflags to "-static" instead of "--export-dynamic " = in app/meson.build. But in the case I got LD error about missed lgcc_s lib= rary. Really I have only shared libgcc_s on my build machine. I am not fami= liar witch meson and it's configuration, so I suppose that I do something w= rong. Regards, Michael -----Original Message----- From: Bruce Richardson =20 Sent: Wednesday, August 24, 2022 11:45 AM To: Michael Lekar Cc: dev@dpdk.org Subject: Re: dpdk-22.07 On Wed, Aug 24, 2022 at 08:32:34AM +0000, Michael Lekar wrote: > Thanks a lot for your answer. We need fully statically application, becau= se we want to run it on device with older kernel, than building one. >=20 It's probably more the libc version that would be an issue rather than the = kernel itself. This should be possible to do, but may need some changes to = our build system. Some suggestions (all untested): * You can use the meson "c_link_args" option to set additional linking flags, so perhaps try that to get static versions of some libraries linked in * If that doesn't work, if you remove the .so version of the libs (other th= an libc) that DPDK is linking against and only have the .a file available, I would expect DPDK build to use those .a files instead, which should give a binary only requiring a dynamic libc version. * the c_link_args may then allow you to statically link in your libc too, if you can find the right parameters. /Bruce