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 74406A00C2; Wed, 24 Aug 2022 10:45:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FE3440DFD; Wed, 24 Aug 2022 10:45:30 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 6435040DDE for ; Wed, 24 Aug 2022 10:45:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661330728; x=1692866728; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=grxjqjtDeqZ2plUG8QVVTlfGc5i+H7L8UZ9LMLizoKo=; b=Sz7EPcIl5qWL0ts+eJorxqC95jZGHNla0WbAHe6hRrq77s6n4myofCqW DDUbrAKc9G/8y1w3KDXeQBHxx9xsDUzV0uELzNBlq4vP5GEY1txJPYXiX DrUljl5Q5B7fa6geHVsLg/SND9INgh/iamGBMfGljscYAJx4KHeKxeRRV auRxHSy5IKFSeByellnPHFaqzVbNYqAcuxJwTKTnmPHI1D3uGUFoFD728 hMuc/JQ364dxo28bUZmUU2eO2zIq+2f9vU62vEnpqIMQ20GpcYo4kwjmz S5Un3XvI9H7E5EH0w5zrZpHgB6yuz1WwdxwXhx+t2LKofmIUsGRW16bZC Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10448"; a="357882432" X-IronPort-AV: E=Sophos;i="5.93,260,1654585200"; d="scan'208";a="357882432" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Aug 2022 01:45:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,260,1654585200"; d="scan'208";a="639025527" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga008.jf.intel.com with ESMTP; 24 Aug 2022 01:45:27 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 24 Aug 2022 01:45:27 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 24 Aug 2022 01:45:26 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 24 Aug 2022 01:45:26 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 24 Aug 2022 01:45:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BqiRb8DefS1g4sssWiNOKzYBNg0hJxhIHBfLzihffR20CWjPtM2jyEzv8pCkA4oDNEBqqsDaJu1bEMrp5QHqySR8ZtLGYiYJBfd7LLMJkS8Qzk4HhbVB+h3oV8HWr+VwVZdh7u2L6TLvBVICFMGFjygVQriYteJ9I8rKA7cj8hQSGJVAhQQS68bSGxP7a5m3uvSiakUPnqmNtPVdtQaCVBLsIsuRgidqqRJddpEVONo4v7XAWR2ot/q3jx2FAyjTT5TuLMcfWwrgzJ+FWMDdRtpCqgHYnxVoFPJS/BnOhxYMExdBaWgyyDTwH7i6tpiDoOyUVcoeffqBlq2wNHBDCQ== 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=s+XXis0xEBMZleX81rvXFRzDjzI41VEPRRGBVPKOfs8=; b=KX83pePJdOkvQULfRoZMJ+l0O3n+ZnxbIFZSILqvmAhsaV+NVLh/ZvBLyY3NhzAVSaXi62a69uWNrEqmsHGBDTApmGj4etHgj90FkElXZPTN7hjgD5vSu2Wp+wSO2Oa73Gndc/lWOTlKVtNZNjh2XeQHL51z7bBIDFp1NXfeM3wvpGLq9ZfruzXl+mARQxYa9wgg5z7+LuFGgz0vmfwspK4eC0ogwA6Had9GetYCnmGnWgHmLsep9/ixC5KPtBsOwOdo3V5ikZBxwqlXOcKbR4kcsBoUQynAp/fXTMkRDvr2SoZI+SafpP7PS69x+lQjl+OuHeVcwNvoVPp81a/vTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) by SA1PR11MB5945.namprd11.prod.outlook.com (2603:10b6:806:239::11) 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:45:23 +0000 Received: from MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::13c:8120:d994:16d2]) by MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::13c:8120:d994:16d2%5]) with mapi id 15.20.5546.023; Wed, 24 Aug 2022 08:45:23 +0000 Date: Wed, 24 Aug 2022 09:45:17 +0100 From: Bruce Richardson To: Michael Lekar CC: "dev@dpdk.org" Subject: Re: dpdk-22.07 Message-ID: References: Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: DB6PR0201CA0013.eurprd02.prod.outlook.com (2603:10a6:4:3f::23) To MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: db6a4f67-e947-4b55-9b6a-08da85acfba0 X-MS-TrafficTypeDiagnostic: SA1PR11MB5945:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e7oKkyM+E4WWUzXNPIP/5igp/4gERcjEjRBiwiUmefYDu7t1lCM7xvQ5MTOCmV+lNylfSvNMKCW5lIMjRHOf/FrdefaGMqibSvrmZvl3FIRHjXwtKbhViP13rhDhZqWLZhGtIYM/4fA3BqiqETaR0ytPRuWSEIJzHmYjNdJxp/+iC08wBIRyXOQfosFrlsDUw+YxShOdsJsgAn7QoI3JQIXJ0tDSmMVitXNuz25o5Njhj/CL+rtzmKOnIRz6eR8rnfR4UNhZNvs9QaEGM8FWTjxnuh3rAtvsfaYu0z2Ir4BGmM3yAemLFIeWCjAzqAOkaWMc2L7xAQ3KHnuHEBVWgXJqo4l3EnORV8XDKOckG/b+am6APsY8GUWhWrg/WqVViqwhk+0XcPVLsqcqWP/zEt7YmakzioTjf5Kpcmy7rUIWiA0ZC/JTd5GpyXGOmXJi9qmSMvhcLnNjBTgCoFMshShqi1f/VcC1hKneIWzREC1iZfVysI39LcYiXGVgArHxXVm/oH+ETVdBD/Dnh4NxAsF2LRP08U5zQJG/ulPB4oDbbxdjmHanAKNJ2GpMzd2pofSuPSMyaMEoNAVcZchFgjO2eKDALFJa3iFWn2nCk+c+Y96cvils19S/hxaubjzEac+vVEvO+8Bexo5R3s3uUbEIuI2GzQ2oMgfoQSYKgc8lmAHm6Xx/lrNG0XWoR9ZVE0gJK7FxKLrU8dt2ZAyU4bd1lwJ0qnEHy/kXHpeusjOKUHFhFAEzGzR7uT1A5VTm X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1629.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(396003)(366004)(376002)(136003)(39860400002)(346002)(66556008)(4326008)(66946007)(316002)(66476007)(8676002)(38100700002)(44832011)(4744005)(2906002)(5660300002)(41300700001)(8936002)(82960400001)(86362001)(6486002)(478600001)(6916009)(6506007)(45080400002)(186003)(6666004)(6512007)(26005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?0x5DcvkaX/K7sefozi+Lflw7KdAFv6+Dsh3uD35TVVuFqKulOi5Eqbgra0OK?= =?us-ascii?Q?W3cSCzzaacFsknMNFaJ+jzDBnVU2gPldT4wF/kH4xUe8kTsy/v4aVCua/ksw?= =?us-ascii?Q?uCkCVOik4ww7J7+g9Z8VAPpJn3JiDuunAfN5hkNz3aF6q8TKY8JpryLyDpwR?= =?us-ascii?Q?ieZQ77KJZt+bRpB15iH+cU2wg1ETwPKzOOZqre9SZRxH2ea7lHb+Vxj2zXSM?= =?us-ascii?Q?upKO1mohfErxK6pBREP6+srM7kGWZPvAGsU1pEGPub0nQJ56E+1EZ0Uvg0iI?= =?us-ascii?Q?bHqnTYaB2Sy4pzAL6uVXve0BKiPzHK6MUmxFrhzuMn3adYIfqxHgKWC2s/8H?= =?us-ascii?Q?LcXifuXr2AL6gSpL7h4QVQs+JLAkvpXeDlx97tN4P1UqlvGZrDPXodBbnrdo?= =?us-ascii?Q?RwtI9+rxt2vMZFTwGOahvt4HBwGQwlk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ii?Q?+RR8Rk1LSR1zUe1KNBoAMSYH85uYBcYRe2AsevV8BQ1BKTa5nfRN27kHFWEh?= =?us-ascii?Q?+d4NJpiiqSq0ctyvL3ZbB2kRrhi1V9BUpj1jatDS5Jl4onU0WzNHqL61q/+s?= =?us-ascii?Q?m1L0M4CctuaREyn/shagWdiKAB+ayTVSNufV0mZx9NOn3lvLn73bTWsTvu5X?= =?us-ascii?Q?BO2jcGfvOG6NUddJmHyPkyl9gXWbPGEJi9k21Wsf/uvQSG+O93juzd/42UqJ?= =?us-ascii?Q?+mc9D+Sw094BCqaaYIAeSheDwKSXXUuWQ6Nze1H3IKZp7yPeACg9ji3Uxz8M?= =?us-ascii?Q?0w=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: db6a4f67-e947-4b55-9b6a-08da85acfba0 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1629.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2022 08:45:23.0228 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /eQHgi5SfuBcrvU2h/MjE52ac13s1IuHaICFRYAWeSfA3PWy7XTzpt0yrB+uhYMuM8svHj0jAYaOruzJWdoLfeLl33+vDspgAhGT7FzYBfk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB5945 X-OriginatorOrg: intel.com 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 On Wed, Aug 24, 2022 at 08:32:34AM +0000, Michael Lekar wrote: > Thanks a lot for your answer. We need fully statically application, because we want to run it on device with older kernel, than building one. > 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 than 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