Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41477FCD0D8 for ; Wed, 18 Mar 2026 08:28:08 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9209.1773822477955848350 for ; Wed, 18 Mar 2026 01:27:58 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@windriver.com header.s=PPS06212021 header.b=L9XMD8AH; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=753792e7cf=changqing.li@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62I5f7iA1345601 for ; Wed, 18 Mar 2026 08:27:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=PPS06212021; bh=MCLK6v9Cbe/JMFpuiVjNgk HNeUBa1cXabITfUknTXqU=; b=L9XMD8AHDzMQJqbFNakow59ljoU2gLyMI/Y+iE tUPf3hrfzlGQZKGjEZqKvuVUrjiBdVlB4DDdCVM1m4c6ify6EzUnXw0OzhEXzFPo IlWs7kRsVxroom0wsX2Km7aESEDeMT418JY6l0AegBJcOg8GNjqPWxTU9EpCkgWy K/zbGjJiIidH3WYsOC5eGhHthSQyQth9nPizld8P7JUcqRw15O4GLu5mmTJKN57j tfRYD1YmozoT6JbBXI9qpZ7YsmlLmlbQiWkCoaJffvQoiQo1iNLwkayYXmc5zvE0 wSanjqGQbxGr18c2wRd6A6Sip5OI5S0g1MMTb0+HdpN6MmFg== Received: from ch1pr05cu001.outbound.protection.outlook.com (mail-northcentralusazon11010008.outbound.protection.outlook.com [52.101.193.8]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4cxm66aedc-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 18 Mar 2026 08:27:56 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KUcusJ6W1DyHt42DaxVYnO0IUUhIwJ9Fzu24xlGHxk6rjCLcePyx093z7GzezKQDaeRw7S+0p81HG+1biBxMMrY0lmvrWG8QOlkuZo0P4/WUdbcPsPXCbxfB6wP8/3geKt4iGEbriF0DxdCMfqOK0ipHkoSyxK5PYd5eFJp01nc8Z9pt2oJDBT2hcczgN0eQq7Y8w9PQf2QdUSq1QI5xYyHBAAoyUwYr3I/nRHyb9dV7tTOhW20UZ+hH8nt/HEG5RZdx7Tol3DdwJ/R0Tl6GwW0LKzA73UihYBfrFphRex3V1pj8cZbC5CfX/4lditY9adosEZvatxvIiNElpuIOzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=MCLK6v9Cbe/JMFpuiVjNgkHNeUBa1cXabITfUknTXqU=; b=WnWvyzpx1vCk+pzjmJmEDnm4fKf2yVEZBoUh5KjcFuckdm2xsD+92HV/eAgte5RJpAhT+EIcYfGrNzoQXRFRMxoAoGz5WEWkemqwuLutZ5ljPKsiEZLc+d+22akYIa0zUn41PgcP4EdXPa2WnV6Y+vqrsn5ce7ybkOPQBMedYkDRL6Kob66u4i5drikDHX4gcmmbaYdCUhglbPrdg0wgHgdKhgHgt/wP5aVOkuhJjxtg7nZ3zTdQRjuu80/dAJR3IOXQMcqHiHM8i3hu1+0BX86FS5xsuQyTZpDjlBf7m1vCWayOtAuNF8bsuz/FkWKW+WU4ldgkBfwuN90jg6ytjQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from DS0PR11MB7312.namprd11.prod.outlook.com (2603:10b6:8:11f::18) by SJ2PR11MB8322.namprd11.prod.outlook.com (2603:10b6:a03:549::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9723.19; Wed, 18 Mar 2026 08:27:52 +0000 Received: from DS0PR11MB7312.namprd11.prod.outlook.com ([fe80::531e:6ef5:812b:48f6]) by DS0PR11MB7312.namprd11.prod.outlook.com ([fe80::531e:6ef5:812b:48f6%5]) with mapi id 15.20.9723.018; Wed, 18 Mar 2026 08:27:51 +0000 Content-Type: multipart/alternative; boundary="------------T0abBy6SYssXQlcQ8YRqhlXZ" Message-ID: Date: Wed, 18 Mar 2026 16:27:45 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [oe] [meta-oe][PATCH V2] dlt-daemon: upgrade 2.18.10 to 3.0.0 To: Khem Raj Cc: openembedded-devel@lists.openembedded.org References: <20260317093126.2796106-1-changqing.li@windriver.com> Content-Language: en-US From: Changqing Li In-Reply-To: X-ClientProxiedBy: TYCP286CA0210.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:385::19) To DS0PR11MB7312.namprd11.prod.outlook.com (2603:10b6:8:11f::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7312:EE_|SJ2PR11MB8322:EE_ X-MS-Office365-Filtering-Correlation-Id: 057ff465-744a-4f6c-e0db-08de84c83ead X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016|4022899009|56012099003|18002099003|22082099003|13003099007|8096899003; X-Microsoft-Antispam-Message-Info: PxDwp+tVJSksp9sGvmEblzXjc13E17j8+AtSnn2rUnfJRq5dfm+LuogLepaVYNlKn1DJgysv/cHzPAtOoM9L4EhN7XOYew55C/Rok4Zq1RQzGl56YhGO/cIlt9KsGY5iFXNwlKeUuFUGd9+ZON6FXVB3Y0NEMM6ove19bW4sjBbvVkf+8xLOcrdH+Mbw6y53iY70QICmebFHn0l5Vsj/Y3ntZ8Lj+tP2cOBV0NG8EsvSodazGtPQ5AhX97xlSbT1PkdIvmD/QTRcZ96iU0YXvMt2p7CNVjpawTUKFCy5LHyTT5DXDGLpAXnncKJIG3khLGdwuugxaVoaD3coesbcpmvJUNGXjDXrZiF/Gv5l6hJ8GQUjg5imSChIrnVNmqbiKoYTWjsRwxWocWHrIt/5HM2PJrKnQdvobG3qc7LG7ruvlu6ysk/tTxxkpxXyixi8hO26gexCK9XG7QoW7wsG/C6a1aCOdp9dDWDkMJlyiUUqP3lf3+vWkKRxmaWENYOhw1AGpcTYRJewvHNl3jNp+gf6baylsNxBqC/y9HTdUFnuISNjR2SmOsCRYLPmM/8E/Q5pbKJjxlVUlLvXjFEk5AQLkG0vWeGpPRoOxDpI4B7GrgHL+C7SrEyyViKZ4G5CS0qucXhKycejOXHW44YGSibiBOvzIl8Gl2jRIVIFF/JFZUnTuZLwnKj8+H75TK9R X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR11MB7312.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016)(4022899009)(56012099003)(18002099003)(22082099003)(13003099007)(8096899003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eC85NmtYYkIxa3k3c3RsVVhaR3UvWTE2SG9ZakdsZ2FLb09SYWx1aGxialhS?= =?utf-8?B?NWNGeHM5RFVkZ3NVK0dWS2xJTkFENFFuZmh0dXlaRFR0N3BPYWdFK0d6MmpF?= =?utf-8?B?ejMxNjFSNTdUcUFBRVlicHh4ZFJKSklPbWFWUjdKUElEU1NVMFdNU1RGMGtt?= =?utf-8?B?eldhcGVBajlOdzRpNk9hNVZHT3hYaUUyQnBpQ1o2b2xJVnNoL1hNc01QSmhD?= =?utf-8?B?YlFSZStoNy84aGFUNi9qU1JVa0plTHRDNlI0anl0anA1VUk0SFNUWTVJTmtu?= =?utf-8?B?bk9KN2JraXo5SzhBQjFLNjR2SkRzeENvRUJJYTlpMTkzZjdVczJSMklwdUpz?= =?utf-8?B?ajBjQWVOZlJKMWJCVVVWUUFRQzM5dFBPTDNnQmlZQUNrNkE3akRZRnlkRlZF?= =?utf-8?B?cnFGaUgvZTFscTBraHdrdVA5cFUxRGlPZUdYZFg1MVdVOEluRkpISDdkSU9a?= =?utf-8?B?eTJ1NU9qUVUwdDBZMUVLTU9YTGFlUHJPUnBiNUZoczRRSThXR2YraGx2d05T?= =?utf-8?B?WXpHWE9tck44bU5wakE0dnlCRk9PWHdDaU11NnNKb1VCMDI2ZGRKeXlkRFB5?= =?utf-8?B?TmNXM2lLTGlSQTRLbEE4OHFqbnVSTEFCQzF0TFp6NmRwbFVNUTgrS3lyWGpm?= =?utf-8?B?UU1sblI0RTdPUEtOYkNucG1ETGJaOXdRTjdrdDBUcDNUc2x2eEJKcGlVVXc3?= =?utf-8?B?S0FLck1wTW1XcFQ3LzFKTzNvWS93VnBhVjVHY2hTdE55cGdnK3J0ZWdQZkh0?= =?utf-8?B?aHc5bE90UGxYanFaeHRoWWRlMWdwMXUvTFU3Yzh6OVY0NTNUVisrNnBhQ3I0?= =?utf-8?B?cWxXZldrZHcwRlJHVlhpaytpdk9WbVdhN2pnbGFUTnp1UzZmdFVUVkM4NitE?= =?utf-8?B?NGhsaTdBS292Q052cHlmTjMxdi95TUpLMFZFRzhxV1dMNjRhZ0xpQzZzYVhS?= =?utf-8?B?Q3FYV1g4UDRTMktJZUs0dlk2VW5SNDFxd0ljMi9YL0haMTVUOTE3RHNSR2Fn?= =?utf-8?B?ZVFURWxjWC9TbmIyYWJJOVUyYk5CODNiM1VJaTJ1MmhYQVR0YWEyOG5TOUMy?= =?utf-8?B?U1JaR3ZCeGhRdDkyMHpCTzRKaGROVTlWVWFkU0E5UmRBMlNWNXY0aDVWTitz?= =?utf-8?B?eTRsWHUxYmFNODdha2NMeXN2NUhacDgwZmROdzJPVTVyNUl4dGtqOXhCejlS?= =?utf-8?B?Mk4rUlhJTnIrd1ZUeVo4TjlnS2VOdUxWKytSQTJobytsQXA4RnYvZlE5T09F?= =?utf-8?B?L3dadDE1Q0FCMm15Z0dSV2N5bkZnczJYQUI5bldSUXBrVDE0SnlzTnFTVGt1?= =?utf-8?B?TkVrb3lTL1BMQnJBWmtsc1oyUE56ZGdkcTRqVENiUXZIZHpNeXdhR0MySzJC?= =?utf-8?B?N2pwSm1EZzZBMWpnWTBIUTdvR0lyRjN3K1l0QWQ4RkdLMUZvd3JrN1RuUUVm?= =?utf-8?B?MUtQMEtsdHVnaFdmaGgxa2E5MkhReDRHclBJbzR2ZHBHQWg0c2hMTVFQeEhG?= =?utf-8?B?ZUhBeVJ4RXB3ZEQxYnRrY1E4RWl4L3psWmRCL0dLWjBFWkFrOWZodXZPRUJP?= =?utf-8?B?NGFvWG96bkRjTkY1dXRmNnJGN0JFdHB4djlJQVQ2NkhjbVJDYm8rSzg1blVh?= =?utf-8?B?RVVOQ1JycDFiTUlXWDZIRUpkc2tXODRoVURYRzRNTmVuYWNhcTJtU25KdG90?= =?utf-8?B?NjBDYXg0U1pCV3B4YnRxUXk3ODBLWEtwd3p3akI1c3JDekRROW5PYjlGTDFJ?= =?utf-8?B?bFV4T3g2UW1GbTJEWjJpZkZvZ3VNOEtoSXc1Qmc3Y2hNbFVOdWlqM0lsQWNI?= =?utf-8?B?VWJKZTZuNnhWbDBFT1drUFByY3dtRTFWczVNVTNSM2hVemFRUXNGS3FMSG9t?= =?utf-8?B?WlpZdVNLRVRnc1pqRVkvVUFaSHFiUUFFZ2U0MnVoRmw3WGhlVC9lQzByTWJ2?= =?utf-8?B?cFlzVi9paEF1WXBialFFYy93WTZpTEVMZHZicGZSTTBGdFhEUW80ODJCVHgw?= =?utf-8?B?U3ZISmdmWFh4bG9pZTNhNFl5N1ZXa3NjSGdIRStPVk9ZVWs5UEZYVFcvM1do?= =?utf-8?B?amNEeFNPZXpKc1l0ekNlcVhSSUl5c3hmZlFIa0RITnlVRlFGN0t2azZ3NkYv?= =?utf-8?B?RVBucDVNa3RtczRhMzE2RVVVMW5QMHQ4dXliRkVDUTVvb1B0RzRwQ0t4VFNz?= =?utf-8?B?V216cmVyR0VISmtPNUtHVEVXNk1JVERkWm1vWlA2R09DTWpUWmQrdG94STA1?= =?utf-8?B?VE1QYXVKa25vTHdsMGd0V2pQK3NoS0Evak9XUFNXWEhKcDQvUFJGT2dTSTE0?= =?utf-8?B?V1k5dnZHYjhyNGNQTVEvbUlWSHlRT1l6N1JyY0haZlpHYk9tM21vYTlSS2tM?= =?utf-8?Q?wwjcHg8dRzAuzJ9I=3D?= X-Exchange-RoutingPolicyChecked: rxosmgdJWUjsLiLiv59/MR1edyyvTzl7AxWZpALpNC7r5LyHbSzn9EeJH2R3sN9gv0jfD5OzCPI3o0kOhtYpJ2Bi/2vunPb//SztNJu9wB2+cEBb/0ynjEGEMwDWstDihdC769HqD83WnwFaqbZ1y7m34KexZD+VBI+BagCCdrAEqiM4ypXDTCvu/SKILPGafrwd20mUl0QWG5bnN7sXB12h/T8sBwfjyztOTeX6eHDoBnNh7crB/zlU0wVdnRGSrV/ld+CLZqrVfatcz21ycn55nEuSE09c0e+Jw1p8ka4Q93/16TBjLocLLzgq5UTkgS9/WaSTKcUvFWFTo2yR6g== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 057ff465-744a-4f6c-e0db-08de84c83ead X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7312.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2026 08:27:51.8888 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MMvEp5IAF70XlCYZv6J8bTLPaeJqkotxUJRiXQcd1mQ1a/eV/HgP1/FrE87AjmPFOMhL/Zuewr7URhMoQZNwzuFbPRz2gsMRhOVJ0x9lg6Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR11MB8322 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-ORIG-GUID: vOP3gFpgKncVggBm4pbAGtgsfy95NFgL X-Proofpoint-GUID: H4wmNXaMweb-QQk3IGbYqC64YVvBg8I2 X-Authority-Analysis: v=2.4 cv=fLk0HJae c=1 sm=1 tr=0 ts=69ba620c cx=c_pps a=97Y4xzKGYTGm8d2IOhb7pg==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=Yq5XynenixoA:10 a=VkNPw1HP01LnGYTKEx00:22 a=bi6dqmuHe4P4UrxVR6um:22 a=fTW__CHxibyLmBMfj2wP:22 a=iGHA9ds3AAAA:8 a=Q4-j1AaZAAAA:8 a=ySjF6f4xAAAA:8 a=XMC4lU5bAAAA:20 a=aq5yWuOiAAAA:8 a=0zhiEtMHAAAA:8 a=NEAV23lmAAAA:8 a=pQs5aej7AAAA:8 a=rPClnSe_AAAA:8 a=t7CeM3EgAAAA:8 a=pGLkceISAAAA:8 a=xNf9USuDAAAA:8 a=Hcbv_Ovt8su9vCzIRFQA:9 a=lqcHg5cX4UMA:10 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=o-rgSThERHL5mx4kWDsA:9 a=Aj_tSafrT4r6heaA:21 a=_W_S_7VecoQA:10 a=nM-MV4yxpKKO9kiQg6Ot:22 a=9H3Qd4_ONW2Ztcrla5EB:22 a=SVe2G6S_LxxHVpu7-jkk:22 a=Y14ZAb90kLroVcJnHI4s:22 a=v7CeC1Rd8Ef7gCqLsajQ:22 a=npGTQlmte4lqeLD-QWPy:22 a=FdTzh2GWekK77mhwV6Dw:22 a=bA3UWDv6hWIuX7UZL3qL:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzE4MDA3MSBTYWx0ZWRfX7gF9QlveA+dZ Ycz+at98LTiEbNX/OKpkvW89mk6mpjlFxsyftltI9vSRwSL3ZgNwQsKASUWez/RRbp+kSVM9Aym KcBW+od+sA4zB/8X39/+cw80UKxpY1Ia6H0p+KGjot2NrGgHPCyYPkLqWhzzcCBxYiCG+EMykbo CP3aTYHsdef+VHo5HZmqcHOYgTRhLsHRAMP6OSjYx0Cy90yUCLrPjd2iG6AF66XzoPr5IfpZuPa CRSNo//2dyKU7/pYyHCYL0Z1dYN9PSjwkxsuOy9UCFLqjM/3QNYZ5hNkzmKwz3pAJkLkBCBO/Ho Qpv9Uo5X+csDyt89LgbptW8qHEoQOb5Tdi6t5xG9WD8eoPw9BPXi9PMLhN6M5MmJH63qG67lahO 71+Z8CNm7hP0IotBzaJ1WCB1WsIk1ttarj1VxYTZs3K1OHEqmV8oybPl7zxrxs1bLr7U8+nnGUP RddxTcyhCHVn5CvUp4g== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-17_05,2026-03-17_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603180071 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 18 Mar 2026 08:28:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/125350 --------------T0abBy6SYssXQlcQ8YRqhlXZ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 62I5f7iA1345601 On 3/18/26 12:53, Khem Raj wrote: > ** > *CAUTION: This email comes from a non Wind River email account!* > Do not click links or open attachments unless you recognize the sender=20 > and know the content is safe. > fails to build see -=20 > https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/5867436/raw_i= nline=20 > V3 has sent to fix this. //Changqing > > On Tue, Mar 17, 2026 at 2:31=E2=80=AFAM Changqing Li via=20 > lists.openembedded.org=20 > =20 > =3Dwindriver.com@lists.openembedded.org>=20 > wrote: > > Changes: > https://github.com/COVESA/dlt-daemon/releases > > > Remove patches already in 3.0.0: > 544.patch > 567.patch > 0001-CMakeLists-txt-make-DLT_WatchdogSec-can-be-set-by-user.patch > 0003-allow-build-with-cmake-4.patch > > Add patches to fix build failures > 0001-Fix-compile-failure-related-to-gzlog.patch > 0001-Fix-kinds-of-build-failure.patch > 0001-Fix-build-failures.patch > 0001-fix-build-failure-when-systemd-is-enabled.patch > > Signed-off-by: Changqing Li > --- > =C2=A0...e-DLT_WatchdogSec-can-be-set-by-user.patch |=C2=A0 40 -- > =C2=A0.../dlt-daemon/0001-Fix-build-failures.patch=C2=A0 | 360 ++++= +++++++++++ > =C2=A0...Fix-compile-failure-related-to-gzlog.patch |=C2=A0 69 +++ > =C2=A0.../0001-Fix-kinds-of-build-failure.patch=C2=A0 =C2=A0 =C2=A0= | 174 +++++++ > =C2=A0...uild-failure-when-systemd-is-enabled.patch | 423 > ++++++++++++++++++ > =C2=A0.../0003-allow-build-with-cmake-4.patch=C2=A0 =C2=A0 =C2=A0 =C2= =A0|=C2=A0 99 ---- > =C2=A0.../dlt-daemon/dlt-daemon/544.patch=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0|=C2=A0 80 ---- > =C2=A0.../dlt-daemon/dlt-daemon/567.patch=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0|=C2=A0 36 -- > =C2=A0...-daemon_2.18.10.bb > > =3D> dlt-daemon_3.0.0.bb > } > |=C2=A0 11 +- > =C2=A09 files changed, 1032 insertions(+), 260 deletions(-) > =C2=A0delete mode 100644 > meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-txt-= make-DLT_WatchdogSec-can-be-set-by-user.patch > =C2=A0create mode 100644 > meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-build-failu= res.patch > =C2=A0create mode 100644 > meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-compile-fai= lure-related-to-gzlog.patch > =C2=A0create mode 100644 > meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-kinds-of-bu= ild-failure.patch > =C2=A0create mode 100644 > meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-fix-build-failu= re-when-systemd-is-enabled.patch > =C2=A0delete mode 100644 > meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-wit= h-cmake-4.patch > =C2=A0delete mode 100644 > meta-oe/recipes-extended/dlt-daemon/dlt-daemon/544.patch > =C2=A0delete mode 100644 > meta-oe/recipes-extended/dlt-daemon/dlt-daemon/567.patch > =C2=A0rename meta-oe/recipes-extended/dlt-daemon/{dlt-daemon_2.18.1= 0.bb > > =3D> dlt-daemon_3.0.0.bb > } > (90%) > > diff --git > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-tx= t-make-DLT_WatchdogSec-can-be-set-by-user.patch > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-tx= t-make-DLT_WatchdogSec-can-be-set-by-user.patch > deleted file mode 100644 > index 335872c40f..0000000000 > --- > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-tx= t-make-DLT_WatchdogSec-can-be-set-by-user.patch > +++ /dev/null > @@ -1,40 +0,0 @@ > -From bc03f142507da92add8ba325fdf8187d47a7d719 Mon Sep 17 00:00:00 > 2001 > -From: Changqing Li > -Date: Fri, 13 Dec 2024 16:37:24 +0800 > -Subject: [PATCH] CMakeLists.txt: make DLT_WatchdogSec can be set > by user > - > -In my test env, WatchdogSec default value 2 is not enough, manuall= y > -changed to 3 is ok. This makes dlt.service/dlt-system.service star= t > -failed during boot time. So, make DLT_WatchdogSec can be set by > user, so > -user can set them to proper value at build time, then service can > start > -successfully in boot time. > - > -Signed-off-by: Changqing Li > - > -Upstream-Status: Backport > [https://github.com/COVESA/dlt-daemon/pull/720/commits/bc03f142507d= a92add8ba325fdf8187d47a7d719 > ] > - > -Signed-off-by: Changqing Li > ---- > - systemd/CMakeLists.txt | 8 ++++++-- > - 1 file changed, 6 insertions(+), 2 deletions(-) > - > -diff --git a/systemd/CMakeLists.txt b/systemd/CMakeLists.txt > -index 16cbe86b5..659378d16 100644 > ---- a/systemd/CMakeLists.txt > -+++ b/systemd/CMakeLists.txt > -@@ -18,10 +18,14 @@ if(WITH_SYSTEMD) > -=C2=A0 =C2=A0 =C2=A0set(SYSTEMD_CONFIGURATIONS_FILES_DIR ${SYSTEMD= _UNITDIR} ) > - > -=C2=A0 =C2=A0 =C2=A0if(WITH_SYSTEMD_WATCHDOG) > --=C2=A0 =C2=A0 =C2=A0 =C2=A0 set( DLT_WatchdogSec 2 ) > -+=C2=A0 =C2=A0 =C2=A0 =C2=A0 if(NOT DEFINED DLT_WatchdogSec) > -+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 set(DLT_WatchdogSec 2 C= ACHE STRING "Watchdog timeout > in seconds") > -+=C2=A0 =C2=A0 =C2=A0 =C2=A0 endif() > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0message( STATUS "The systemd wat= chdog is enabled - > timeout is set to ${DLT_WatchdogSec} seconds") > -=C2=A0 =C2=A0 =C2=A0else(WITH_SYSTEMD_WATCHDOG) > --=C2=A0 =C2=A0 =C2=A0 =C2=A0 set( DLT_WatchdogSec 0 ) > -+=C2=A0 =C2=A0 =C2=A0 =C2=A0 if(NOT DEFINED DLT_WatchdogSec) > -+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0set(DLT_WatchdogS= ec 0 CACHE STRING "Watchdog > timeout in seconds") > -+=C2=A0 =C2=A0 =C2=A0 =C2=A0 endif() > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0message( STATUS "The systemd wat= chdog is disabled") > -=C2=A0 =C2=A0 =C2=A0endif(WITH_SYSTEMD_WATCHDOG) > diff --git > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-build-fai= lures.patch > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-build-fai= lures.patch > new file mode 100644 > index 0000000000..6cfa3a5482 > --- /dev/null > +++ > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-build-fai= lures.patch > @@ -0,0 +1,360 @@ > +From 4813b72cfe82062db41dd1d8cfa7069634d78d9e Mon Sep 17 00:00:00 > 2001 > +From: Changqing Li > +Date: Mon, 16 Mar 2026 13:28:40 +0800 > +Subject: [PATCH] Fix build failures > + > +Fix the following similar build failures, some of the build failur= e > +reproduced with arm64/riscv64, some of the build reproduced with > 32bit > +x86/arm. > + > +dlt_daemon_common.c:2785:26: error: conversion to 'int8_t' {aka > 'signed char'} from 'char' may change the sign of the result > [-Werror=3Dsign-conversion] > + > +src/tests/dlt-test-multi-process-client-v2.c:302:49: error: > format '%lld' expects argument of type 'long long int', but > argument 2 has type 'time_t' {aka 'long int'} [-Werror=3Dformat=3D] > +=C2=A0 302 |=C2=A0 =C2=A0 =C2=A0printf(" Time running (seconds)=C2= =A0 =C2=A0 =C2=A0 =C2=A0 : %lld\n", > time(NULL) - stats.first_message_time); > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ~~~^ =C2=A0 > =C2=A0~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2= =A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 | > +=C2=A0 =C2=A0 =C2=A0 | =C2=A0long long int=C2=A0 =C2=A0 time_t {ak= a long int} > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 %ld > + > +src/lib/dlt_user.c:5109:60: error: format '%lld' expects argument > of type 'long long int', but argument 4 has type '__off_t' {aka > 'long int'} [-Werror=3Dformat=3D] > + 5109 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_vlog(LO= G_DEBUG, "%s: Current file > size=3D[%lld]\n", __func__, > +=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0~~~^ > +=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 | > +=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 long long int > +=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0%ld > + 5110 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 st.st_size); > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ~~~~~~~~~~ > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 __off_t {aka long int} > + > +Upstream-Status: Submitted > [https://github.com/COVESA/dlt-daemon/pull/827 > ] > + > +Signed-off-by: Changqing Li > +--- > + src/daemon/dlt-daemon.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 8 ++--- > + src/daemon/dlt_daemon_client.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0| 32 > ++++++++++---------- > + src/daemon/dlt_daemon_common.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0|=C2=A0 4 +-- > + src/lib/dlt_user.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 18 +++++------ > + src/shared/dlt_common.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 2 +- > + src/shared/dlt_multiple_files.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 |=C2=A0 2 +- > + src/tests/dlt-test-multi-process-client-v2.c |=C2=A0 8 ++--- > + src/tests/dlt-test-multi-process-v2.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 = |=C2=A0 2 +- > + src/tests/dlt-test-multi-process.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0|=C2=A0 2 +- > + 9 files changed, 39 insertions(+), 39 deletions(-) > + > +diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c > +index 523bf33..2ae5bc9 100644 > +--- a/src/daemon/dlt-daemon.c > ++++ b/src/daemon/dlt-daemon.c > +@@ -457,7 +457,7 @@ int option_file_parser(DltDaemonLocal > *daemon_local) > + > +=C2=A0 =C2=A0 =C2=A0if (n < 0 || (size_t)n > > sizeof(daemon_local->flags.loggingFilename)) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_vlog(LOG_WARNING, "%s: snpri= ntf > truncation/error(%ld) %s\n", > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 __func__,= n, daemon_local->flags.loggingFilename); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 __func__,= (long int)n, > daemon_local->flags.loggingFilename); > +=C2=A0 =C2=A0 =C2=A0} > +=C2=A0 =C2=A0 =C2=A0daemon_local->flags.enableLoggingFileLimit =3D= false; > +=C2=A0 =C2=A0 =C2=A0daemon_local->flags.loggingFileSize =3D 250000= ; > +@@ -2501,7 +2501,7 @@ void dlt_daemon_exit_trigger() > +=C2=A0 =C2=A0 =C2=A0n =3D snprintf(tmp, DLT_PATH_MAX, "%s/dlt", dl= tFifoBaseDir); > +=C2=A0 =C2=A0 =C2=A0if (n < 0 || (size_t)n > DLT_PATH_MAX) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_vlog(LOG_WARNING, "%s: snpri= ntf > truncation/error(%ld) %s\n", > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 __func__,= n, tmp); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 __func__,= (long int)n, tmp); > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0(void)unlink(tmp); > +@@ -2878,8 +2878,8 @@ int dlt_daemon_log_internal(DltDaemon > *daemon, DltDaemonLocal *daemon_local, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_daemon_client_send(DLT_DAEMO= N_SEND_TO_ALL, > daemon,daemon_local, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.headerbuffer, > sizeof(DltStorageHeader), > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.headerbuffer + > sizeof(DltStorageHeader), > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (size_t)(msg.headersize - > (int32_t)sizeof(DltStorageHeader)), > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffer, > (size_t)msg.datasize, verbose); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (int)(msg.headersize - > (int32_t)sizeof(DltStorageHeader)), > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffer, (int)msg.datasize, > verbose); > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0free(msg.databuffer); > +=C2=A0 =C2=A0 =C2=A0}else { > +diff --git a/src/daemon/dlt_daemon_client.c > b/src/daemon/dlt_daemon_client.c > +index 50d8f19..20a512b 100644 > +--- a/src/daemon/dlt_daemon_client.c > ++++ b/src/daemon/dlt_daemon_client.c > +@@ -551,8 +551,8 @@ int > dlt_daemon_client_send_message_to_all_client(DltDaemon *daemon, > +=C2=A0 =C2=A0 =C2=A0return dlt_daemon_client_send(DLT_DAEMON_SEND_= TO_ALL, > daemon, daemon_local, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0daem= on_local->msg.headerbuffer, > sizeof(DltStorageHeader), > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0daem= on_local->msg.headerbuffer + > sizeof(DltStorageHeader), > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (size_t)(= daemon_local->msg.headersize - > (int32_t)sizeof(DltStorageHeader)), > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 daemon_lo= cal->msg.databuffer, > (size_t)daemon_local->msg.datasize, verbose); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (int)(dae= mon_local->msg.headersize - > (int32_t)sizeof(DltStorageHeader)), > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 daemon_lo= cal->msg.databuffer, > (int)daemon_local->msg.datasize, verbose); > + > + } > + > +@@ -771,8 +771,8 @@ int > dlt_daemon_client_send_control_message(int sock, > +=C2=A0 =C2=A0 =C2=A0if ((ret =3D > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dlt_daemon_client= _send(sock, daemon, daemon_local, > msg->headerbuffer, sizeof(DltStorageHeader), > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg->he= aderbuffer + > sizeof(DltStorageHeader), > +- (size_t)(msg->headersize - (int32_t)sizeof(DltStorageHeader)), > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 msg->databuff= er, > (size_t)msg->datasize, verbose))) { > ++ (int)(msg->headersize - (int32_t)sizeof(DltStorageHeader)), > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 msg->databuff= er, > (int)msg->datasize, verbose))) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_log(LOG_DEBUG, > "dlt_daemon_control_send_control_message: DLT message send to all > failed!.\n"); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return ret; > +=C2=A0 =C2=A0 =C2=A0} > +@@ -1919,7 +1919,7 @@ void dlt_daemon_control_get_log_info(int soc= k, > + > +=C2=A0 =C2=A0 =C2=A0/* Allocate buffer for response message */ > +=C2=A0 =C2=A0 =C2=A0resp.databuffer =3D (uint8_t *)malloc((size_t)= resp.datasize); > +-=C2=A0 =C2=A0 resp.databuffersize =3D (size_t)resp.datasize; > ++=C2=A0 =C2=A0 resp.databuffersize =3D resp.datasize; > + > +=C2=A0 =C2=A0 =C2=A0if (resp.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_daemon_control_service_respo= nse(sock, > +@@ -2572,7 +2572,7 @@ int > dlt_daemon_control_message_buffer_overflow(int sock, > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -2633,7 +2633,7 @@ int > dlt_daemon_control_message_buffer_overflow_v2(int sock, > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -2686,7 +2686,7 @@ void > dlt_daemon_control_service_response(int sock, > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -2732,7 +2732,7 @@ void > dlt_daemon_control_service_response_v2(int sock, > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -2779,7 +2779,7 @@ int > dlt_daemon_control_message_unregister_context(int sock, > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -2842,7 +2842,7 @@ int > dlt_daemon_control_message_unregister_context_v2(int sock, > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -2909,7 +2909,7 @@ int > dlt_daemon_control_message_connection_info(int sock, > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -2962,7 +2962,7 @@ int > dlt_daemon_control_message_connection_info_v2(int sock, > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -3010,7 +3010,7 @@ int dlt_daemon_control_message_timezone(int > sock, DltDaemon *daemon, DltDaemonLo > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -3072,7 +3072,7 @@ int > dlt_daemon_control_message_timezone_v2(int sock, DltDaemon > *daemon, DltDaemo > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +@@ -3127,7 +3127,7 @@ int dlt_daemon_control_message_marker(int > sock, DltDaemon *daemon, DltDaemonLoca > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg.databuffer =3D (uint8_t *)ma= lloc((size_t)msg.datasize); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D (size_t)msg.da= tasize; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.databuffersize =3D msg.datasize; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (msg.databuffer =3D=3D 0) > +diff --git a/src/daemon/dlt_daemon_common.c > b/src/daemon/dlt_daemon_common.c > +index 2f08c6a..65b264a 100644 > +--- a/src/daemon/dlt_daemon_common.c > ++++ b/src/daemon/dlt_daemon_common.c > +@@ -2782,7 +2782,7 @@ int > dlt_daemon_user_send_log_state(DltDaemon *daemon, > DltDaemonApplication *app, > +=C2=A0 =C2=A0 =C2=A0if (dlt_user_set_userheader(&userheader, > DLT_USER_MESSAGE_LOG_STATE) < DLT_RETURN_OK) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return -1; > + > +-=C2=A0 =C2=A0 logstate.log_state =3D daemon->connectionState; > ++=C2=A0 =C2=A0 logstate.log_state =3D (int8_t)daemon->connectionSt= ate; > + > +=C2=A0 =C2=A0 =C2=A0/* log to FIFO */ > +=C2=A0 =C2=A0 =C2=A0ret =3D dlt_user_log_out2_with_timeout(app->us= er_handle, > +@@ -2811,7 +2811,7 @@ int > dlt_daemon_user_send_log_state_v2(DltDaemon *daemon, > DltDaemonApplication *a > +=C2=A0 =C2=A0 =C2=A0if (dlt_user_set_userheader_v2(&userheader, > DLT_USER_MESSAGE_LOG_STATE) < DLT_RETURN_OK) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return -1; > + > +-=C2=A0 =C2=A0 logstate.log_state =3D daemon->connectionState; > ++=C2=A0 =C2=A0 logstate.log_state =3D (int8_t)daemon->connectionSt= ate; > + > +=C2=A0 =C2=A0 =C2=A0/* log to FIFO */ > +=C2=A0 =C2=A0 =C2=A0ret =3D dlt_user_log_out2_with_timeout(app->us= er_handle, > +diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c > +index 6d0098d..e432e26 100644 > +--- a/src/lib/dlt_user.c > ++++ b/src/lib/dlt_user.c > +@@ -5106,8 +5106,8 @@ DltReturnValue > dlt_user_log_send_log(DltContextData *log, const int mtype, int * > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0retu= rn DLT_RETURN_ERROR; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dlt_vlog(LOG_DEBUG, "%s= : Current file size=3D[%ld]\n", > __func__, > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0st.st_size); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dlt_vlog(LOG_DEBUG, "%s= : Current file > size=3D[%lld]\n", __func__, > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0(long long int)st.st_size); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Check filesize = */ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Return error if= the file size has reached to > maximum */ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0unsigned int msg_s= ize =3D (unsigned int)st.st_size + > (unsigned int)msg.headersize + > +@@ -5115,8 +5115,8 @@ DltReturnValue > dlt_user_log_send_log(DltContextData *log, const int mtype, int * > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (msg_size > dlt= _user.filesize_max) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_= user_file_reach_max =3D true; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_= vlog(LOG_ERR, > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0"%s: File size (%ld bytes) reached to > defined maximum size (%d bytes)\n", > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0__func__, st.st_size, > dlt_user.filesize_max); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0"%s: File size (%lld bytes) reached to > defined maximum size (%d bytes)\n", > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0__func__, (long long int)st.st_size, > dlt_user.filesize_max); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_= mutex_unlock(); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0retu= rn DLT_RETURN_FILESZERR; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > +@@ -5612,21 +5612,21 @@ DltReturnValue > dlt_user_log_send_log_v2(DltContextData *log, const int mtype, Dl > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0retu= rn DLT_RETURN_ERROR; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dlt_vlog(LOG_DEBUG, "%s= : Current file size=3D[%ld]\n", > __func__, > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0st.st_size); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dlt_vlog(LOG_DEBUG, "%s= : Current file > size=3D[%lld]\n", __func__, > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0(long long int)st.st_size); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Check filesize = */ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Return error if= the file size has reached to > maximum */ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0unsigned int msg_s= ize =3D 0; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (st.st_size < 0= || st.st_size > UINT_MAX) { > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dlt_vlog(= LOG_ERR, "%s: File size (%ld bytes) is > invalid or too large for unsigned int\n", __func__, st.st_size); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dlt_vlog(= LOG_ERR, "%s: File size (%lld bytes) is > invalid or too large for unsigned int\n", __func__, (long long > int)st.st_size); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0retu= rn DLT_RETURN_FILESZERR; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg_size =3D (unsi= gned int)st.st_size + (unsigned int) > msg.headersizev2 + (unsigned int) log->size; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (msg_size > dlt= _user.filesize_max) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_= user_file_reach_max =3D true; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_= vlog(LOG_ERR, > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0"%s: File size (%ld bytes) reached to > defined maximum size (%d bytes)\n", > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0__func__, st.st_size, > dlt_user.filesize_max); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0"%s: File size (%lld bytes) reached to > defined maximum size (%d bytes)\n", > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0__func__, (long long int)st.st_size, > dlt_user.filesize_max); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0retu= rn DLT_RETURN_FILESZERR; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0else { > +diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c > +index 6ad354b..aa0aaaa 100644 > +--- a/src/shared/dlt_common.c > ++++ b/src/shared/dlt_common.c > +@@ -1220,7 +1220,7 @@ DltReturnValue > dlt_message_header_flags_v2(DltMessageV2 *msg, char *text, size_t > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0for (int i =3D 0; = i<5; ++i){ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tt =3D= (tt << 8) | msg->headerextrav2.seconds[i]; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 snprintf(text + strlen(= text), textlength - > strlen(text), "%ld.%.9u ", tt, msg->headerextrav2.nanoseconds); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 snprintf(text + strlen(= text), textlength - > strlen(text), "%lld.%.9u ", (long long int)tt, > msg->headerextrav2.nanoseconds); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0else > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snprintf(text + st= rlen(text), textlength - > strlen(text), "---------- "); > +diff --git a/src/shared/dlt_multiple_files.c > b/src/shared/dlt_multiple_files.c > +index c4019e5..65529ff 100644 > +--- a/src/shared/dlt_multiple_files.c > ++++ b/src/shared/dlt_multiple_files.c > +@@ -257,7 +257,7 @@ ssize_t > multiple_files_buffer_get_total_size(const MultipleFilesRingBuffer > *file > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (((unsigned int= )res < sizeof(filename)) && (res > > 0)) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0errn= o =3D 0; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (= 0 =3D=3D stat(filename, &status)) > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 size +=3D status.st_size; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 size +=3D (ssize_t)status.st_size; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0else > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0fprintf(stderr, "file %s cannot be stat-ed, > error=3D%s\n", filename, strerror(errno)); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > +diff --git a/src/tests/dlt-test-multi-process-client-v2.c > b/src/tests/dlt-test-multi-process-client-v2.c > +index 2bb1158..ec99720 100644 > +--- a/src/tests/dlt-test-multi-process-client-v2.c > ++++ b/src/tests/dlt-test-multi-process-client-v2.c > +@@ -299,10 +299,10 @@ void print_stats(s_statistics stats, > s_parameters params) > +=C2=A0 =C2=A0 =C2=A0printf(" Messages received=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0: %d\n", > stats.messages_received); > +=C2=A0 =C2=A0 =C2=A0printf(" Broken messages received=C2=A0 =C2=A0= =C2=A0 : %d\n", > stats.broken_messages_received); > +=C2=A0 =C2=A0 =C2=A0printf(" Bytes received=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : %d\n", > stats.bytes_received); > +-=C2=A0 =C2=A0 printf(" Time running (seconds)=C2=A0 =C2=A0 =C2=A0= =C2=A0 : %ld\n", time(NULL) > - stats.first_message_time); > +-=C2=A0 =C2=A0 printf(" Throughput (msgs/sec)/(B/sec) : %ld/%ld\n"= , > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0stats.messages_received = / ((time(NULL) - > stats.first_message_time) + 1), > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(stats.bytes_received) /= ((time(NULL) - > stats.first_message_time) + 1)); > ++=C2=A0 =C2=A0 printf(" Time running (seconds)=C2=A0 =C2=A0 =C2=A0= =C2=A0 : %lld\n", (long long > int)(time(NULL) - stats.first_message_time)); > ++=C2=A0 =C2=A0 printf(" Throughput (msgs/sec)/(B/sec) : %lld/%lld\= n", > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(long long int)(stats.me= ssages_received / > ((time(NULL) - stats.first_message_time) + 1)), > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(long long int)((stats.b= ytes_received) / ((time(NULL) > - stats.first_message_time) + 1))); > + > +=C2=A0 =C2=A0 =C2=A0if (params.messages_left =3D=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (stats.broken_messages_receiv= ed =3D=3D 0) > +diff --git a/src/tests/dlt-test-multi-process-v2.c > b/src/tests/dlt-test-multi-process-v2.c > +index 44a8622..1d3a54a 100644 > +--- a/src/tests/dlt-test-multi-process-v2.c > ++++ b/src/tests/dlt-test-multi-process-v2.c > +@@ -393,7 +393,7 @@ void *do_logging(void *arg) > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sleep_time =3D mksleep_time(data= ->params.delay, > data->params.delay_fudge); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ts.tv_sec =3D sleep_time / 10000= 00000; > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 ts.tv_nsec =3D sleep_time % 100000000= 0; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 ts.tv_nsec =3D (long int)(sleep_time = % 1000000000); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nanosleep(&ts, NULL); > +=C2=A0 =C2=A0 =C2=A0} > + > +diff --git a/src/tests/dlt-test-multi-process.c > b/src/tests/dlt-test-multi-process.c > +index 016c8b4..00fb11c 100644 > +--- a/src/tests/dlt-test-multi-process.c > ++++ b/src/tests/dlt-test-multi-process.c > +@@ -370,7 +370,7 @@ void *do_logging(void *arg) > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sleep_time =3D mksleep_time(data= ->params.delay, > data->params.delay_fudge); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ts.tv_sec =3D sleep_time / 10000= 00000; > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 ts.tv_nsec =3D sleep_time % 100000000= 0; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 ts.tv_nsec =3D (long int)(sleep_time = % 1000000000); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nanosleep(&ts, NULL); > +=C2=A0 =C2=A0 =C2=A0} > + > +-- > +2.34.1 > + > diff --git > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-compile-f= ailure-related-to-gzlog.patch > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-compile-f= ailure-related-to-gzlog.patch > new file mode 100644 > index 0000000000..f9692d9f4d > --- /dev/null > +++ > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-compile-f= ailure-related-to-gzlog.patch > @@ -0,0 +1,69 @@ > +From bee9bce043c72de1d27a4251333ace9fe66bcc74 Mon Sep 17 00:00:00 > 2001 > +From: Changqing Li > +Date: Thu, 12 Mar 2026 19:37:11 +0800 > +Subject: [PATCH] Fix compile failure related to gzlog > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=3DUTF-8 > +Content-Transfer-Encoding: 8bit > + > +* In commit [1], gzlog is changed from gzFile to gzFile*, this cau= se > +=C2=A0 failure: > +/dlt-daemon/src/offlinelogstorage/dlt_offline_logstorage.c:88:21: > error: passing argument 1 of =E2=80=98gzclose=E2=80=99 from incompa= tible pointer > type [-Werror=3Dincompatible-pointer-types] > +=C2=A0 =C2=A088 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gzclose(data->g= zlog); > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0~~~~^~~~~~~ > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0struct gzFile_s ** > +compilation terminated due to -Wfatal-errors. > + > +so change gzlog back to gzFile, so that all the gzxxx function > can work > +well. > + > +* Change to gzFile causes the following failure, since fileno need > +=C2=A0 FILE*, according to code "config->gzlog =3D gzdopen(config-= >fd, > mode)", > +=C2=A0 seems we don't need to use fileno, just use config->fd is o= k. > +/dlt-daemon/src/offlinelogstorage/dlt_offline_logstorage_behavior.= c:1133:48: > error: passing argument 1 of =E2=80=98fileno=E2=80=99 from incompat= ible pointer > type [-Werror=3Dincompatible-pointer-types] > + 1133 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (fsync(fileno(config->gzlog)) > !=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 | ~~~~~~^~~~~~~ > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | > +=C2=A0 =C2=A0 =C2=A0 | gzFile {aka struct gzFile_s *} > +compilation terminated due to -Wfatal-errors. > + > +[1] > https://github.com/COVESA/dlt-daemon/commit/543087ba98c103dc576edad= eccf614c9dab1b9b3 > > + > +Upstream-Status: Submitted > [https://github.com/COVESA/dlt-daemon/pull/826 > ] > + > +Signed-off-by: Changqing Li > +--- > + src/offlinelogstorage/dlt_offline_logstorage.h=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 | 2 +- > + src/offlinelogstorage/dlt_offline_logstorage_behavior.c | 2 +- > + 2 files changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/src/offlinelogstorage/dlt_offline_logstorage.h > b/src/offlinelogstorage/dlt_offline_logstorage.h > +index fe38687..09ea5ce 100644 > +--- a/src/offlinelogstorage/dlt_offline_logstorage.h > ++++ b/src/offlinelogstorage/dlt_offline_logstorage.h > +@@ -217,7 +217,7 @@ struct DltLogStorageFilterConfig > +=C2=A0 =C2=A0 =C2=A0FILE *log;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /* current open log file */ > +=C2=A0 =C2=A0 =C2=A0int fd;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* The file descriptor f= or > the active log file */ > + #ifdef DLT_LOGSTORAGE_USE_GZIP > +-=C2=A0 =C2=A0 gzFile *gzlog;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 /* current open gz log file */ > ++=C2=A0 =C2=A0 gzFile gzlog;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* current open gz log file */ > + #endif > +=C2=A0 =C2=A0 =C2=A0void *cache;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /* log data cache */ > +=C2=A0 =C2=A0 =C2=A0unsigned int specific_size;=C2=A0 =C2=A0 =C2=A0= /* cache size used for > specific_size sync strategy */ > +diff --git > a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c > b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c > +index f17fbb2..ff09c9e 100644 > +--- a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c > ++++ b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c > +@@ -1130,7 +1130,7 @@ int > dlt_logstorage_prepare_on_msg(DltLogStorageFilterConfig *config, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0(config->sync =3D=3D DLT_LOGSTORAGE_SYNC_UNSET)) { > + #ifdef DLT_LOGSTORAGE_USE_GZIP > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0if (config->gzip_compression =3D=3D > DLT_LOGSTORAGE_GZIP_ON) { > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 if (fsync(fileno(config->gzlog)) !=3D 0) { > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 if (fsync(config->fd) !=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (errno !=3D ENOSYS) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_vlog(LOG_ERR, "%s= : failed to > sync gzip log file\n", __func__); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > +-- > +2.34.1 > + > diff --git > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-kinds-of-= build-failure.patch > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-kinds-of-= build-failure.patch > new file mode 100644 > index 0000000000..403d1089e2 > --- /dev/null > +++ > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-kinds-of-= build-failure.patch > @@ -0,0 +1,174 @@ > +From 3d713358fe19ce02e7c580d26222ec2386c94bc9 Mon Sep 17 00:00:00 > 2001 > +From: Changqing Li > +Date: Thu, 12 Mar 2026 20:06:34 +0800 > +Subject: [PATCH] Fix kinds of build failure > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=3DUTF-8 > +Content-Transfer-Encoding: 8bit > + > +Fix kinds of build failures caused by -Werror=3Dsign-conversion, > +-Werror=3Dcast-qual, -Werror=3Dconversion etc. > +Eg: > +src/offlinelogstorage/dlt_offline_logstorage.h:129:49: error: > unsigned conversion from =E2=80=98int=E2=80=99 to =E2=80=98unsigned= int=E2=80=99 changes value > from =E2=80=98-1=E2=80=99 to =E2=80=984294967295=E2=80=99 [-Werror=3D= sign-conversion] > +=C2=A0 129 | #define DLT_LOGSTORAGE_GZIP_ERROR=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-1 /* > error case */ > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ > +/dlt-daemon/src/offlinelogstorage/dlt_offline_logstorage.c:1303:36= : > note: in expansion of macro =E2=80=98DLT_LOGSTORAGE_GZIP_ERROR=E2=80= =99 > + 1303 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0config->gzip_compression = =3D DLT_LOGSTORAGE_GZIP_ERROR; > + > +=C2=A0 =C2=A0 =C2=A0 | ^~~~~~~~~~~~~~~~~~~~~~~~~ > + > +src/offlinelogstorage/dlt_offline_logstorage_behavior.c:851:16: > error: conversion from =E2=80=98z_size_t=E2=80=99 {aka =E2=80=98lon= g unsigned int=E2=80=99} to > =E2=80=98int=E2=80=99 may change value [-Werror=3Dconversion] > +=C2=A0 851 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return gzfwrite(ptr,= size, nmemb, config->gzlog); > +=C2=A0 =C2=A0 =C2=A0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + > +src/console/dlt-control-common.c:922:25: error: cast discards > 'const' qualifier from pointer target type [-Werror=3Dcast-qual] > +=C2=A0 922 |=C2=A0 =C2=A0 =C2=A0json_object_to_file((char*)filenam= e, json_filter_obj); > +=C2=A0 =C2=A0 =C2=A0 | > + > +Use explicit type conversion to make the build can pass > + > +Upstream-Status: Submitted > [https://github.com/COVESA/dlt-daemon/pull/826 > ] > + > +Signed-off-by: Changqing Li > +--- > + src/console/dlt-control-common.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 +- > + src/daemon/dlt-daemon.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 4= ++-- > + src/daemon/udp_connection/dlt_daemon_udp_socket.c=C2=A0 =C2=A0 =C2= =A0 | 10 > +++++----- > + src/examples/dlt-example-multicast-clientmsg-view.c=C2=A0 =C2=A0 = | 8 ++++---- > + src/offlinelogstorage/dlt_offline_logstorage.h=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0| 2 +- > + .../dlt_offline_logstorage_behavior.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 4 ++-- > + 6 files changed, 15 insertions(+), 15 deletions(-) > + > +diff --git a/src/console/dlt-control-common.c > b/src/console/dlt-control-common.c > +index 2aeea280..4f9e95b4 100644 > +--- a/src/console/dlt-control-common.c > ++++ b/src/console/dlt-control-common.c > +@@ -919,7 +919,7 @@ DltReturnValue dlt_json_filter_save(DltFilter > *filter, const char *filename, int > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0printf("Saving current filter into '%s'\n", fi= lename); > +-=C2=A0 =C2=A0 json_object_to_file((char*)filename, json_filter_ob= j); > ++=C2=A0 =C2=A0 json_object_to_file(filename, json_filter_obj); > + > +=C2=A0 =C2=A0 =C2=A0return DLT_RETURN_OK; > + } > +diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c > +index 97af1cd9..94024eb4 100644 > +--- a/src/daemon/dlt-daemon.c > ++++ b/src/daemon/dlt-daemon.c > +@@ -867,7 +867,7 @@ int option_file_parser(DltDaemonLocal > *daemon_local) > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0if ((longval =3D=3D > MULTICAST_CONNECTION_DISABLED) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|| (longval =3D=3D > MULTICAST_CONNECTION_ENABLED)) { > +- daemon_local->UDPConnectionSetup =3D longval; > ++ daemon_local->UDPConnectionSetup =3D (int)longval; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0printf("Option: %s=3D%s\n", token, = value); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0} > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0else { > +@@ -884,7 +884,7 @@ int option_file_parser(DltDaemonLocal > *daemon_local) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0} > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0else if (strcmp(token, "UDPMulticastIPPort") > =3D=3D 0) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0{ > +- daemon_local->UDPMulticastIPPort =3D strtol(value, NULL, 10); > ++ daemon_local->UDPMulticastIPPort =3D (int)strtol(value, NULL, 10= ); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0} > + #endif > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0else if (strcmp(token, "BindAddress") =3D=3D 0) > +diff --git a/src/daemon/udp_connection/dlt_daemon_udp_socket.c > b/src/daemon/udp_connection/dlt_daemon_udp_socket.c > +index 4c40cda8..b3408773 100644 > +--- a/src/daemon/udp_connection/dlt_daemon_udp_socket.c > ++++ b/src/daemon/udp_connection/dlt_daemon_udp_socket.c > +@@ -66,7 +66,7 @@ void > dlt_daemon_udp_setmulticast_addr(DltDaemonLocal *daemon_local) > +=C2=A0 =C2=A0 =C2=A0struct sockaddr_in clientaddr; > +=C2=A0 =C2=A0 =C2=A0clientaddr.sin_family =3D AF_INET; > +=C2=A0 =C2=A0 =C2=A0inet_pton(AF_INET, daemon_local->UDPMulticastI= PAddress, > &clientaddr.sin_addr); > +-=C2=A0 =C2=A0 clientaddr.sin_port =3D htons(daemon_local->UDPMult= icastIPPort); > ++=C2=A0 =C2=A0 clientaddr.sin_port =3D > htons((uint16_t)daemon_local->UDPMulticastIPPort); > +=C2=A0 =C2=A0 =C2=A0memcpy(&g_udpmulticast_addr.clientaddr, &clien= taddr, > sizeof(struct sockaddr_in)); > +=C2=A0 =C2=A0 =C2=A0g_udpmulticast_addr.clientaddr_size =3D > sizeof(g_udpmulticast_addr.clientaddr); > +=C2=A0 =C2=A0 =C2=A0g_udpmulticast_addr.isvalidflag =3D ADDRESS_VA= LID; > +@@ -224,17 +224,17 @@ void > dlt_daemon_udp_clientmsg_send(DltDaemonClientSockInfo *clientinfo, > + > +=C2=A0 =C2=A0 =C2=A0if ((clientinfo->isvalidflag =3D=3D ADDRESS_VA= LID) && > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(size1 > 0) && (size2 > 0)) { > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 void *data =3D (void *)calloc(size1 += size2, sizeof(char)); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 void *data =3D (void *)calloc((size_t= )(size1 + size2), > sizeof(char)); > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (data =3D=3D NULL) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_vlog(LOG_ERR, = "%s: calloc failure\n", __func__); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 memcpy(data, data1, size1); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 memcpy(data + size1, data2, size2); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 memcpy(data, data1, (size_t)size1); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 memcpy((int*)data + size1, data2, (si= ze_t)size2); > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 if (sendto(g_udp_sock_fd, data, size1= + size2, 0, > (struct sockaddr *)&clientinfo->clientaddr, > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 if (sendto(g_udp_sock_fd, data, (size= _t)(size1 + size2), > 0, (struct sockaddr *)&clientinfo->clientaddr, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 clientinfo->clientaddr_size) < 0) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_vlog(LOG_ERR, = "%s: Send UDP Packet Data > failed\n", __func__); > + > +diff --git a/src/examples/dlt-example-multicast-clientmsg-view.c > b/src/examples/dlt-example-multicast-clientmsg-view.c > +index c00537e5..f8920453 100644 > +--- a/src/examples/dlt-example-multicast-clientmsg-view.c > ++++ b/src/examples/dlt-example-multicast-clientmsg-view.c > +@@ -74,9 +74,9 @@ int dlt_receiver_receive_socket_udp(struct > clientinfostruct *clientinfo, DltRece > +=C2=A0 =C2=A0 =C2=A0/* wait for data from socket */ > +=C2=A0 =C2=A0 =C2=A0unsigned int addrlen =3D sizeof(clientinfo->ad= dr); > + > +-=C2=A0 =C2=A0 if ((receiver->bytesRcvd =3D recvfrom(clientinfo->f= d, > ++=C2=A0 =C2=A0 if ((receiver->bytesRcvd =3D (int32_t)recvfrom(clie= ntinfo->fd, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0receiver->buf + > receiver->lastBytesRcvd, > +- receiver->buffersize - receiver->lastBytesRcvd, > ++ (size_t)(receiver->buffersize - receiver->lastBytesRcvd), > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A00, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0(struct sockaddr > *)&(clientinfo->addr), &addrlen)) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<=3D 0) { > +@@ -177,11 +177,11 @@ int main() > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_receiver_receive_socket_udp(= &clientinfo, > &(clientinfo.receiver)); > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0while (dlt_message_read(&msg, (u= nsigned char > *)(clientinfo.receiver.buf), > +- clientinfo.receiver.bytesRcvd, 0, 0) =3D=3D DLT_MESSAGE_ERROR_OK= ) { > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (unsigned > int)clientinfo.receiver.bytesRcvd, 0, 0) =3D=3D DLT_MESSAGE_ERROR_O= K) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_receive_messag= e_callback_udp(&msg); > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (dlt_receiver_r= emove(&(clientinfo.receiver), > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.headersiz= e + > msg.datasize - sizeof(DltStorageHeader)) > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 msg.headersiz= e + > msg.datasize - ((int32_t)(sizeof(DltStorageHeader)))) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D=3D= DLT_RETURN_ERROR) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* R= eturn value ignored */ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_= message_free(&msg, 0); > +diff --git a/src/offlinelogstorage/dlt_offline_logstorage.h > b/src/offlinelogstorage/dlt_offline_logstorage.h > +index 09ea5ce4..cfb70f33 100644 > +--- a/src/offlinelogstorage/dlt_offline_logstorage.h > ++++ b/src/offlinelogstorage/dlt_offline_logstorage.h > +@@ -192,7 +192,7 @@ struct DltLogStorageFilterConfig > +=C2=A0 =C2=A0 =C2=A0int overwrite;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 /* Overwrite strategy */ > +=C2=A0 =C2=A0 =C2=A0int skip;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Flag to skip file logging > if DISCARD_NEW */ > +=C2=A0 =C2=A0 =C2=A0char *ecuid;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /* ECU identifier */ > +-=C2=A0 =C2=A0 unsigned int gzip_compression;=C2=A0 /* Toggle if l= og files > should be gzip compressed */ > ++=C2=A0 =C2=A0 int gzip_compression;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0/* Toggle if log files > should be gzip compressed */ > +=C2=A0 =C2=A0 =C2=A0/* callback function for filter configurations= */ > +=C2=A0 =C2=A0 =C2=A0int (*dlt_logstorage_prepare)(DltLogStorageFil= terConfig *config, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DltLogStorageU= serConfig > *file_config, > +diff --git > a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c > b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c > +index ff09c9eb..ae8f4442 100644 > +--- a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c > ++++ b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c > +@@ -848,10 +848,10 @@ DLT_STATIC int > dlt_logstorage_write_to_log(void *ptr, size_t size, size_t nmemb, > + { > + #ifdef DLT_LOGSTORAGE_USE_GZIP > +=C2=A0 =C2=A0 =C2=A0if (config->gzip_compression =3D=3D DLT_LOGSTO= RAGE_GZIP_ON) { > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 return gzfwrite(ptr, size, nmemb, con= fig->gzlog); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 return (int)gzfwrite(ptr, size, nmemb= , config->gzlog); > +=C2=A0 =C2=A0 =C2=A0} > +=C2=A0 =C2=A0 =C2=A0else { > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 return fwrite(ptr, size, nmemb, confi= g->log); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 return (int)fwrite(ptr, size, nmemb, = config->log); > +=C2=A0 =C2=A0 =C2=A0} > + #else > +=C2=A0 =C2=A0 =C2=A0return (int)fwrite(ptr, size, nmemb, config->l= og); > +-- > +2.34.1 > + > diff --git > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-fix-build-fai= lure-when-systemd-is-enabled.patch > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-fix-build-fai= lure-when-systemd-is-enabled.patch > new file mode 100644 > index 0000000000..d19a23cd9c > --- /dev/null > +++ > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-fix-build-fai= lure-when-systemd-is-enabled.patch > @@ -0,0 +1,423 @@ > +From 28322f951bb8510ddb4cf767426a67c81ce826ab Mon Sep 17 00:00:00 > 2001 > +From: Changqing Li > +Date: Tue, 17 Mar 2026 13:04:11 +0800 > +Subject: [PATCH] fix build failure when systemd is enabled > + > +Fix build failures when -DWITH_SYSTEMD=3DON, > -DWITH_SYSTEMD_WATCHDOG=3DON, > +-DWITH_SYSTEMD_JOURNAL=3DON: > +Eg: > +src/system/dlt-system-syslog.c:91:39: error: conversion from > 'int' to '__uint16_t' {aka 'short unsigned int'} may change value > [-Werror=3Dconversion] > +=C2=A0 =C2=A091 |=C2=A0 =C2=A0 =C2=A0syslog_addr.sin6_port =3D hto= ns(opts.Port); > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0~~~~^~~~~ > + > +src/system/dlt-system-logfile.c:74:21: error: conversion from > 'size_t' {aka 'long unsigned int'} to 'int' may change value > [-Werror=3Dconversion] > +=C2=A0 =C2=A074 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0b= ytes =3D fread(buffer, 1, sizeof(buffer) - 1, > pFile); > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~ > + > +src/daemon/dlt-daemon.c:5513:14: error: unused variable > 'curr_time' [-Werror=3Dunused-variable] > + 5513 |=C2=A0 =C2=A0 =C2=A0uint32_t curr_time =3D 0U; > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ^~~~~~~~~ > + > +src/system/dlt-system-syslog.c:120:22: error: conversion from > 'ssize_t' {aka 'long int'} to 'int' may change value > [-Werror=3Dconversion] > +=C2=A0 120 |=C2=A0 =C2=A0 =C2=A0int bytes_read =3D recvfrom(sock, = recv_data, > RECV_BUF_SZ, 0, > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~ > + > +src/system/dlt-system-logfile.c:76:23: error: comparison of > unsigned expression in '>=3D 0' is always true [-Werror=3Dtype-limi= ts] > +=C2=A0 =C2=A076 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0i= f (bytes >=3D 0) > +=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~ > + > + src/system/dlt-system-filetransfer.c:727:56: error: > '__builtin___snprintf_chk' output may be truncated before the last > format cha=C2=A0 =C2=A0 racter [-Werror=3Dformat-truncation=3D] > + 10=C2=A0 =C2=A0727 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snprintf(tosend, length, > "%s/%s", opts->Directory[j], ie->name); > + > +src/system/dlt-system-filetransfer.c:153: error: declaration of > 'len' shadows a previous local [-Werror=3Dshadow] > + > +Upstream-Status: Submitted > [https://github.com/COVESA/dlt-daemon/pull/828 > ] > + > +Signed-off-by: Changqing Li > +--- > + src/daemon/dlt-daemon.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 |=C2=A0 8 +---- > + src/daemon/dlt_daemon_client.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0|=C2=A0 2 +- > + src/system/dlt-system-filetransfer.c=C2=A0 =C2=A0 =C2=A0| 43 > +++++++++++++----------- > + src/system/dlt-system-journal.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 2 +- > + src/system/dlt-system-logfile.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 4 +-- > + src/system/dlt-system-process-handling.c |=C2=A0 2 +- > + src/system/dlt-system-processes.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2= =A0 2 +- > + src/system/dlt-system-syslog.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0|=C2=A0 6 ++-- > + src/system/dlt-system-watchdog.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 8 ++--- > + systemd/3rdparty/sd-daemon.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0|=C2=A0 5 +-- > + 10 files changed, 40 insertions(+), 42 deletions(-) > + > +diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c > +index ef42f89..8c318a4 100644 > +--- a/src/daemon/dlt-daemon.c > ++++ b/src/daemon/dlt-daemon.c > +@@ -1620,7 +1620,7 @@ int main(int argc, char *argv[]) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0watchdogTimeoutSec= onds =3D 30; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 daemon.watchdog_trigger_interval =3D = watchdogTimeoutSeconds; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 daemon.watchdog_trigger_interval =3D = (unsigned > int)watchdogTimeoutSeconds; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0daemon.watchdog_last_trigger_tim= e =3D 0U; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0create_timer_fd(&daemon_local, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0watchdogTimeoutSeconds, > +@@ -5509,9 +5509,6 @@ int > dlt_daemon_send_ringbuffer_to_client(DltDaemon *daemon, > DltDaemonLocal *daem > +=C2=A0 =C2=A0 =C2=A0int ret; > +=C2=A0 =C2=A0 =C2=A0static uint8_t data[DLT_DAEMON_RCVBUFSIZE]; > +=C2=A0 =C2=A0 =C2=A0int length; > +-#ifdef DLT_SYSTEMD_WATCHDOG_ENABLE > +-=C2=A0 =C2=A0 uint32_t curr_time =3D 0U; > +-#endif > + > +=C2=A0 =C2=A0 =C2=A0PRINT_FUNCTION_VERBOSE(verbose); > + > +@@ -5554,9 +5551,6 @@ int > dlt_daemon_send_ringbuffer_to_client_v2(DltDaemon *daemon, > DltDaemonLocal *d > +=C2=A0 =C2=A0 =C2=A0int ret; > +=C2=A0 =C2=A0 =C2=A0static uint8_t data[DLT_DAEMON_RCVBUFSIZE]; > +=C2=A0 =C2=A0 =C2=A0int length; > +-#ifdef DLT_SYSTEMD_WATCHDOG_ENABLE > +-=C2=A0 =C2=A0 uint32_t curr_time =3D 0U; > +-#endif > + > +=C2=A0 =C2=A0 =C2=A0PRINT_FUNCTION_VERBOSE(verbose); > + > +diff --git a/src/daemon/dlt_daemon_client.c > b/src/daemon/dlt_daemon_client.c > +index 20a512b..681bf1e 100644 > +--- a/src/daemon/dlt_daemon_client.c > ++++ b/src/daemon/dlt_daemon_client.c > +@@ -4690,7 +4690,7 @@ int > dlt_daemon_process_systemd_timer(DltDaemon *daemon, > + > +=C2=A0 =C2=A0 =C2=A0if ((daemon_local =3D=3D NULL) || (daemon =3D=3D= NULL) || (receiver > =3D=3D NULL)) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_vlog(LOG_ERR, "%s: invalid p= arameters", __func__); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 return res; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 return (int)res; > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0res =3D read(receiver->fd, &expir, sizeof(expi= r)); > +diff --git a/src/system/dlt-system-filetransfer.c > b/src/system/dlt-system-filetransfer.c > +index c082f22..6024a3e 100644 > +--- a/src/system/dlt-system-filetransfer.c > ++++ b/src/system/dlt-system-filetransfer.c > +@@ -105,14 +105,14 @@ char *unique_name(char *src) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_STRING("dlt-sy= stem-filetransfer, creating unique > temporary file name.")); > +=C2=A0 =C2=A0 =C2=A0time_t t =3D time(NULL); > +=C2=A0 =C2=A0 =C2=A0int ok; > +-=C2=A0 =C2=A0 uint32_t l =3D getFileSerialNumber(src, &ok) ^ t; > ++=C2=A0 =C2=A0 uint32_t l =3D (uint32_t)(getFileSerialNumber(src, = &ok) ^ t); > + > +=C2=A0 =C2=A0 =C2=A0if (!ok) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return (char *)NULL; > + > +=C2=A0 =C2=A0 =C2=A0char *basename_f =3D basename(src); > +=C2=A0 =C2=A0 =C2=A0/* Length of ULONG_MAX + 1 */ > +-=C2=A0 =C2=A0 int len =3D 11 + strlen(basename_f); > ++=C2=A0 =C2=A0 size_t len =3D 11 + strlen(basename_f); > + > +=C2=A0 =C2=A0 =C2=A0if (len > NAME_MAX) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG(dltsystem, DLT_LOG_WARN, > +@@ -155,7 +155,7 @@ void send_dumped_file(FiletransferOptions > const *opts, char *dst_tosend) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0while ((total - us= ed) < (total / 2)) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0stru= ct timespec t; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0t.tv= _sec =3D 0; > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 t.tv_nsec= =3D 1000000ul * opts->TimeoutBetweenLogs; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 t.tv_nsec= =3D (long int)(1000000ul * (unsigned > long)opts->TimeoutBetweenLogs); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nano= sleep(&t, NULL); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_= user_log_resend_buffer(); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dlt_= user_check_buffer(&total, &used); > +@@ -220,7 +220,7 @@ int compress_file_to(char *src, char *dst, > int level) > +=C2=A0 =C2=A0 =C2=A0MALLOC_ASSERT(buf); > + > +=C2=A0 =C2=A0 =C2=A0while (!feof(src_file)) { > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 int read =3D fread(buf, 1, Z_CHUNK_SZ= , src_file); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 size_t read =3D fread(buf, 1, Z_CHUNK= _SZ, src_file); > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (ferror(src_file)) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0free(buf); > +@@ -230,7 +230,7 @@ int compress_file_to(char *src, char *dst, > int level) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return -1; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 gzwrite(dst_file, buf, read); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 gzwrite(dst_file, buf, (unsigned int)= read); > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0if (remove(src) < 0) > +@@ -290,7 +290,7 @@ int send_one(char *src, FiletransferOptions > const *opts, int which) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0char *dst_tocompress;/*file whic= h is going to be > compressed, the compressed one is named dst_tosend */ > + > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 int len =3D strlen(fdir) + strlen(SUB= DIR_COMPRESS) + > strlen(rn) + 3;/*the filename in .tocompress +2 for 2*"/", +1 for > \0 */ > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 size_t len =3D strlen(fdir) + strlen(= SUBDIR_COMPRESS) + > strlen(rn) + 3;/*the filename in .tocompress +2 for 2*"/", +1 for > \0 */ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dst_tocompress =3D malloc(len); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0MALLOC_ASSERT(dst_tocompress); > + > +@@ -328,7 +328,7 @@ int send_one(char *src, FiletransferOptions > const *opts, int which) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/*move it directly into "tosend"= */ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG(dltsystem, DLT_LOG_DEBUG= , > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_= STRING("dlt-system-filetransfer, Moving file > to tmp directory.")); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 int len =3D strlen(fdir) + strlen(SUB= DIR_TOSEND) + > strlen(rn) + 3; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 size_t len =3D strlen(fdir) + strlen(= SUBDIR_TOSEND) + > strlen(rn) + 3; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dst_tosend =3D malloc(len);/*the= resulting filename in > .tosend +2 for 2*"/", +1 for \0 */ > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snprintf(dst_tosend, len, "%s/%s= /%s", fdir, > SUBDIR_TOSEND, rn); > +@@ -379,7 +379,7 @@ int flush_dir_send(FiletransferOptions const > *opts, const char *compress_dir, co > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG(dltsystem,= DLT_LOG_DEBUG, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0DLT_STRING("dlt-system-filetransfer, old > compressed file found in send directory:"), > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0DLT_STRING(dp->d_name)); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 int len =3D strlen(send= _dir) + strlen(dp->d_name) + 2; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 size_t len =3D strlen(s= end_dir) + strlen(dp->d_name) + 2; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fn =3D malloc(len)= ; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0MALLOC_ASSERT(fn); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snprintf(fn, len, = "%s/%s", send_dir, dp->d_name); > +@@ -394,10 +394,10 @@ int flush_dir_send(FiletransferOptions > const *opts, const char *compress_dir, co > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0strn= cpy(tmp, dp->d_name, strlen(dp->d_name) - > strlen(COMPRESS_EXTENSION)); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tmp[= strlen(dp->d_name) - > strlen(COMPRESS_EXTENSION)] =3D '\0'; > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 int len =3D= strlen(tmp) + strlen(compress_dir) + 1 > + 1;/*2 sizes + 1*"/" + \0 */ > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 char *pat= h_uncompressed =3D malloc(len); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 size_t le= ngth =3D strlen(tmp) + > strlen(compress_dir) + 1 + 1;/*2 sizes + 1*"/" + \0 */ > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 char *pat= h_uncompressed =3D malloc(length); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0MALL= OC_ASSERT(path_uncompressed); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 snprintf(= path_uncompressed, len, "%s/%s", > compress_dir, tmp); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 snprintf(= path_uncompressed, length, "%s/%s", > compress_dir, tmp); > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0stru= ct stat sb; > + > +@@ -475,7 +475,7 @@ int flush_dir_compress(FiletransferOptions > const *opts, int which, const char *c > + > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/*compress file in= to to_send dir */ > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 int len =3D strlen(comp= ress_dir) + strlen(dp->d_name) + 2; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 size_t len =3D strlen(c= ompress_dir) + > strlen(dp->d_name) + 2; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0char *cd_filename = =3D malloc(len); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0MALLOC_ASSERT(cd_f= ilename); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snprintf(cd_filena= me, len, "%s/%s", compress_dir, > dp->d_name); > +@@ -526,7 +526,7 @@ int flush_dir_original(FiletransferOptions > const *opts, int which) > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG(dltsystem,= DLT_LOG_DEBUG, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0DLT_STRING("dlt-system-filetransfer, old > file found in directory.")); > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 int len =3D strlen(sdir= ) + strlen(dp->d_name) + 2; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 size_t len =3D strlen(s= dir) + strlen(dp->d_name) + 2; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0char *fn =3D mallo= c(len); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0MALLOC_ASSERT(fn); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snprintf(fn, len, = "%s/%s", sdir, dp->d_name); > +@@ -564,7 +564,7 @@ int flush_dir(FiletransferOptions const > *opts, int which) > + > +=C2=A0 =C2=A0 =C2=A0char *compress_dir; > +=C2=A0 =C2=A0 =C2=A0char *send_dir; > +-=C2=A0 =C2=A0 int len =3D strlen(opts->Directory[which]) + > strlen(SUBDIR_COMPRESS) + 2; > ++=C2=A0 =C2=A0 size_t len =3D strlen(opts->Directory[which]) + > strlen(SUBDIR_COMPRESS) + 2; > +=C2=A0 =C2=A0 =C2=A0compress_dir =3D malloc (len); > +=C2=A0 =C2=A0 =C2=A0MALLOC_ASSERT(compress_dir); > +=C2=A0 =C2=A0 =C2=A0snprintf(compress_dir, len, "%s/%s", opts->Dir= ectory[which], > SUBDIR_COMPRESS); > +@@ -625,7 +625,7 @@ int > init_filetransfer_dirs(DltSystemConfiguration *config) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/*create subdirectories for proc= essing the files */ > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0char *subdirpath; > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 int len =3D strlen(opts->Directory[i]= ) + > strlen(SUBDIR_COMPRESS) + 2; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 size_t len =3D strlen(opts->Directory= [i]) + > strlen(SUBDIR_COMPRESS) + 2; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0subdirpath =3D malloc (len); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0MALLOC_ASSERT(subdirpath); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snprintf(subdirpath, len, "%s/%s= ", opts->Directory[i], > SUBDIR_COMPRESS); > +@@ -699,7 +699,7 @@ int process_files(FiletransferOptions const > *opts) > + > +=C2=A0 =C2=A0 =C2=A0unsigned int i =3D 0; > + > +-=C2=A0 =C2=A0 while (i < (len - INOTIFY_SZ)) { > ++=C2=A0 =C2=A0 while (i < ((long unsigned int)len - INOTIFY_SZ)) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0struct inotify_event *ie =3D (st= ruct inotify_event *)&buf[i]; > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (ie->len > 0) { > +@@ -712,26 +712,29 @@ int process_files(FiletransferOptions const > *opts) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG_DEBUG, > + =C2=A0DLT_STRING("dlt-system-filetransfer, found new file."), > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_STRING(ie->name))= ; > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 int length =3D strlen(opts->Directory[j]) > + ie->len + 1; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 size_t length =3D > strlen(opts->Directory[j]) + strlen(ie->name) + 2; > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0if (length > PATH_MAX) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG(filetransferContext, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG= _ERROR, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_STR= ING( > + =C2=A0"dlt-system-filetransfer: Very long path for file transfer. > Cancelling transfer! Length is: "), > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 DLT_INT(lengt= h)); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 DLT_INT((int)= length)); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return -1; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0char *tosend =3D malloc(length); > ++#pragma GCC diagnostic push > ++#pragma GCC diagnostic ignored "-Wformat-truncation=3D" > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0snprintf(tosend, length, "%s/%s", > opts->Directory[j], ie->name); > ++#pragma GCC diagnostic pop > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0send_one(tosend, opts, j); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0free(tosend); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0} > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 i +=3D INOTIFY_SZ + ie->len; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 i +=3D (unsigned int)INOTIFY_SZ + ie-= >len; > +=C2=A0 =C2=A0 =C2=A0} > + > + #endif > +@@ -741,4 +744,4 @@ int process_files(FiletransferOptions const > *opts) > + void filetransfer_fd_handler(DltSystemConfiguration *config) > + { > +=C2=A0 =C2=A0 =C2=A0process_files(&(config->Filetransfer)); > +-} > +\ No newline at end of file > ++} > +diff --git a/src/system/dlt-system-journal.c > b/src/system/dlt-system-journal.c > +index 366555b..9a55c3f 100644 > +--- a/src/system/dlt-system-journal.c > ++++ b/src/system/dlt-system-journal.c > +@@ -393,7 +393,7 @@ void register_journal_fd(sd_journal **j, > struct pollfd *pollfd, int i,=C2=A0 DltSyste > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_STRING(strerro= r(pollfd[i].fd))); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0j_tmp =3D NULL; > +=C2=A0 =C2=A0 =C2=A0} > +-=C2=A0 =C2=A0 pollfd[i].events =3D sd_journal_get_events(j_tmp); > ++=C2=A0 =C2=A0 pollfd[i].events =3D (short)sd_journal_get_events(j= _tmp); > +=C2=A0 =C2=A0 =C2=A0if(pollfd[i].events < 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG(dltsystem, DLT_LOG_ERROR= , DLT_STRING("Error > while getting journal events: "), > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_STRING(strerro= r(pollfd[i].events))); > +diff --git a/src/system/dlt-system-logfile.c > b/src/system/dlt-system-logfile.c > +index 941a3be..d31441c 100644 > +--- a/src/system/dlt-system-logfile.c > ++++ b/src/system/dlt-system-logfile.c > +@@ -64,7 +64,7 @@ void send_file(LogFileOptions const *fileopt, > int n) > +=C2=A0 =C2=A0 =C2=A0FILE *pFile; > +=C2=A0 =C2=A0 =C2=A0DltContext context =3D logfileContext[n]; > +=C2=A0 =C2=A0 =C2=A0char buffer[1024]; > +-=C2=A0 =C2=A0 int bytes; > ++=C2=A0 =C2=A0 size_t bytes; > +=C2=A0 =C2=A0 =C2=A0int seq =3D 1; > + > +=C2=A0 =C2=A0 =C2=A0pFile =3D fopen((*fileopt).Filename[n], "r"); > +@@ -73,7 +73,7 @@ void send_file(LogFileOptions const *fileopt, > int n) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0while (!feof(pFile)) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0bytes =3D fread(bu= ffer, 1, sizeof(buffer) - 1, pFile); > + > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (bytes >=3D 0) > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (bytes =3D=3D (sizeo= f(buffer) - 1)) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0buff= er[bytes] =3D 0; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0else > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0buff= er[0] =3D 0; > +diff --git a/src/system/dlt-system-process-handling.c > b/src/system/dlt-system-process-handling.c > +index 3e092d4..708e9e3 100644 > +--- a/src/system/dlt-system-process-handling.c > ++++ b/src/system/dlt-system-process-handling.c > +@@ -201,7 +201,7 @@ int register_timer_fd(struct pollfd *pollfd, > int fdcnt) > + void timer_fd_handler(int fd, DltSystemConfiguration *config) > + { > +=C2=A0 =C2=A0 =C2=A0uint64_t timersElapsed =3D 0ULL; > +-=C2=A0 =C2=A0 int r =3D read(fd, &timersElapsed, 8U);=C2=A0 =C2=A0= // only needed to > reset fd event > ++=C2=A0 =C2=A0 int r =3D (int)read(fd, &timersElapsed, 8U);=C2=A0 = =C2=A0 // only needed > to reset fd event > +=C2=A0 =C2=A0 =C2=A0if (r < 0) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG(dltsystem, DLT_LOG_ERROR= , DLT_STRING("Error > while reading timer fd: "), > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_STRING(strerro= r(r))); > +diff --git a/src/system/dlt-system-processes.c > b/src/system/dlt-system-processes.c > +index c35596c..b17b8ee 100644 > +--- a/src/system/dlt-system-processes.c > ++++ b/src/system/dlt-system-processes.c > +@@ -72,7 +72,7 @@ void send_process(LogProcessOptions const > *popts, int n) > +=C2=A0 =C2=A0 =C2=A0struct dirent *dp; > +=C2=A0 =C2=A0 =C2=A0char filename[PATH_MAX]; > +=C2=A0 =C2=A0 =C2=A0char buffer[1024]; > +-=C2=A0 =C2=A0 int bytes; > ++=C2=A0 =C2=A0 size_t bytes; > +=C2=A0 =C2=A0 =C2=A0int found =3D 0; > + > +=C2=A0 =C2=A0 =C2=A0/* go through all process files in directory *= / > +diff --git a/src/system/dlt-system-syslog.c > b/src/system/dlt-system-syslog.c > +index 59e9d3f..d6b1b8a 100644 > +--- a/src/system/dlt-system-syslog.c > ++++ b/src/system/dlt-system-syslog.c > +@@ -88,7 +88,7 @@ int init_socket(SyslogOptions opts) > + #ifdef DLT_USE_IPv6 > +=C2=A0 =C2=A0 =C2=A0syslog_addr.sin6_family =3D AF_INET6; > +=C2=A0 =C2=A0 =C2=A0syslog_addr.sin6_addr =3D in6addr_any; > +-=C2=A0 =C2=A0 syslog_addr.sin6_port =3D htons(opts.Port); > ++=C2=A0 =C2=A0 syslog_addr.sin6_port =3D htons((uint16_t)opts.Port= ); > + #else > +=C2=A0 =C2=A0 =C2=A0syslog_addr.sin_family =3D AF_INET; > +=C2=A0 =C2=A0 =C2=A0syslog_addr.sin_addr.s_addr =3D INADDR_ANY; > +@@ -117,7 +117,7 @@ int read_socket(int sock) > +=C2=A0 =C2=A0 =C2=A0struct sockaddr_in client_addr; > +=C2=A0 =C2=A0 =C2=A0socklen_t addr_len =3D sizeof(struct sockaddr_= in); > + > +-=C2=A0 =C2=A0 int bytes_read =3D recvfrom(sock, recv_data, RECV_B= UF_SZ, 0, > ++=C2=A0 =C2=A0 int bytes_read =3D (int)recvfrom(sock, recv_data, R= ECV_BUF_SZ, 0, > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(struct sockaddr *)&client_a= ddr, > &addr_len); > + > +=C2=A0 =C2=A0 =C2=A0if (bytes_read =3D=3D -1) { > +@@ -157,4 +157,4 @@ int register_syslog_fd(struct pollfd *pollfd, > int i, DltSystemConfiguration *con > + void syslog_fd_handler(int syslogSock) > + { > +=C2=A0 =C2=A0 =C2=A0read_socket(syslogSock); > +-} > +\ No newline at end of file > ++} > +diff --git a/src/system/dlt-system-watchdog.c > b/src/system/dlt-system-watchdog.c > +index 7ed1604..6334214 100644 > +--- a/src/system/dlt-system-watchdog.c > ++++ b/src/system/dlt-system-watchdog.c > +@@ -56,7 +56,7 @@ int calculate_period(struct itimerspec *itval) > +=C2=A0 =C2=A0 =C2=A0} > + > +=C2=A0 =C2=A0 =C2=A0DLT_LOG(watchdogContext, DLT_LOG_DEBUG, > DLT_STRING("watchdogusec: "), DLT_STRING(watchdogUSec)); > +-=C2=A0 =C2=A0 watchdogTimeoutSeconds =3D atoi(watchdogUSec); > ++=C2=A0 =C2=A0 watchdogTimeoutSeconds =3D (unsigned int)atoi(watch= dogUSec); > + > +=C2=A0 =C2=A0 =C2=A0if (watchdogTimeoutSeconds <=3D 0) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snprintf(str, 512, "systemd watc= hdog timeout incorrect: > %u\n", watchdogTimeoutSeconds); > +@@ -78,9 +78,9 @@ int calculate_period(struct itimerspec *itval) > +=C2=A0 =C2=A0 =C2=A0sec =3D notifiyPeriodNSec / 1000000; > +=C2=A0 =C2=A0 =C2=A0ns =3D (notifiyPeriodNSec - (sec * 1000000)) *= 1000; > +=C2=A0 =C2=A0 =C2=A0itval->it_interval.tv_sec =3D sec; > +-=C2=A0 =C2=A0 itval->it_interval.tv_nsec =3D ns; > ++=C2=A0 =C2=A0 itval->it_interval.tv_nsec =3D (long int)ns; > +=C2=A0 =C2=A0 =C2=A0itval->it_value.tv_sec =3D sec; > +-=C2=A0 =C2=A0 itval->it_value.tv_nsec =3D ns; > ++=C2=A0 =C2=A0 itval->it_value.tv_nsec =3D (long int)ns; > + > +=C2=A0 =C2=A0 =C2=A0return 0; > + } > +@@ -114,7 +114,7 @@ void watchdog_fd_handler(int fd) > + #endif > + { > +=C2=A0 =C2=A0 =C2=A0uint64_t timersElapsed =3D 0ULL; > +-=C2=A0 =C2=A0 int r =3D read(fd, &timersElapsed, 8U);=C2=A0 =C2=A0= // only needed to > reset fd event > ++=C2=A0 =C2=A0 int r =3D (int)read(fd, &timersElapsed, 8U);=C2=A0 = =C2=A0 // only needed > to reset fd event > +=C2=A0 =C2=A0 =C2=A0if(r < 0) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_LOG(watchdogContext, DLT_LOG= _ERROR, > DLT_STRING("Could not reset systemd watchdog. Exit with: "), > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DLT_STRING(strerro= r(r))); > +diff --git a/systemd/3rdparty/sd-daemon.c > b/systemd/3rdparty/sd-daemon.c > +index de3f985..9fde8cc 100644 > +--- a/systemd/3rdparty/sd-daemon.c > ++++ b/systemd/3rdparty/sd-daemon.c > +@@ -46,6 +46,7 @@ > + #include > + #include > + #include > ++#include > + > + #if defined(__linux__) > + #include > +@@ -456,12 +457,12 @@ _sd_export_ int sd_notify(int > unset_environment, const char *state) { > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sock= addr.un.sun_path[0] =3D 0; > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0memset(&iovec, 0, sizeof(iovec))= ; > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 iovec.iov_base =3D (char*) state; > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 iovec.iov_base =3D (void *)(uintptr_t= )state; > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0iovec.iov_len =3D strlen(state); > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0memset(&msghdr, 0, sizeof(msghdr= )); > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msghdr.msg_name =3D &sockaddr; > +-=C2=A0 =C2=A0 =C2=A0 =C2=A0 msghdr.msg_namelen =3D offsetof(struc= t sockaddr_un, > sun_path) + strlen(e); > ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 msghdr.msg_namelen =3D (socklen_t)(of= fsetof(struct > sockaddr_un, sun_path) + strlen(e)); > + > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (msghdr.msg_namelen > sizeof(= struct sockaddr_un)) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msgh= dr.msg_namelen =3D sizeof(struct sockaddr_un); > +-- > +2.34.1 > + > diff --git > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-w= ith-cmake-4.patch > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-w= ith-cmake-4.patch > deleted file mode 100644 > index ac5fec5684..0000000000 > --- > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-w= ith-cmake-4.patch > +++ /dev/null > @@ -1,99 +0,0 @@ > -From ae23f2cccc169874d89903cad24bf36e19bef659 Mon Sep 17 00:00:00 > 2001 > -From: Alper Ak > -Date: Wed, 9 Jul 2025 18:18:33 +0300 > -Subject: [PATCH] cmake: Set minimum required version to 3.5 for > CMake 4+ > - compatibility > - > -Fix: > - > -| CMake Error at CMakeLists.txt:17 (cmake_minimum_required): > -|=C2=A0 =C2=A0Compatibility with CMake < 3.5 has been removed from= CMake. > -| > -|=C2=A0 =C2=A0Update the VERSION argument value.=C2=A0 Or, u= se the > ... syntax > -|=C2=A0 =C2=A0to tell CMake that the project requires at least but > has been updated > -|=C2=A0 =C2=A0to work with policies introduced by or earlier. > -| > -|=C2=A0 =C2=A0Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3D3.5 to try = configuring > anyway. > -| > -| > -| -- Configuring incomplete, errors occurred! > - > -Upstream-Status: Submitted > [https://github.com/COVESA/dlt-daemon/pull/755 > ] > - > -Signed-off-by: Alper Ak > ---- > - CMakeLists.txt=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0| 2 +- > - examples/example1/CMakeLists.txt | 2 +- > - examples/example2/CMakeLists.txt | 2 +- > - examples/example3/CMakeLists.txt | 2 +- > - examples/example4/CMakeLists.txt | 2 +- > - 5 files changed, 5 insertions(+), 5 deletions(-) > - > -diff --git a/CMakeLists.txt b/CMakeLists.txt > -index 94185b8..2a0f619 100644 > ---- a/CMakeLists.txt > -+++ b/CMakeLists.txt > -@@ -14,7 +14,7 @@ > - ####### > - > - # Set minimum Cmake version and setup policy behavior > --cmake_minimum_required(VERSION 3.3) > -+cmake_minimum_required(VERSION 3.5) > - > - if(${CMAKE_VERSION} VERSION_GREATER "3.20" OR ${CMAKE_VERSION} > VERSION_EQUAL "3.20") > -=C2=A0 =C2=A0 =C2=A0cmake_policy(SET CMP0115 OLD) > -diff --git a/examples/example1/CMakeLists.txt > b/examples/example1/CMakeLists.txt > -index 60644a1..44cd053 100644 > ---- a/examples/example1/CMakeLists.txt > -+++ b/examples/example1/CMakeLists.txt > -@@ -17,7 +17,7 @@ > - # DLT example implementation > - # > - > --cmake_minimum_required( VERSION 2.6 ) > -+cmake_minimum_required( VERSION 3.5 ) > - project( automotive-dlt-example1 ) > - > - # > -diff --git a/examples/example2/CMakeLists.txt > b/examples/example2/CMakeLists.txt > -index 66a4f24..a8efbcf 100644 > ---- a/examples/example2/CMakeLists.txt > -+++ b/examples/example2/CMakeLists.txt > -@@ -17,7 +17,7 @@ > - # DLT example implementation > - # > - > --cmake_minimum_required( VERSION 2.6 ) > -+cmake_minimum_required( VERSION 3.5 ) > - project( automotive-dlt-example2 ) > - > - # > -diff --git a/examples/example3/CMakeLists.txt > b/examples/example3/CMakeLists.txt > -index 45b7467..4d4958d 100644 > ---- a/examples/example3/CMakeLists.txt > -+++ b/examples/example3/CMakeLists.txt > -@@ -17,7 +17,7 @@ > - # DLT example implementation > - # > - > --cmake_minimum_required( VERSION 2.6 ) > -+cmake_minimum_required( VERSION 3.5 ) > - project( automotive-dlt-example3 ) > - > - # > -diff --git a/examples/example4/CMakeLists.txt > b/examples/example4/CMakeLists.txt > -index 53a4fad..161c333 100644 > ---- a/examples/example4/CMakeLists.txt > -+++ b/examples/example4/CMakeLists.txt > -@@ -17,7 +17,7 @@ > - # DLT example implementation > - # > - > --cmake_minimum_required( VERSION 2.6 ) > -+cmake_minimum_required( VERSION 3.5 ) > - project( automotive-dlt-example4 ) > - > - # > --- > -2.43.0 > - > diff --git > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/544.patch > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/544.patch > deleted file mode 100644 > index 3699b8c83a..0000000000 > --- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/544.patch > +++ /dev/null > @@ -1,80 +0,0 @@ > -Upstream-Status: Submitted > [https://github.com/COVESA/dlt-daemon/pull/544 > ] > - > -From 8121a979026d5fcb05bd4e5d3a0647f321b56106 Mon Sep 17 00:00:00 > 2001 > -From: Gianfranco Costamagna > -Date: Thu, 28 Sep 2023 12:54:23 +0200 > -Subject: [PATCH] Add common dlt_cdh_cpuinfo.c to unblock build on > non amd64 > - and i386 arcs > - > ---- > - src/core_dump_handler/dlt_cdh.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 2 ++ > - src/core_dump_handler/dlt_cdh_cpuinfo.c | 33 > +++++++++++++++++++++++++ > - src/core_dump_handler/dlt_cdh_crashid.c |=C2=A0 2 +- > - 3 files changed, 36 insertions(+), 1 deletion(-) > - create mode 100644 src/core_dump_handler/dlt_cdh_cpuinfo.c > - > -diff --git a/src/core_dump_handler/dlt_cdh.h > b/src/core_dump_handler/dlt_cdh.h > -index d572ecf3..8608c6c4 100644 > ---- a/src/core_dump_handler/dlt_cdh.h > -+++ b/src/core_dump_handler/dlt_cdh.h > -@@ -55,6 +55,8 @@ typedef struct > -=C2=A0 =C2=A0 =C2=A0uint64_t pc; > -=C2=A0 =C2=A0 =C2=A0uint64_t ip; > -=C2=A0 =C2=A0 =C2=A0uint64_t lr; > -+=C2=A0 =C2=A0 uint64_t sp; > -+=C2=A0 =C2=A0 uint64_t fp; > - > - } cdh_registers_t; > - > -diff --git a/src/core_dump_handler/dlt_cdh_cpuinfo.c > b/src/core_dump_handler/dlt_cdh_cpuinfo.c > -new file mode 100644 > -index 00000000..03509fda > ---- /dev/null > -+++ b/src/core_dump_handler/dlt_cdh_cpuinfo.c > -@@ -0,0 +1,33 @@ > -+/* > -+ * SPDX license identifier: MPL-2.0 > -+ * > -+ * Copyright (C) 2011-2015, BMW AG > -+ * > -+ * This file is part of COVESA Project DLT - Diagnostic Log and > Trace. > -+ * > -+ * This Source Code Form is subject to the terms of the > -+ * Mozilla Public License (MPL), v. 2.0. > -+ * If a copy of the MPL was not distributed with this file, > -+ * You can obtain one at http://mozilla.org/MPL/2.0/ > . > -+ * > -+ * For further information see http://www.covesa.org/ > . > -+ */ > -+ > -+/*! > -+ * \author Gianfranco Costamagna > -+ * > -+ * \copyright Copyright =C2=A9 2011-2015 BMW AG. \n > -+ * License MPL-2.0: Mozilla Public License version 2.0 > http://mozilla.org/MPL/2.0/ > . > -+ * > -+ * \file dlt_cdh_cpuinfo.c > -+ */ > -+ > -+#include "dlt_cdh_cpuinfo.h" > -+ > -+void get_registers(prstatus_t *prstatus, cdh_registers_t *registe= rs) > -+{ > -+/*=C2=A0 =C2=A0 struct user_regs_struct *ptr_reg =3D (struct > user_regs_struct *)prstatus->pr_reg; > -+ > -+=C2=A0 =C2=A0 registers->pc =3D ptr_reg->pc;*/ /* [REG_PROC_COUNT= ER]; */ > -+ > -+} > -diff --git a/src/core_dump_handler/dlt_cdh_crashid.c > b/src/core_dump_handler/dlt_cdh_crashid.c > -index bca44e0e..8dd98d70 100644 > ---- a/src/core_dump_handler/dlt_cdh_crashid.c > -+++ b/src/core_dump_handler/dlt_cdh_crashid.c > -@@ -30,7 +30,7 @@ > - #include > - #include > - #include > --#include > -+#include > - #include > - > - #include "dlt_cdh.h" > diff --git > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/567.patch > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/567.patch > deleted file mode 100644 > index fd36480456..0000000000 > --- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/567.patch > +++ /dev/null > @@ -1,36 +0,0 @@ > -Upstream-Status: Submitted > [https://github.com/COVESA/dlt-daemon/pull/567 > ] > - > -From c84e48f6986054cf8b9459e608235b7bd1635746 Mon Sep 17 00:00:00 > 2001 > -From: Gianfranco Costamagna > -Date: Mon, 13 Nov 2023 12:37:23 +0100 > -Subject: [PATCH] dlt_cdh: > - > -Make sure on 64 bit we read an ELF64 structure. > -Otherwise we get a read error, and the context file is missing > some good > -to know information > ---- > - src/core_dump_handler/dlt_cdh.h | 7 +++++++ > - 1 file changed, 7 insertions(+) > - > -diff --git a/src/core_dump_handler/dlt_cdh.h > b/src/core_dump_handler/dlt_cdh.h > -index 8608c6c4..3dac480a 100644 > ---- a/src/core_dump_handler/dlt_cdh.h > -+++ b/src/core_dump_handler/dlt_cdh.h > -@@ -45,10 +45,17 @@ > - #define CORE_FILE_PATTERN=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= "%s/core.%d.%s.%d.gz" > - #define CONTEXT_FILE_PATTERN "%s/context.%d.%s.%d.txt" > - > -+#if ((__SIZEOF_POINTER) =3D=3D 4) > - #define ELF_Ehdr=C2=A0 =C2=A0 Elf32_Ehdr > - #define ELF_Phdr=C2=A0 =C2=A0 Elf32_Phdr > - #define ELF_Shdr=C2=A0 =C2=A0 Elf32_Shdr > - #define ELF_Nhdr=C2=A0 =C2=A0 Elf32_Nhdr > -+#else > -+#define ELF_Ehdr=C2=A0 =C2=A0 Elf64_Ehdr > -+#define ELF_Phdr=C2=A0 =C2=A0 Elf64_Phdr > -+#define ELF_Shdr=C2=A0 =C2=A0 Elf64_Shdr > -+#define ELF_Nhdr=C2=A0 =C2=A0 Elf64_Nhdr > -+#endif > - > - typedef struct > - { > diff --git > a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb > > b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_3.0.0.bb > > similarity index 90% > rename from > meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb > > rename to meta-oe/recipes-extended/dlt-daemon/dlt-daemon_3.0.0.bb > > index 82edde6c9d..7f402b0e29 100644 > --- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb > > +++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_3.0.0.bb > > @@ -17,12 +17,12 @@ DEPENDS =3D "zlib gzip-native json-c" > =C2=A0SRC_URI =3D > "git://github.com/COVESA/${BPN}.git;protocol=3Dhttps;branch=3Dmaste= r > > \ > file://0002-Don-t-execute-processes-as-a-specific-user.patch \ > file://0004-Modify-systemd-config-directory.patch \ > - file://544.patch \ > - file://567.patch \ > - > file://0001-CMakeLists-txt-make-DLT_WatchdogSec-can-be-set-by-user.= patch > \ > - file://0003-allow-build-with-cmake-4.patch \ > + file://0001-Fix-compile-failure-related-to-gzlog.patch \ > + file://0001-Fix-kinds-of-build-failure.patch \ > + file://0001-Fix-build-failures.patch \ > + file://0001-fix-build-failure-when-systemd-is-enabled.patch \ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 " > -SRCREV =3D "0f2d4cfffada6f8448a2cb27995b38eb4271044f" > +SRCREV =3D "f595ea29d1007ca1c3b2d1fd3a88adf7d3db6320" > > > =C2=A0PACKAGECONFIG ?=3D "${@bb.utils.contains('DISTRO_FEATURES', > 'systemd', ' systemd systemd-watchdog systemd-journal ', '', d)} \ > @@ -71,4 +71,5 @@ FILES:${PN}-doc +=3D "${datadir}/dlt-filetransfer= " > > =C2=A0do_install:append() { > =C2=A0 =C2=A0 =C2=A0rm -f ${D}${bindir}/dlt-test-* > +=C2=A0 =C2=A0 sed -i -e 's:${RECIPE_SYSROOT}::g' > ${D}/usr/lib/pkgconfig/automotive-dlt.pc > =C2=A0} > --=20 > 2.34.1 > > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > Links: You receive all messages sent to this group. > View/Reply Online (#125309): > https://lists.openembedded.org/g/openembedded-devel/message/125309 > > Mute This Topic: > https://lists.openembedded.org/mt/118361368/1997914 > > Group Owner: openembedded-devel+owner@lists.openembedded.org > > Unsubscribe: > https://lists.openembedded.org/g/openembedded-devel/unsub > > [raj.khem@gmail.com] > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > --------------T0abBy6SYssXQlcQ8YRqhlXZ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 62I5f7iA1345601


On 3/18/26 12:53, Khem Raj wrote:
=20
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

V3 has sent to fix this.

//Changqing


On Tue, Mar 17, 2026 at 2:31=E2=80=AFAM Changqing Li via lists.openembedded.org <changqing.li=3Dwindriver.com@lists.openembedded.org> wrote:
Changes:
https://github.com/COVESA/dl= t-daemon/releases

Remove patches already in 3.0.0:
544.patch
567.patch
0001-CMakeLists-txt-make-DLT_WatchdogSec-can-be-set-by-user.patch
0003-allow-build-with-cmake-4.patch

Add patches to fix build failures
0001-Fix-compile-failure-related-to-gzlog.patch
0001-Fix-kinds-of-build-failure.patch
0001-Fix-build-failures.patch
0001-fix-build-failure-when-systemd-is-enabled.patch

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 ...e-DLT_WatchdogSec-can-be-set-by-user.patch |  4= 0 --
 .../dlt-daemon/0001-Fix-build-failures.patch  | 36= 0 +++++++++++++++
 ...Fix-compile-failure-related-to-gzlog.patch |  6= 9 +++
 .../0001-Fix-kinds-of-build-failure.patch    =  | 174 +++++++
 ...uild-failure-when-systemd-is-enabled.patch | 423 ++++++++++++++++++
 .../0003-allow-build-with-cmake-4.patch    &n= bsp;  |  99 ----
 .../dlt-daemon/dlt-daemon/544.patch     =      |  80 ----
 .../dlt-daemon/dlt-daemon/567.patch     =      |  36 --
 ...-daemon_2.18.10.bb =3D> dlt-daemon_3.0.0.bb} |  11 +-
 9 files changed, 1032 insertions(+), 260 deletions(-)  delete mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-txt-make-D= LT_WatchdogSec-can-be-set-by-user.patch
 create mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-build-failures.pa= tch
 create mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-compile-failure-r= elated-to-gzlog.patch
 create mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-kinds-of-build-fa= ilure.patch
 create mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-fix-build-failure-whe= n-systemd-is-enabled.patch
 delete mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-with-cmak= e-4.patch
 delete mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/544.patch
 delete mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/567.patch
 rename meta-oe/recipes-extended/dlt-daemon/{dlt-daemon_2.18.10.bb =3D> dlt-daemon_3.0.0.bb} (90%)

diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-txt-make= -DLT_WatchdogSec-can-be-set-by-user.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-txt-make= -DLT_WatchdogSec-can-be-set-by-user.patch
deleted file mode 100644
index 335872c40f..0000000000
--- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-txt-make= -DLT_WatchdogSec-can-be-set-by-user.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From bc03f142507da92add8ba325fdf8187d47a7d719 Mon Sep 17 00:00:00 2001
-From: Changqing Li <changqing.li@windriver.com>
-Date: Fri, 13 Dec 2024 16:37:24 +0800
-Subject: [PATCH] CMakeLists.txt: make DLT_WatchdogSec can be set by user
-
-In my test env, WatchdogSec default value 2 is not enough, manually
-changed to 3 is ok. This makes dlt.service/dlt-system.service start
-failed during boot time. So, make DLT_WatchdogSec can be set by user, so
-user can set them to proper value at build time, then service can start
-successfully in boot time.
-
-Signed-off-by: Changqing Li <changqing.li@windriver.com>
-
-Upstream-Status: Backport [https://github.com/COVES= A/dlt-daemon/pull/720/commits/bc03f142507da92add8ba325fdf8187d47a7d719]
-
-Signed-off-by: Changqing Li <
changqing.li@windriver.com>
----
- systemd/CMakeLists.txt | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/systemd/CMakeLists.txt b/systemd/CMakeLists.txt
-index 16cbe86b5..659378d16 100644
---- a/systemd/CMakeLists.txt
-+++ b/systemd/CMakeLists.txt
-@@ -18,10 +18,14 @@ if(WITH_SYSTEMD)
-     set(SYSTEMD_CONFIGURATIONS_FILES_DIR ${SYSTEMD_UNITDIR} )
-
-     if(WITH_SYSTEMD_WATCHDOG)
--        set( DLT_WatchdogSec 2 )
-+        if(NOT DEFINED DLT_WatchdogSec)=
-+            set(DLT_WatchdogS= ec 2 CACHE STRING "Watchdog timeout in seconds")
-+        endif()
-         message( STATUS "The = systemd watchdog is enabled - timeout is set to ${DLT_WatchdogSec} seconds")
-     else(WITH_SYSTEMD_WATCHDOG)
--        set( DLT_WatchdogSec 0 )
-+        if(NOT DEFINED DLT_WatchdogSec)=
-+             set(DLT_Wat= chdogSec 0 CACHE STRING "Watchdog timeout in seconds")
-+        endif()
-         message( STATUS "The = systemd watchdog is disabled")
-     endif(WITH_SYSTEMD_WATCHDOG)
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-build-failures.= patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-build-failures.= patch
new file mode 100644
index 0000000000..6cfa3a5482
--- /dev/null
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-build-failures.= patch
@@ -0,0 +1,360 @@
+From 4813b72cfe82062db41dd1d8cfa7069634d78d9e Mon Sep 17 00:00:00 2001
+From: Changqing Li <changqing.li@windriver.com>
+Date: Mon, 16 Mar 2026 13:28:40 +0800
+Subject: [PATCH] Fix build failures
+
+Fix the following similar build failures, some of the build failure
+reproduced with arm64/riscv64, some of the build reproduced with 32bit
+x86/arm.
+
+dlt_daemon_common.c:2785:26: error: conversion to 'int8_t' {aka 'signed char'} from 'char' may change the sign of the result [-Werror=3Dsign-conversion]
+
+src/tests/dlt-test-multi-process-client-v2.c:302:49: error: format '%lld' expects argument of type 'long long int', but argument 2 has type 'time_t' {aka 'long int'} [-Werror=3Dformat=3D]
+  302 |     printf(" Time running (= seconds)        : %lld\n", time(NULL) - stats.first_message_time);
+      |          &nb= sp;                    =               ~~~^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+      |          &nb= sp;                    =                  |                |
+      |          &nb= sp;                    =                  long long int    time_t {aka long int}
+      |          &nb= sp;                    =               %ld
+
+src/lib/dlt_user.c:5109:60: error: format '%lld' expects argument of type 'long long int', but argument 4 has type '__off_t' {aka 'long int'} [-Werror=3Dformat=3D]
+ 5109 |             dlt_v= log(LOG_DEBUG, "%s: Current file size=3D[%lld]\n", __func__,
+      |          &nb= sp;                    =                          ~~~^
+      |          &nb= sp;                    =                             |
+      |          &nb= sp;                    =                             long long int
+      |          &nb= sp;                    =                          %ld
+ 5110 |              &nbs= p;       st.st_size);
+      |          &nb= sp;           ~~~~~~~~~~
+      |          &nb= sp;             |
+      |          &nb= sp;             __off_t {aka long int}
+
+Upstream-Status: Submitted [https://github.com/COVESA/dlt-daemon/pull/827]
+
+Signed-off-by: Changqing Li <changqing.li@windriver.com>
+---
+ src/daemon/dlt-daemon.c          &= nbsp;           |  8 ++---
+ src/daemon/dlt_daemon_client.c        &= nbsp;      | 32 ++++++++++----------
+ src/daemon/dlt_daemon_common.c        &= nbsp;      |  4 +--
+ src/lib/dlt_user.c           =                | 18 +++++------
+ src/shared/dlt_common.c          &= nbsp;           |  2 +-
+ src/shared/dlt_multiple_files.c        =       |  2 +-
+ src/tests/dlt-test-multi-process-client-v2.c |  8 ++--= -
+ src/tests/dlt-test-multi-process-v2.c      &= nbsp; |  2 +-
+ src/tests/dlt-test-multi-process.c      &nbs= p;    |  2 +-
+ 9 files changed, 39 insertions(+), 39 deletions(-)
+
+diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c
+index 523bf33..2ae5bc9 100644
+--- a/src/daemon/dlt-daemon.c
++++ b/src/daemon/dlt-daemon.c
+@@ -457,7 +457,7 @@ int option_file_parser(DltDaemonLocal *daemon_local)
+
+     if (n < 0 || (size_t)n > sizeof(daemon_local->flags.loggingFilename)) {
+         dlt_vlog(LOG_WARNING, &quo= t;%s: snprintf truncation/error(%ld) %s\n",
+-                __f= unc__, n, daemon_local->flags.loggingFilename);
++                __f= unc__, (long int)n, daemon_local->flags.loggingFilename);
+     }
+     daemon_local->flags.enableLoggingFile= Limit =3D false;
+     daemon_local->flags.loggingFileSize =3D= 250000;
+@@ -2501,7 +2501,7 @@ void dlt_daemon_exit_trigger()
+     n =3D snprintf(tmp, DLT_PATH_MAX, "= %s/dlt", dltFifoBaseDir);
+     if (n < 0 || (size_t)n > DLT_PATH_= MAX) {
+         dlt_vlog(LOG_WARNING, &quo= t;%s: snprintf truncation/error(%ld) %s\n",
+-                __f= unc__, n, tmp);
++                __f= unc__, (long int)n, tmp);
+     }
+
+     (void)unlink(tmp);
+@@ -2878,8 +2878,8 @@ int dlt_daemon_log_internal(DltDaemon *daemon, DltDaemonLocal *daemon_local,
+         dlt_daemon_client_send(DLT= _DAEMON_SEND_TO_ALL, daemon,daemon_local,
+                &nbs= p;            msg.headerbuffer, sizeof(DltStorageHeader),
+                &nbs= p;            msg.headerbuffer + sizeof(DltStorageHeader),
+-                &nb= sp;           (size_t)(msg.headersize - (int32_t)sizeof(DltStorageHeader)),
+-                &nb= sp;           msg.databuffer, (size_t)msg.datasize, verbose);
++                &nb= sp;           (int)(msg.headersize - (int32_t)sizeof(DltStorageHeader)),
++                &nb= sp;           msg.databuffer, (int)msg.datasize, verbose);
+
+         free(msg.databuffer);
+     }else {
+diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c
+index 50d8f19..20a512b 100644
+--- a/src/daemon/dlt_daemon_client.c
++++ b/src/daemon/dlt_daemon_client.c
+@@ -551,8 +551,8 @@ int dlt_daemon_client_send_message_to_all_client(DltDaemon *daemon,
+     return dlt_daemon_client_send(DLT_DAEMON= _SEND_TO_ALL, daemon, daemon_local,
+                &nbs= p;daemon_local->msg.headerbuffer, sizeof(DltStorageHeader),
+                &nbs= p;daemon_local->msg.headerbuffer + sizeof(DltStorageHeader),
+-                (si= ze_t)(daemon_local->msg.headersize - (int32_t)sizeof(DltStorageHeader)),
+-                dae= mon_local->msg.databuffer, (size_t)daemon_local->msg.datasize, verbose);
++                (in= t)(daemon_local->msg.headersize - (int32_t)sizeof(DltStorageHeader)),
++                dae= mon_local->msg.databuffer, (int)daemon_local->msg.datasize, verbose);
+
+ }
+
+@@ -771,8 +771,8 @@ int dlt_daemon_client_send_control_message(int sock,
+     if ((ret =3D
+              dlt_daemon_= client_send(sock, daemon, daemon_local, msg->headerbuffer, sizeof(DltStorageHeader),
+                &nbs= p;                    m= sg->headerbuffer + sizeof(DltStorageHeader),
+-                &nb= sp;                   (size_t)(msg->headersize - (int32_t)sizeof(DltStorageHeader)),
+-                &nb= sp;                   msg-&g= t;databuffer, (size_t)msg->datasize, verbose))) {
++                &nb= sp;                   (int)(msg->headersize - (int32_t)sizeof(DltStorageHeader)),
++                &nb= sp;                   msg-&g= t;databuffer, (int)msg->datasize, verbose))) {
+         dlt_log(LOG_DEBUG, "dlt_daemon_control_send_control_message: DLT message se= nd to all failed!.\n");
+         return ret;
+     }
+@@ -1919,7 +1919,7 @@ void dlt_daemon_control_get_log_info(int sock,
+
+     /* Allocate buffer for response message = */
+     resp.databuffer =3D (uint8_t *)malloc((size_t)resp.datasize);
+-    resp.databuffersize =3D (size_t)resp.datasize= ;
++    resp.databuffersize =3D resp.datasize;
+
+     if (resp.databuffer =3D=3D 0) {
+         dlt_daemon_control_service= _response(sock,
+@@ -2572,7 +2572,7 @@ int dlt_daemon_control_message_buffer_overflow(int sock,
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -2633,7 +2633,7 @@ int dlt_daemon_control_message_buffer_overflow_v2(int sock,
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -2686,7 +2686,7 @@ void dlt_daemon_control_service_response(int sock,
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -2732,7 +2732,7 @@ void dlt_daemon_control_service_response_v2(int sock,
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -2779,7 +2779,7 @@ int dlt_daemon_control_message_unregister_context(int sock,
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -2842,7 +2842,7 @@ int dlt_daemon_control_message_unregister_context_v2(int sock, +
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -2909,7 +2909,7 @@ int dlt_daemon_control_message_connection_info(int sock,
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -2962,7 +2962,7 @@ int dlt_daemon_control_message_connection_info_v2(int sock,
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -3010,7 +3010,7 @@ int dlt_daemon_control_message_timezone(int sock, DltDaemon *daemon, DltDaemonLo
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -3072,7 +3072,7 @@ int dlt_daemon_control_message_timezone_v2(int sock, DltDaemon *daemon, DltDaemo
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+@@ -3127,7 +3127,7 @@ int dlt_daemon_control_message_marker(int sock, DltDaemon *daemon, DltDaemonLoca
+
+     if (msg.databuffer =3D=3D 0) {
+         msg.databuffer =3D (uint8_= t *)malloc((size_t)msg.datasize);
+-        msg.databuffersize =3D (size_t)= msg.datasize;
++        msg.databuffersize =3D msg.data= size;
+     }
+
+     if (msg.databuffer =3D=3D 0)
+diff --git a/src/daemon/dlt_daemon_common.c b/src/daemon/dlt_daemon_common.c
+index 2f08c6a..65b264a 100644
+--- a/src/daemon/dlt_daemon_common.c
++++ b/src/daemon/dlt_daemon_common.c
+@@ -2782,7 +2782,7 @@ int dlt_daemon_user_send_log_state(DltDaemon *daemon, DltDaemonApplication *app,
+     if (dlt_user_set_userheader(&userhea= der, DLT_USER_MESSAGE_LOG_STATE) < DLT_RETURN_OK)
+         return -1;
+
+-    logstate.log_state =3D daemon->connectionS= tate;
++    logstate.log_state =3D (int8_t)daemon->connectionState;
+
+     /* log to FIFO */
+     ret =3D dlt_user_log_out2_with_timeout(app->user_handle,
+@@ -2811,7 +2811,7 @@ int dlt_daemon_user_send_log_state_v2(DltDaemon *daemon, DltDaemonApplication *a
+     if (dlt_user_set_userheader_v2(&user= header, DLT_USER_MESSAGE_LOG_STATE) < DLT_RETURN_OK)
+         return -1;
+
+-    logstate.log_state =3D daemon->connectionS= tate;
++    logstate.log_state =3D (int8_t)daemon->connectionState;
+
+     /* log to FIFO */
+     ret =3D dlt_user_log_out2_with_timeout(app->user_handle,
+diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c
+index 6d0098d..e432e26 100644
+--- a/src/lib/dlt_user.c
++++ b/src/lib/dlt_user.c
+@@ -5106,8 +5106,8 @@ DltReturnValue dlt_user_log_send_log(DltContextData *log, const int mtype, int *
+                &nbs= p;return DLT_RETURN_ERROR;
+             }
+
+-            dlt_vlog(LOG_DEBU= G, "%s: Current file size=3D[%ld]\n", __func__,
+-                &nb= sp;    st.st_size);
++            dlt_vlog(LOG_DEBU= G, "%s: Current file size=3D[%lld]\n", __func__,
++                &nb= sp;    (long long int)st.st_size);
+             /* Check fil= esize */
+             /* Return er= ror if the file size has reached to maximum */
+             unsigned int= msg_size =3D (unsigned int)st.st_size + (unsigned int)msg.headersize +
+@@ -5115,8 +5115,8 @@ DltReturnValue dlt_user_log_send_log(DltContextData *log, const int mtype, int *
+             if (msg_size= > dlt_user.filesize_max) {
+                &nbs= p;dlt_user_file_reach_max =3D true;
+                &nbs= p;dlt_vlog(LOG_ERR,
+-                &nb= sp;        "%s: File size (%ld bytes) reached to defined maximum size (%d bytes)\n",
+-                &nb= sp;        __func__, st.st_size, dlt_user.filesize_max);
++                &nb= sp;        "%s: File size (%lld bytes) reached to defined maximum size (%d bytes)\n",
++                &nb= sp;        __func__, (long long int)st.st_size, dlt_user.filesize_max);
+                &nbs= p;dlt_mutex_unlock();
+                &nbs= p;return DLT_RETURN_FILESZERR;
+             }
+@@ -5612,21 +5612,21 @@ DltReturnValue dlt_user_log_send_log_v2(DltContextData *log, const int mtype, Dl
+                &nbs= p;return DLT_RETURN_ERROR;
+             }
+
+-            dlt_vlog(LOG_DEBU= G, "%s: Current file size=3D[%ld]\n", __func__,
+-                &nb= sp;    st.st_size);
++            dlt_vlog(LOG_DEBU= G, "%s: Current file size=3D[%lld]\n", __func__,
++                &nb= sp;    (long long int)st.st_size);
+             /* Check fil= esize */
+             /* Return er= ror if the file size has reached to maximum */
+             unsigned int= msg_size =3D 0;
+             if (st.st_si= ze < 0 || st.st_size > UINT_MAX) {
+-                dlt= _vlog(LOG_ERR, "%s: File size (%ld bytes) is invalid or too large for unsigned int\n", __func__, st.st_size);
++                dlt= _vlog(LOG_ERR, "%s: File size (%lld bytes) is invalid or too large for unsigned int\n", __func__, (long long int)st.st_size);
+                &nbs= p;return DLT_RETURN_FILESZERR;
+             }
+             msg_size =3D= (unsigned int)st.st_size + (unsigned int) msg.headersizev2 + (unsigned int) log->size;
+             if (msg_size= > dlt_user.filesize_max) {
+                &nbs= p;dlt_user_file_reach_max =3D true;
+                &nbs= p;dlt_vlog(LOG_ERR,
+-                &nb= sp;        "%s: File size (%ld bytes) reached to defined maximum size (%d bytes)\n",
+-                &nb= sp;        __func__, st.st_size, dlt_user.filesize_max);
++                &nb= sp;        "%s: File size (%lld bytes) reached to defined maximum size (%d bytes)\n",
++                &nb= sp;        __func__, (long long int)st.st_size, dlt_user.filesize_max);
+                &nbs= p;return DLT_RETURN_FILESZERR;
+             }
+             else {
+diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c
+index 6ad354b..aa0aaaa 100644
+--- a/src/shared/dlt_common.c
++++ b/src/shared/dlt_common.c
+@@ -1220,7 +1220,7 @@ DltReturnValue dlt_message_header_flags_v2(DltMessageV2 *msg, char *text, size_t
+             for (int i =3D= 0; i<5; ++i){
+                &nbs= p;tt =3D (tt << 8) | msg->headerextrav2.seconds[i];
+             }
+-            snprintf(text + s= trlen(text), textlength - strlen(text), "%ld.%.9u ", tt, msg->headerextrav2.nanoseconds);
++            snprintf(text + s= trlen(text), textlength - strlen(text), "%lld.%.9u ", (long long int)tt, msg->headerextrav2.nanoseconds);
+         }
+         else
+             snprintf(tex= t + strlen(text), textlength - strlen(text), "---------- ");
+diff --git a/src/shared/dlt_multiple_files.c b/src/shared/dlt_multiple_files.c
+index c4019e5..65529ff 100644
+--- a/src/shared/dlt_multiple_files.c
++++ b/src/shared/dlt_multiple_files.c
+@@ -257,7 +257,7 @@ ssize_t multiple_files_buffer_get_total_size(const MultipleFilesRingBuffer *file
+             if (((unsign= ed int)res < sizeof(filename)) && (res > 0)) {
+                &nbs= p;errno =3D 0;
+                &nbs= p;if (0 =3D=3D stat(filename, &status))
+-                &nb= sp;   size +=3D status.st_size;
++                &nb= sp;   size +=3D (ssize_t)status.st_size;
+                &nbs= p;else
+                &nbs= p;    fprintf(stderr, "file %s cannot be stat-ed, error=3D%s\n", filename, strerror(errno));
+             }
+diff --git a/src/tests/dlt-test-multi-process-client-v2.c b/src/tests/dlt-test-multi-process-client-v2.c
+index 2bb1158..ec99720 100644
+--- a/src/tests/dlt-test-multi-process-client-v2.c
++++ b/src/tests/dlt-test-multi-process-client-v2.c
+@@ -299,10 +299,10 @@ void print_stats(s_statistics stats, s_parameters params)
+     printf(" Messages received  &n= bsp;          : %d\n", stats.messages_received);
+     printf(" Broken messages received&n= bsp;     : %d\n", stats.broken_messages_received);
+     printf(" Bytes received   = ;             : %d\n", stats.bytes_received);
+-    printf(" Time running (seconds)  &n= bsp;     : %ld\n", time(NULL) - stats.first_message_time);
+-    printf(" Throughput (msgs/sec)/(B/sec) := %ld/%ld\n",
+-           stats.messages_rec= eived / ((time(NULL) - stats.first_message_time) + 1),
+-           (stats.bytes_recei= ved) / ((time(NULL) - stats.first_message_time) + 1));
++    printf(" Time running (seconds)  &n= bsp;     : %lld\n", (long long int)(time(NULL) - stats.first_message_time));
++    printf(" Throughput (msgs/sec)/(B/sec) := %lld/%lld\n",
++           (long long int)(st= ats.messages_received / ((time(NULL) - stats.first_message_time) + 1)),
++           (long long int)((s= tats.bytes_received) / ((time(NULL) - stats.first_message_time) + 1)));
+
+     if (params.messages_left =3D=3D 0) {
+         if (stats.broken_messages_= received =3D=3D 0)
+diff --git a/src/tests/dlt-test-multi-process-v2.c b/src/tests/dlt-test-multi-process-v2.c
+index 44a8622..1d3a54a 100644
+--- a/src/tests/dlt-test-multi-process-v2.c
++++ b/src/tests/dlt-test-multi-process-v2.c
+@@ -393,7 +393,7 @@ void *do_logging(void *arg)
+
+         sleep_time =3D mksleep_tim= e(data->params.delay, data->params.delay_fudge);
+         ts.tv_sec =3D sleep_time /= 1000000000;
+-        ts.tv_nsec =3D sleep_time % 100= 0000000;
++        ts.tv_nsec =3D (long int)(sleep= _time % 1000000000);
+         nanosleep(&ts, NULL);<= br> +     }
+
+diff --git a/src/tests/dlt-test-multi-process.c b/src/tests/dlt-test-multi-process.c
+index 016c8b4..00fb11c 100644
+--- a/src/tests/dlt-test-multi-process.c
++++ b/src/tests/dlt-test-multi-process.c
+@@ -370,7 +370,7 @@ void *do_logging(void *arg)
+
+         sleep_time =3D mksleep_tim= e(data->params.delay, data->params.delay_fudge);
+         ts.tv_sec =3D sleep_time /= 1000000000;
+-        ts.tv_nsec =3D sleep_time % 100= 0000000;
++        ts.tv_nsec =3D (long int)(sleep= _time % 1000000000);
+         nanosleep(&ts, NULL);<= br> +     }
+
+--
+2.34.1
+
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-compile-failure= -related-to-gzlog.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-compile-failure= -related-to-gzlog.patch
new file mode 100644
index 0000000000..f9692d9f4d
--- /dev/null
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-compile-failure= -related-to-gzlog.patch
@@ -0,0 +1,69 @@
+From bee9bce043c72de1d27a4251333ace9fe66bcc74 Mon Sep 17 00:00:00 2001
+From: Changqing Li <changqing.li@windriver.com>
+Date: Thu, 12 Mar 2026 19:37:11 +0800
+Subject: [PATCH] Fix compile failure related to gzlog
+MIME-Version: 1.0
+Content-Type: text/plain; charset=3DUTF-8
+Content-Transfer-Encoding: 8bit
+
+* In commit [1], gzlog is changed from gzFile to gzFile*, this cause
+  failure:
+/dlt-daemon/src/offlinelogstorage/dlt_offline_logstorage.c:88:21: error: passing argument 1 of =E2=80=98gzclose=E2=80=99 from i= ncompatible pointer type [-Werror=3Dincompatible-pointer-types]
+   88 |         gzclose(d= ata->gzlog);
+      |          &nb= sp;      ~~~~^~~~~~~
+      |          &nb= sp;          |
+      |          &nb= sp;          struct gzFile_s **
+compilation terminated due to -Wfatal-errors.
+
+so change gzlog back to gzFile, so that all the gzxxx function can work
+well.
+
+* Change to gzFile causes the following failure, since fileno need
+  FILE*, according to code "config->gzlog =3D gzdopen(config->fd, mode)",
+  seems we don't need to use fileno, just use config-&g= t;fd is ok.
+/dlt-daemon/src/offlinelogstorage/dlt_offline_logstorage_behavior.c:1133= :48: error: passing argument 1 of =E2=80=98fileno=E2=80=99 from in= compatible pointer type [-Werror=3Dincompatible-pointer-types]
+ 1133 |              &nbs= p;          if (fsync(fileno(config->gzlog)) !=3D 0) {
+      |          &nb= sp;                    =           ~~~~~~^~~~~~~
+      |          &nb= sp;                    =                 |
+      |          &nb= sp;                    =                 gzFile {aka struct gzFile_s *}
+compilation terminated due to -Wfatal-errors.
+
+[1] https://github.com/COVESA/dlt-daemon/commit/543087ba98c103dc576edadeccf61= 4c9dab1b9b3
+
+Upstream-Status: Submitted [https://github.com/COVESA/dlt-daemon/pull/826]
+
+Signed-off-by: Changqing Li <changqing.li@windriver.com>
+---
+ src/offlinelogstorage/dlt_offline_logstorage.h   =       | 2 +-
+ src/offlinelogstorage/dlt_offline_logstorage_behavior.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/offlinelogstorage/dlt_offline_logstorage.h b/src/offlinelogstorage/dlt_offline_logstorage.h
+index fe38687..09ea5ce 100644
+--- a/src/offlinelogstorage/dlt_offline_logstorage.h
++++ b/src/offlinelogstorage/dlt_offline_logstorage.h
+@@ -217,7 +217,7 @@ struct DltLogStorageFilterConfig
+     FILE *log;        &n= bsp;             /* current open log file */
+     int fd;         = ;                /* The file desc= riptor for the active log file */
+ #ifdef DLT_LOGSTORAGE_USE_GZIP
+-    gzFile *gzlog;        &nb= sp;         /* current open gz log file */
++    gzFile gzlog;        &nbs= p;          /* current open gz log file */
+ #endif
+     void *cache;        =             /* log data cache */
+     unsigned int specific_size;   =  /* cache size used for specific_size sync strategy */
+diff --git a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
+index f17fbb2..ff09c9e 100644
+--- a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
++++ b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
+@@ -1130,7 +1130,7 @@ int dlt_logstorage_prepare_on_msg(DltLogStorageFilterConfig *config,
+                &nbs= p;    (config->sync =3D=3D DLT_LOGSTORAGE_SYNC_UNSET)) {
+ #ifdef DLT_LOGSTORAGE_USE_GZIP
+                &nbs= p;    if (config->gzip_compression =3D=3D DLT_LOGSTORAGE_GZIP_ON) {
+-                &nb= sp;       if (fsync(fileno(config->gzlog)) !=3D 0) {
++                &nb= sp;       if (fsync(config->fd) !=3D 0) {
+                &nbs= p;            if (errno !=3D ENOSYS) {
+                &nbs= p;                dlt_vlog(LOG_ER= R, "%s: failed to sync gzip log file\n", __func__);
+                &nbs= p;            }
+--
+2.34.1
+
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-kinds-of-build-= failure.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-kinds-of-build-= failure.patch
new file mode 100644
index 0000000000..403d1089e2
--- /dev/null
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-Fix-kinds-of-build-= failure.patch
@@ -0,0 +1,174 @@
+From 3d713358fe19ce02e7c580d26222ec2386c94bc9 Mon Sep 17 00:00:00 2001
+From: Changqing Li <changqing.li@windriver.com>
+Date: Thu, 12 Mar 2026 20:06:34 +0800
+Subject: [PATCH] Fix kinds of build failure
+MIME-Version: 1.0
+Content-Type: text/plain; charset=3DUTF-8
+Content-Transfer-Encoding: 8bit
+
+Fix kinds of build failures caused by -Werror=3Dsign-conversion,
+-Werror=3Dcast-qual, -Werror=3Dconversion etc.
+Eg:
+src/offlinelogstorage/dlt_offline_logstorage.h:129:49: error: unsigned conversion from =E2=80=98int=E2=80=99 to =E2=80= =98unsigned int=E2=80=99 changes value from =E2=80=98-1=E2=80=99 to =E2=80=98429496729= 5=E2=80=99 [-Werror=3Dsign-conversion]
+  129 | #define DLT_LOGSTORAGE_GZIP_ERROR    =            -1 /* error case */
+      |          &nb= sp;                    =                  ^
+/dlt-daemon/src/offlinelogstorage/dlt_offline_logstorage.c:1303:36: note: in expansion of macro =E2=80=98DLT_LOGSTORAGE_GZIP_ERRO= R=E2=80=99
+ 1303 |         config->gzip_com= pression =3D DLT_LOGSTORAGE_GZIP_ERROR;
+
+      |          &nb= sp;                    =     ^~~~~~~~~~~~~~~~~~~~~~~~~
+
+src/offlinelogstorage/dlt_offline_logstorage_behavior.c:851:16: error: conversion from =E2=80=98z_size_t=E2=80=99 {aka =E2=80=98long= unsigned int=E2=80=99} to =E2=80=98int=E2=80=99 may change value [-Werror=3Dconversion]=
+  851 |         return gzfwrit= e(ptr, size, nmemb, config->gzlog);
+      |          &nb= sp;     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+src/console/dlt-control-common.c:922:25: error: cast discards 'const' qualifier from pointer target type [-Werror=3Dcast-qual]
+  922 |     json_object_to_file((char*)f= ilename, json_filter_obj);
+      |
+
+Use explicit type conversion to make the build can pass
+
+Upstream-Status: Submitted [https://github.com/COVESA/dlt-daemon/pull/826]
+
+Signed-off-by: Changqing Li <changqing.li@windriver.com>
+---
+ src/console/dlt-control-common.c       =                |  2 +-
+ src/daemon/dlt-daemon.c          &= nbsp;                   &nbs= p; |  4 ++--
+ src/daemon/udp_connection/dlt_daemon_udp_socket.c  &nb= sp;   | 10 +++++-----
+ src/examples/dlt-example-multicast-clientmsg-view.c  &= nbsp; |  8 ++++----
+ src/offlinelogstorage/dlt_offline_logstorage.h   =      |  2 +-
+ .../dlt_offline_logstorage_behavior.c      &= nbsp;           |  4 ++--
+ 6 files changed, 15 insertions(+), 15 deletions(-)
+
+diff --git a/src/console/dlt-control-common.c b/src/console/dlt-control-common.c
+index 2aeea280..4f9e95b4 100644
+--- a/src/console/dlt-control-common.c
++++ b/src/console/dlt-control-common.c
+@@ -919,7 +919,7 @@ DltReturnValue dlt_json_filter_save(DltFilter *filter, const char *filename, int
+     }
+
+     printf("Saving current filter into = '%s'\n", filename);
+-    json_object_to_file((char*)filename, json_fil= ter_obj);
++    json_object_to_file(filename, json_filter_obj= );
+
+     return DLT_RETURN_OK;
+ }
+diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c
+index 97af1cd9..94024eb4 100644
+--- a/src/daemon/dlt-daemon.c
++++ b/src/daemon/dlt-daemon.c
+@@ -867,7 +867,7 @@ int option_file_parser(DltDaemonLocal *daemon_local)
+
+                &nbs= p;        if ((longval =3D=3D MULTICAST_CONNECTION_DISABLED)
+                &nbs= p;            || (longval =3D=3D MULTICAST_CONNECTION_ENABLED)) {
+-                &nb= sp;           daemon_local->UDPConnectionSetup =3D longval;
++                &nb= sp;           daemon_local->UDPConnectionSetup =3D (int)longval;
+                &nbs= p;            printf("Option: %s=3D%s\= n", token, value);
+                &nbs= p;        }
+                &nbs= p;        else {
+@@ -884,7 +884,7 @@ int option_file_parser(DltDaemonLocal *daemon_local)
+                &nbs= p;    }
+                &nbs= p;    else if (strcmp(token, "UDPMulticastIPPort") =3D=3D 0)
+                &nbs= p;    {
+-                &nb= sp;       daemon_local->UDPMulticastIPPort =3D strtol(value, NULL, 10);
++                &nb= sp;       daemon_local->UDPMulticastIPPort =3D (int)strtol(value, NULL, 10);
+                &nbs= p;    }
+ #endif
+                &nbs= p;    else if (strcmp(token, "BindAddress") =3D=3D 0)
+diff --git a/src/daemon/udp_connection/dlt_daemon_udp_socket.c b/src/daemon/udp_connection/dlt_daemon_udp_socket.c
+index 4c40cda8..b3408773 100644
+--- a/src/daemon/udp_connection/dlt_daemon_udp_socket.c
++++ b/src/daemon/udp_connection/dlt_daemon_udp_socket.c
+@@ -66,7 +66,7 @@ void dlt_daemon_udp_setmulticast_addr(DltDaemonLocal *daemon_local)
+     struct sockaddr_in clientaddr;
+     clientaddr.sin_family =3D AF_INET;
+     inet_pton(AF_INET, daemon_local->UDPMulticastIPAddress, &clientaddr.sin_addr);
+-    clientaddr.sin_port =3D htons(daemon_local->UDPMulticastIPPort);
++    clientaddr.sin_port =3D htons((uint16_t)daemon_local->UDPMulticastIPPort);
+     memcpy(&g_udpmulticast_addr.clientad= dr, &clientaddr, sizeof(struct sockaddr_in));
+     g_udpmulticast_addr.clientaddr_size =3D sizeof(g_udpmulticast_addr.clientaddr);
+     g_udpmulticast_addr.isvalidflag =3D ADDR= ESS_VALID;
+@@ -224,17 +224,17 @@ void dlt_daemon_udp_clientmsg_send(DltDaemonClientSockInfo *clientinfo,
+
+     if ((clientinfo->isvalidflag =3D=3D A= DDRESS_VALID) &&
+         (size1 > 0) && = (size2 > 0)) {
+-        void *data =3D (void *)calloc(s= ize1 + size2, sizeof(char));
++        void *data =3D (void *)calloc((= size_t)(size1 + size2), sizeof(char));
+
+         if (data =3D=3D NULL) { +             dlt_vlog(LOG= _ERR, "%s: calloc failure\n", __func__);
+             return;
+         }
+
+-        memcpy(data, data1, size1);
+-        memcpy(data + size1, data2, siz= e2);
++        memcpy(data, data1, (size_t)siz= e1);
++        memcpy((int*)data + size1, data= 2, (size_t)size2);
+
+-        if (sendto(g_udp_sock_fd, data,= size1 + size2, 0, (struct sockaddr *)&clientinfo->clientaddr,
++        if (sendto(g_udp_sock_fd, data,= (size_t)(size1 + size2), 0, (struct sockaddr *)&clientinfo->clientaddr,
+                &nbs= p;   clientinfo->clientaddr_size) < 0)
+             dlt_vlog(LOG= _ERR, "%s: Send UDP Packet Data failed\n", __func__);
+
+diff --git a/src/examples/dlt-example-multicast-clientmsg-view.c b/src/examples/dlt-example-multicast-clientmsg-view.c
+index c00537e5..f8920453 100644
+--- a/src/examples/dlt-example-multicast-clientmsg-view.c ++++ b/src/examples/dlt-example-multicast-clientmsg-view.c +@@ -74,9 +74,9 @@ int dlt_receiver_receive_socket_udp(struct clientinfostruct *clientinfo, DltRece
+     /* wait for data from socket */
+     unsigned int addrlen =3D sizeof(clientin= fo->addr);
+
+-    if ((receiver->bytesRcvd =3D recvfrom(clientinfo->fd,
++    if ((receiver->bytesRcvd =3D (int32_t)recvfrom(clientinfo->fd,
+                &nbs= p;                     =    receiver->buf + receiver->lastBytesRcvd,
+-                &nb= sp;                    =   receiver->buffersize - receiver->lastBytesRcvd,
++                &nb= sp;                    =   (size_t)(receiver->buffersize - receiver->lastBytesRcvd),
+                &nbs= p;                     =    0,
+                &nbs= p;                     =    (struct sockaddr *)&(clientinfo->addr), &addrlen))
+         <=3D 0) {
+@@ -177,11 +177,11 @@ int main()
+         dlt_receiver_receive_socke= t_udp(&clientinfo, &(clientinfo.receiver));
+
+         while (dlt_message_read(&a= mp;msg, (unsigned char *)(clientinfo.receiver.buf),
+-                &nb= sp;               clientinfo.receiver.bytesRcvd, 0, 0) =3D=3D DLT_MESSAGE_ERROR_OK) {
++                &nb= sp;               (unsigned int)clientinfo.receiver.bytesRcvd, 0, 0) =3D=3D DLT_MESSAGE_ERROR_OK) {
+             dlt_receive_= message_callback_udp(&msg);
+
+             if (dlt_receiver_remove(&(clientinfo.receiver),
+-                &nb= sp;                   msg.he= adersize + msg.datasize - sizeof(DltStorageHeader))
++                &nb= sp;                   msg.he= adersize + msg.datasize - ((int32_t)(sizeof(DltStorageHeader))))
+                &nbs= p;=3D=3D DLT_RETURN_ERROR) {
+                &nbs= p;/* Return value ignored */
+                &nbs= p;dlt_message_free(&msg, 0);
+diff --git a/src/offlinelogstorage/dlt_offline_logstorage.h b/src/offlinelogstorage/dlt_offline_logstorage.h
+index 09ea5ce4..cfb70f33 100644
+--- a/src/offlinelogstorage/dlt_offline_logstorage.h
++++ b/src/offlinelogstorage/dlt_offline_logstorage.h
+@@ -192,7 +192,7 @@ struct DltLogStorageFilterConfig
+     int overwrite;       = ;           /* Overwrite strategy */
+     int skip;        &nb= sp;              /* Flag to skip file logging if DISCARD_NEW */
+     char *ecuid;        =             /* ECU identifier */
+-    unsigned int gzip_compression;  /* Toggl= e if log files should be gzip compressed */
++    int gzip_compression;      &nb= sp;    /* Toggle if log files should be gzip compressed */
+     /* callback function for filter configur= ations */
+     int (*dlt_logstorage_prepare)(DltLogStorageFilterConfig *config,<= br> +                &nbs= p;                  DltLogSt= orageUserConfig *file_config,
+diff --git a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
+index ff09c9eb..ae8f4442 100644
+--- a/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
++++ b/src/offlinelogstorage/dlt_offline_logstorage_behavior.c
+@@ -848,10 +848,10 @@ DLT_STATIC int dlt_logstorage_write_to_log(void *ptr, size_t size, size_t nmemb,
+ {
+ #ifdef DLT_LOGSTORAGE_USE_GZIP
+     if (config->gzip_compression =3D=3D DLT_LOGSTORAGE_GZIP_ON) {
+-        return gzfwrite(ptr, size, nmem= b, config->gzlog);
++        return (int)gzfwrite(ptr, size,= nmemb, config->gzlog);
+     }
+     else {
+-        return fwrite(ptr, size, nmemb,= config->log);
++        return (int)fwrite(ptr, size, n= memb, config->log);
+     }
+ #else
+     return (int)fwrite(ptr, size, nmemb, con= fig->log);
+--
+2.34.1
+
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-fix-build-failure-w= hen-systemd-is-enabled.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-fix-build-failure-w= hen-systemd-is-enabled.patch
new file mode 100644
index 0000000000..d19a23cd9c
--- /dev/null
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-fix-build-failure-w= hen-systemd-is-enabled.patch
@@ -0,0 +1,423 @@
+From 28322f951bb8510ddb4cf767426a67c81ce826ab Mon Sep 17 00:00:00 2001
+From: Changqing Li <changqing.li@windriver.com>
+Date: Tue, 17 Mar 2026 13:04:11 +0800
+Subject: [PATCH] fix build failure when systemd is enabled +
+Fix build failures when -DWITH_SYSTEMD=3DON, -DWITH_SYSTEMD_WATCHDOG=3DON,
+-DWITH_SYSTEMD_JOURNAL=3DON:
+Eg:
+src/system/dlt-system-syslog.c:91:39: error: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Werror=3Dconversion]
+   91 |     syslog_addr.sin6_port =3D= htons(opts.Port);
+      |          &nb= sp;                    =    ~~~~^~~~~
+
+src/system/dlt-system-logfile.c:74:21: error: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Werror=3Dconversion]
+   74 |            &= nbsp;bytes =3D fread(buffer, 1, sizeof(buffer) - 1, pFile);
+      |          &nb= sp;          ^~~~~
+
+src/daemon/dlt-daemon.c:5513:14: error: unused variable 'curr_time' [-Werror=3Dunused-variable]
+ 5513 |     uint32_t curr_time =3D 0U;
+      |          &nb= sp;   ^~~~~~~~~
+
+src/system/dlt-system-syslog.c:120:22: error: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Werror=3Dconversion]
+  120 |     int bytes_read =3D recvfrom(= sock, recv_data, RECV_BUF_SZ, 0,
+      |          &nb= sp;           ^~~~~~~~
+
+src/system/dlt-system-logfile.c:76:23: error: comparison of unsigned expression in '>=3D 0' is always true [-Werror=3Dtype-limits]
+   76 |            &= nbsp;if (bytes >=3D 0)
+      |          &nb= sp;            ^~
+
+ src/system/dlt-system-filetransfer.c:727:56: error: '__builtin___snprintf_chk' output may be truncated before the last format cha    racter [-Werror=3Dformat-tru= ncation=3D]
+ 10   727 |          &nbs= p;              snprintf(tosend, length, "%s/%s", opts->Directory[j], ie->name= );
+
+src/system/dlt-system-filetransfer.c:153: error: declaration of 'len' shadows a previous local [-Werror=3Dshadow]
+
+Upstream-Status: Submitted [https://github.com/COVESA/dlt-daemon/pull/828]
+
+Signed-off-by: Changqing Li <changqing.li@windriver.com>
+---
+ src/daemon/dlt-daemon.c          &= nbsp;       |  8 +----
+ src/daemon/dlt_daemon_client.c        &= nbsp;  |  2 +-
+ src/system/dlt-system-filetransfer.c     | 4= 3 +++++++++++++-----------
+ src/system/dlt-system-journal.c        =   |  2 +-
+ src/system/dlt-system-logfile.c        =   |  4 +--
+ src/system/dlt-system-process-handling.c |  2 +-
+ src/system/dlt-system-processes.c       = ; |  2 +-
+ src/system/dlt-system-syslog.c        &= nbsp;  |  6 ++--
+ src/system/dlt-system-watchdog.c       =  |  8 ++---
+ systemd/3rdparty/sd-daemon.c        &nb= sp;    |  5 +--
+ 10 files changed, 40 insertions(+), 42 deletions(-)
+
+diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c
+index ef42f89..8c318a4 100644
+--- a/src/daemon/dlt-daemon.c
++++ b/src/daemon/dlt-daemon.c
+@@ -1620,7 +1620,7 @@ int main(int argc, char *argv[])
+             watchdogTime= outSeconds =3D 30;
+         }
+
+-        daemon.watchdog_trigger_interva= l =3D watchdogTimeoutSeconds;
++        daemon.watchdog_trigger_interva= l =3D (unsigned int)watchdogTimeoutSeconds;
+         daemon.watchdog_last_trigg= er_time =3D 0U;
+         create_timer_fd(&daemo= n_local,
+                &nbs= p;        watchdogTimeoutSeconds,
+@@ -5509,9 +5509,6 @@ int dlt_daemon_send_ringbuffer_to_client(DltDaemon *daemon, DltDaemonLocal *daem
+     int ret;
+     static uint8_t data[DLT_DAEMON_RCVBUFSIZ= E];
+     int length;
+-#ifdef DLT_SYSTEMD_WATCHDOG_ENABLE
+-    uint32_t curr_time =3D 0U;
+-#endif
+
+     PRINT_FUNCTION_VERBOSE(verbose);
+
+@@ -5554,9 +5551,6 @@ int dlt_daemon_send_ringbuffer_to_client_v2(DltDaemon *daemon, DltDaemonLocal *d
+     int ret;
+     static uint8_t data[DLT_DAEMON_RCVBUFSIZ= E];
+     int length;
+-#ifdef DLT_SYSTEMD_WATCHDOG_ENABLE
+-    uint32_t curr_time =3D 0U;
+-#endif
+
+     PRINT_FUNCTION_VERBOSE(verbose);
+
+diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c
+index 20a512b..681bf1e 100644
+--- a/src/daemon/dlt_daemon_client.c
++++ b/src/daemon/dlt_daemon_client.c
+@@ -4690,7 +4690,7 @@ int dlt_daemon_process_systemd_timer(DltDaemon *daemon,
+
+     if ((daemon_local =3D=3D NULL) || (daemo= n =3D=3D NULL) || (receiver =3D=3D NULL)) {
+         dlt_vlog(LOG_ERR, "%s= : invalid parameters", __func__);
+-        return res;
++        return (int)res;
+     }
+
+     res =3D read(receiver->fd, &expir= , sizeof(expir));
+diff --git a/src/system/dlt-system-filetransfer.c b/src/system/dlt-system-filetransfer.c
+index c082f22..6024a3e 100644
+--- a/src/system/dlt-system-filetransfer.c
++++ b/src/system/dlt-system-filetransfer.c
+@@ -105,14 +105,14 @@ char *unique_name(char *src)
+             DLT_STRING(&= quot;dlt-system-filetransfer, creating unique temporary file name."));
+     time_t t =3D time(NULL);
+     int ok;
+-    uint32_t l =3D getFileSerialNumber(src, &= ok) ^ t;
++    uint32_t l =3D (uint32_t)(getFileSerialNumber= (src, &ok) ^ t);
+
+     if (!ok)
+         return (char *)NULL;
+
+     char *basename_f =3D basename(src);
+     /* Length of ULONG_MAX + 1 */
+-    int len =3D 11 + strlen(basename_f);
++    size_t len =3D 11 + strlen(basename_f);
+
+     if (len > NAME_MAX) {
+         DLT_LOG(dltsystem, DLT_LOG= _WARN,
+@@ -155,7 +155,7 @@ void send_dumped_file(FiletransferOptions const *opts, char *dst_tosend)
+             while ((tota= l - used) < (total / 2)) {
+                &nbs= p;struct timespec t;
+                &nbs= p;t.tv_sec =3D 0;
+-                t.t= v_nsec =3D 1000000ul * opts->TimeoutBetweenLogs;
++                t.t= v_nsec =3D (long int)(1000000ul * (unsigned long)opts->TimeoutBetweenLogs);
+                &nbs= p;nanosleep(&t, NULL);
+                &nbs= p;dlt_user_log_resend_buffer();
+                &nbs= p;dlt_user_check_buffer(&total, &used);
+@@ -220,7 +220,7 @@ int compress_file_to(char *src, char *dst, int level)
+     MALLOC_ASSERT(buf);
+
+     while (!feof(src_file)) {
+-        int read =3D fread(buf, 1, Z_CH= UNK_SZ, src_file);
++        size_t read =3D fread(buf, 1, Z= _CHUNK_SZ, src_file);
+
+         if (ferror(src_file)) { +             free(buf); +@@ -230,7 +230,7 @@ int compress_file_to(char *src, char *dst, int level)
+             return -1; +         }
+
+-        gzwrite(dst_file, buf, read); ++        gzwrite(dst_file, buf, (unsigne= d int)read);
+     }
+
+     if (remove(src) < 0)
+@@ -290,7 +290,7 @@ int send_one(char *src, FiletransferOptions const *opts, int which)
+         char *dst_tocompress;/*fil= e which is going to be compressed, the compressed one is named dst_tosend */
+
+
+-        int len =3D strlen(fdir) + strl= en(SUBDIR_COMPRESS) + strlen(rn) + 3;/*the filename in .tocompress +2 for 2*"/= ", +1 for \0 */
++        size_t len =3D strlen(fdir) + strlen(SUBDIR_COMPRESS) + strlen(rn) + 3;/*the filename in .tocompress +2 for 2*"/", +1 for \0 */
+         dst_tocompress =3D malloc(= len);
+         MALLOC_ASSERT(dst_tocompre= ss);
+
+@@ -328,7 +328,7 @@ int send_one(char *src, FiletransferOptions const *opts, int which)
+         /*move it directly into &q= uot;tosend" */
+         DLT_LOG(dltsystem, DLT_LOG= _DEBUG,
+                &nbs= p;DLT_STRING("dlt-system-filetransfer, Moving file to tmp directory."));
+-        int len =3D strlen(fdir) + strl= en(SUBDIR_TOSEND) + strlen(rn) + 3;
++        size_t len =3D strlen(fdir) + s= trlen(SUBDIR_TOSEND) + strlen(rn) + 3;
+         dst_tosend =3D malloc(len)= ;/*the resulting filename in .tosend +2 for 2*"/", +1 for \0 */
+
+         snprintf(dst_tosend, len, = "%s/%s/%s", fdir, SUBDIR_TOSEND, rn);
+@@ -379,7 +379,7 @@ int flush_dir_send(FiletransferOptions const *opts, const char *compress_dir, co
+             DLT_LOG(dlts= ystem, DLT_LOG_DEBUG,
+                &nbs= p;    DLT_STRING("dlt-system-filetransfer, old compressed file found in send directory:"),
+                &nbs= p;    DLT_STRING(dp->d_name));
+-            int len =3D strle= n(send_dir) + strlen(dp->d_name) + 2;
++            size_t len =3D st= rlen(send_dir) + strlen(dp->d_name) + 2;
+             fn =3D mallo= c(len);
+             MALLOC_ASSER= T(fn);
+             snprintf(fn,= len, "%s/%s", send_dir, dp->d_name);
+@@ -394,10 +394,10 @@ int flush_dir_send(FiletransferOptions const *opts, const char *compress_dir, co
+                &nbs= p;strncpy(tmp, dp->d_name, strlen(dp->d_name) - strlen(COMPRESS_EXTENSION));
+                &nbs= p;tmp[strlen(dp->d_name) - strlen(COMPRESS_EXTENSION)] =3D '\0';
+
+-                int= len =3D strlen(tmp) + strlen(compress_dir) + 1 + 1;/*2 sizes + 1*"/" + \0= */
+-                cha= r *path_uncompressed =3D malloc(len);
++                siz= e_t length =3D strlen(tmp) + strlen(compress_dir) + 1 + 1;/*2 sizes + 1*"/" + \0= */
++                cha= r *path_uncompressed =3D malloc(length);
+                &nbs= p;MALLOC_ASSERT(path_uncompressed);
+-                snp= rintf(path_uncompressed, len, "%s/%s", compress_dir, tmp);
++                snp= rintf(path_uncompressed, length, "%s/%s", compress_dir, tmp);
+
+                &nbs= p;struct stat sb;
+
+@@ -475,7 +475,7 @@ int flush_dir_compress(FiletransferOptions const *opts, int which, const char *c
+
+
+             /*compress f= ile into to_send dir */
+-            int len =3D strle= n(compress_dir) + strlen(dp->d_name) + 2;
++            size_t len =3D st= rlen(compress_dir) + strlen(dp->d_name) + 2;
+             char *cd_fil= ename =3D malloc(len);
+             MALLOC_ASSER= T(cd_filename);
+             snprintf(cd_= filename, len, "%s/%s", compress_dir, dp->d_name);
+@@ -526,7 +526,7 @@ int flush_dir_original(FiletransferOptions const *opts, int which)
+
+             DLT_LOG(dlts= ystem, DLT_LOG_DEBUG,
+                &nbs= p;    DLT_STRING("dlt-system-filetransfer, old file found in directory."));
+-            int len =3D strle= n(sdir) + strlen(dp->d_name) + 2;
++            size_t len =3D st= rlen(sdir) + strlen(dp->d_name) + 2;
+             char *fn =3D= malloc(len);
+             MALLOC_ASSER= T(fn);
+             snprintf(fn,= len, "%s/%s", sdir, dp->d_name);
+@@ -564,7 +564,7 @@ int flush_dir(FiletransferOptions const *opts, int which)
+
+     char *compress_dir;
+     char *send_dir;
+-    int len =3D strlen(opts->Directory[which])= + strlen(SUBDIR_COMPRESS) + 2;
++    size_t len =3D strlen(opts->Directory[whic= h]) + strlen(SUBDIR_COMPRESS) + 2;
+     compress_dir =3D malloc (len);
+     MALLOC_ASSERT(compress_dir);
+     snprintf(compress_dir, len, "%s/%s&= quot;, opts->Directory[which], SUBDIR_COMPRESS);
+@@ -625,7 +625,7 @@ int init_filetransfer_dirs(DltSystemConfiguration *config)
+         /*create subdirectories fo= r processing the files */
+
+         char *subdirpath;
+-        int len =3D strlen(opts->Dir= ectory[i]) + strlen(SUBDIR_COMPRESS) + 2;
++        size_t len =3D strlen(opts->= Directory[i]) + strlen(SUBDIR_COMPRESS) + 2;
+         subdirpath =3D malloc (len= );
+         MALLOC_ASSERT(subdirpath);=
+         snprintf(subdirpath, len, = "%s/%s", opts->Directory[i], SUBDIR_COMPRESS);
+@@ -699,7 +699,7 @@ int process_files(FiletransferOptions const *opts)
+
+     unsigned int i =3D 0;
+
+-    while (i < (len - INOTIFY_SZ)) {
++    while (i < ((long unsigned int)len - INOTI= FY_SZ)) {
+         struct inotify_event *ie =3D= (struct inotify_event *)&buf[i];
+
+         if (ie->len > 0) { +@@ -712,26 +712,29 @@ int process_files(FiletransferOptions const *opts)
+                &nbs= p;                DLT_LOG_DEBUG,<= br> +                &nbs= p;                DLT_STRING("dlt-system-filetransfer, found new fil= e."),
+                &nbs= p;                DLT_STRING(ie-&= gt;name));
+-                &nb= sp;       int length =3D strlen(opts->Directory[j]) + ie->len + 1;
++                &nb= sp;       size_t length =3D strlen(opts->Directory[j]) + strlen(ie->name) + 2;
+
+                &nbs= p;        if (length > PATH_MAX) {
+                &nbs= p;            DLT_LOG(filetransferContext,<= br> +                &nbs= p;                    D= LT_LOG_ERROR,
+                &nbs= p;                    D= LT_STRING(
+                &nbs= p;                     =    "dlt-system-filetransfer: Very long path for file = transfer. Cancelling transfer! Length is: "),
+-                &nb= sp;                   DLT_IN= T(length));
++                &nb= sp;                   DLT_IN= T((int)length));
+                &nbs= p;            return -1;
+                &nbs= p;        }
+
+                &nbs= p;        char *tosend =3D malloc(length);
++#pragma GCC diagnostic push
++#pragma GCC diagnostic ignored "-Wformat-truncation=3D= "
+                &nbs= p;        snprintf(tosend, length, "%s/%s", opts->Directory[j], ie->name);
++#pragma GCC diagnostic pop
+                &nbs= p;        send_one(tosend, opts, j);
+                &nbs= p;        free(tosend);
+                &nbs= p;    }
+             }
+         }
+
+-        i +=3D INOTIFY_SZ + ie->len;=
++        i +=3D (unsigned int)INOTIFY_SZ= + ie->len;
+     }
+
+ #endif
+@@ -741,4 +744,4 @@ int process_files(FiletransferOptions const *opts)
+ void filetransfer_fd_handler(DltSystemConfiguration *config)
+ {
+     process_files(&(config->Filetrans= fer));
+-}
+\ No newline at end of file
++}
+diff --git a/src/system/dlt-system-journal.c b/src/system/dlt-system-journal.c
+index 366555b..9a55c3f 100644
+--- a/src/system/dlt-system-journal.c
++++ b/src/system/dlt-system-journal.c
+@@ -393,7 +393,7 @@ void register_journal_fd(sd_journal **j, struct pollfd *pollfd, int i,  DltSyste
+             DLT_STRING(s= trerror(pollfd[i].fd)));
+         j_tmp =3D NULL;
+     }
+-    pollfd[i].events =3D sd_journal_get_events(j_= tmp);
++    pollfd[i].events =3D (short)sd_journal_get_events(j_tmp);
+     if(pollfd[i].events < 0) {
+         DLT_LOG(dltsystem, DLT_LOG= _ERROR, DLT_STRING("Error while getting journal events: "),
+             DLT_STRING(s= trerror(pollfd[i].events)));
+diff --git a/src/system/dlt-system-logfile.c b/src/system/dlt-system-logfile.c
+index 941a3be..d31441c 100644
+--- a/src/system/dlt-system-logfile.c
++++ b/src/system/dlt-system-logfile.c
+@@ -64,7 +64,7 @@ void send_file(LogFileOptions const *fileopt, int n)
+     FILE *pFile;
+     DltContext context =3D logfileContext[n]= ;
+     char buffer[1024];
+-    int bytes;
++    size_t bytes;
+     int seq =3D 1;
+
+     pFile =3D fopen((*fileopt).Filename[n], = "r");
+@@ -73,7 +73,7 @@ void send_file(LogFileOptions const *fileopt, int n)
+         while (!feof(pFile)) {
+             bytes =3D fr= ead(buffer, 1, sizeof(buffer) - 1, pFile);
+
+-            if (bytes >=3D= 0)
++            if (bytes =3D=3D = (sizeof(buffer) - 1))
+                &nbs= p;buffer[bytes] =3D 0;
+             else
+                &nbs= p;buffer[0] =3D 0;
+diff --git a/src/system/dlt-system-process-handling.c b/src/system/dlt-system-process-handling.c
+index 3e092d4..708e9e3 100644
+--- a/src/system/dlt-system-process-handling.c
++++ b/src/system/dlt-system-process-handling.c
+@@ -201,7 +201,7 @@ int register_timer_fd(struct pollfd *pollfd, int fdcnt)
+ void timer_fd_handler(int fd, DltSystemConfiguration *config)
+ {
+     uint64_t timersElapsed =3D 0ULL;
+-    int r =3D read(fd, &timersElapsed, 8U);&n= bsp;   // only needed to reset fd event
++    int r =3D (int)read(fd, &timersElapsed, 8= U);    // only needed to reset fd event
+     if (r < 0)
+         DLT_LOG(dltsystem, DLT_LOG= _ERROR, DLT_STRING("Error while reading timer fd: "),
+             DLT_STRING(s= trerror(r)));
+diff --git a/src/system/dlt-system-processes.c b/src/system/dlt-system-processes.c
+index c35596c..b17b8ee 100644
+--- a/src/system/dlt-system-processes.c
++++ b/src/system/dlt-system-processes.c
+@@ -72,7 +72,7 @@ void send_process(LogProcessOptions const *popts, int n)
+     struct dirent *dp;
+     char filename[PATH_MAX];
+     char buffer[1024];
+-    int bytes;
++    size_t bytes;
+     int found =3D 0;
+
+     /* go through all process files in direc= tory */
+diff --git a/src/system/dlt-system-syslog.c b/src/system/dlt-system-syslog.c
+index 59e9d3f..d6b1b8a 100644
+--- a/src/system/dlt-system-syslog.c
++++ b/src/system/dlt-system-syslog.c
+@@ -88,7 +88,7 @@ int init_socket(SyslogOptions opts)
+ #ifdef DLT_USE_IPv6
+     syslog_addr.sin6_family =3D AF_INET6; +     syslog_addr.sin6_addr =3D in6addr_any; +-    syslog_addr.sin6_port =3D htons(opts.Port); ++    syslog_addr.sin6_port =3D htons((uint16_t)opt= s.Port);
+ #else
+     syslog_addr.sin_family =3D AF_INET;
+     syslog_addr.sin_addr.s_addr =3D INADDR_A= NY;
+@@ -117,7 +117,7 @@ int read_socket(int sock)
+     struct sockaddr_in client_addr;
+     socklen_t addr_len =3D sizeof(struct soc= kaddr_in);
+
+-    int bytes_read =3D recvfrom(sock, recv_data, RECV_BUF_SZ, 0,
++    int bytes_read =3D (int)recvfrom(sock, recv_d= ata, RECV_BUF_SZ, 0,
+                &nbs= p;              (struct sockaddr *)&client_addr, &addr_len);
+
+     if (bytes_read =3D=3D -1) {
+@@ -157,4 +157,4 @@ int register_syslog_fd(struct pollfd *pollfd, int i, DltSystemConfiguration *con
+ void syslog_fd_handler(int syslogSock)
+ {
+     read_socket(syslogSock);
+-}
+\ No newline at end of file
++}
+diff --git a/src/system/dlt-system-watchdog.c b/src/system/dlt-system-watchdog.c
+index 7ed1604..6334214 100644
+--- a/src/system/dlt-system-watchdog.c
++++ b/src/system/dlt-system-watchdog.c
+@@ -56,7 +56,7 @@ int calculate_period(struct itimerspec *itval)
+     }
+     
+     DLT_LOG(watchdogContext, DLT_LOG_DEBUG, DLT_STRING("watchdogusec: "), DLT_STRING(watchdogUS= ec));
+-    watchdogTimeoutSeconds =3D atoi(watchdogUSec)= ;
++    watchdogTimeoutSeconds =3D (unsigned int)atoi(watchdogUSec);
+
+     if (watchdogTimeoutSeconds <=3D 0) {<= br> +         snprintf(str, 512, "s= ystemd watchdog timeout incorrect: %u\n", watchdogTimeoutSeconds);
+@@ -78,9 +78,9 @@ int calculate_period(struct itimerspec *itval)
+     sec =3D notifiyPeriodNSec / 1000000;
+     ns =3D (notifiyPeriodNSec - (sec * 10000= 00)) * 1000;
+     itval->it_interval.tv_sec =3D sec; +-    itval->it_interval.tv_nsec =3D ns;
++    itval->it_interval.tv_nsec =3D (long int)n= s;
+     itval->it_value.tv_sec =3D sec;
+-    itval->it_value.tv_nsec =3D ns;
++    itval->it_value.tv_nsec =3D (long int)ns;<= br> +
+     return 0;
+ }
+@@ -114,7 +114,7 @@ void watchdog_fd_handler(int fd)
+ #endif
+ {
+     uint64_t timersElapsed =3D 0ULL;
+-    int r =3D read(fd, &timersElapsed, 8U);&n= bsp;   // only needed to reset fd event
++    int r =3D (int)read(fd, &timersElapsed, 8= U);    // only needed to reset fd event
+     if(r < 0)
+         DLT_LOG(watchdogContext, D= LT_LOG_ERROR, DLT_STRING("Could not reset systemd watchdog. Exit with:= "),
+             DLT_STRING(s= trerror(r)));
+diff --git a/systemd/3rdparty/sd-daemon.c b/systemd/3rdparty/sd-daemon.c
+index de3f985..9fde8cc 100644
+--- a/systemd/3rdparty/sd-daemon.c
++++ b/systemd/3rdparty/sd-daemon.c
+@@ -46,6 +46,7 @@
+ #include <stdio.h>
+ #include <stddef.h>
+ #include <limits.h>
++#include <stdint.h>
+
+ #if defined(__linux__)
+ #include <mqueue.h>
+@@ -456,12 +457,12 @@ _sd_export_ int sd_notify(int unset_environment, const char *state) {
+                &nbs= p;sockaddr.un.sun_path[0] =3D 0;
+
+         memset(&iovec, 0, size= of(iovec));
+-        iovec.iov_base =3D (char*) stat= e;
++        iovec.iov_base =3D (void *)(uin= tptr_t)state;
+         iovec.iov_len =3D strlen(s= tate);
+
+         memset(&msghdr, 0, siz= eof(msghdr));
+         msghdr.msg_name =3D &s= ockaddr;
+-        msghdr.msg_namelen =3D offsetof= (struct sockaddr_un, sun_path) + strlen(e);
++        msghdr.msg_namelen =3D (socklen= _t)(offsetof(struct sockaddr_un, sun_path) + strlen(e));
+
+         if (msghdr.msg_namelen >= ; sizeof(struct sockaddr_un))
+                &nbs= p;msghdr.msg_namelen =3D sizeof(struct sockaddr_un);
+--
+2.34.1
+
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-with-cm= ake-4.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-with-cm= ake-4.patch
deleted file mode 100644
index ac5fec5684..0000000000
--- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-with-cm= ake-4.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-From ae23f2cccc169874d89903cad24bf36e19bef659 Mon Sep 17 00:00:00 2001
-From: Alper Ak <alperyasinak1@gmail.com>
-Date: Wed, 9 Jul 2025 18:18:33 +0300
-Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+
- compatibility
-
-Fix:
-
-| CMake Error at CMakeLists.txt:17 (cmake_minimum_required):
-|   Compatibility with CMake < 3.5 has been rem= oved from CMake.
-|
-|   Update the VERSION argument <min> value.=   Or, use the <min>...<max> syntax
-|   to tell CMake that the project requires at lea= st <min> but has been updated
-|   to work with policies introduced by <max>= ; or earlier.
-|
-|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3D3.5 t= o try configuring anyway.
-|
-|
-| -- Configuring incomplete, errors occurred!
-
-Upstream-Status: Submitted [https://github.com/COVESA/dlt-daemon/pull/755]
-
-Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
----
- CMakeLists.txt            &nb= sp;      | 2 +-
- examples/example1/CMakeLists.txt | 2 +-
- examples/example2/CMakeLists.txt | 2 +-
- examples/example3/CMakeLists.txt | 2 +-
- examples/example4/CMakeLists.txt | 2 +-
- 5 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 94185b8..2a0f619 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -14,7 +14,7 @@
- #######
-
- # Set minimum Cmake version and setup policy behavior
--cmake_minimum_required(VERSION 3.3)
-+cmake_minimum_required(VERSION 3.5)
-
- if(${CMAKE_VERSION} VERSION_GREATER "3.20" OR ${CMAKE_VERSION} VERSION_EQUAL "3.20")
-     cmake_policy(SET CMP0115 OLD)
-diff --git a/examples/example1/CMakeLists.txt b/examples/example1/CMakeLists.txt
-index 60644a1..44cd053 100644
---- a/examples/example1/CMakeLists.txt
-+++ b/examples/example1/CMakeLists.txt
-@@ -17,7 +17,7 @@
- # DLT example implementation
- #
-
--cmake_minimum_required( VERSION 2.6 )
-+cmake_minimum_required( VERSION 3.5 )
- project( automotive-dlt-example1 )
-
- #
-diff --git a/examples/example2/CMakeLists.txt b/examples/example2/CMakeLists.txt
-index 66a4f24..a8efbcf 100644
---- a/examples/example2/CMakeLists.txt
-+++ b/examples/example2/CMakeLists.txt
-@@ -17,7 +17,7 @@
- # DLT example implementation
- #
-
--cmake_minimum_required( VERSION 2.6 )
-+cmake_minimum_required( VERSION 3.5 )
- project( automotive-dlt-example2 )
-
- #
-diff --git a/examples/example3/CMakeLists.txt b/examples/example3/CMakeLists.txt
-index 45b7467..4d4958d 100644
---- a/examples/example3/CMakeLists.txt
-+++ b/examples/example3/CMakeLists.txt
-@@ -17,7 +17,7 @@
- # DLT example implementation
- #
-
--cmake_minimum_required( VERSION 2.6 )
-+cmake_minimum_required( VERSION 3.5 )
- project( automotive-dlt-example3 )
-
- #
-diff --git a/examples/example4/CMakeLists.txt b/examples/example4/CMakeLists.txt
-index 53a4fad..161c333 100644
---- a/examples/example4/CMakeLists.txt
-+++ b/examples/example4/CMakeLists.txt
-@@ -17,7 +17,7 @@
- # DLT example implementation
- #
-
--cmake_minimum_required( VERSION 2.6 )
-+cmake_minimum_required( VERSION 3.5 )
- project( automotive-dlt-example4 )
-
- #
---
-2.43.0
-
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/544.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/544.patch deleted file mode 100644
index 3699b8c83a..0000000000
--- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/544.patch +++ /dev/null
@@ -1,80 +0,0 @@
-Upstream-Status: Submitted [https://github.com/COVESA/dlt-daemon/pull/544]
-
-From 8121a979026d5fcb05bd4e5d3a0647f321b56106 Mon Sep 17 00:00:00 2001
-From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
-Date: Thu, 28 Sep 2023 12:54:23 +0200
-Subject: [PATCH] Add common dlt_cdh_cpuinfo.c to unblock build on non amd64
- and i386 arcs
-
----
- src/core_dump_handler/dlt_cdh.h        =  |  2 ++
- src/core_dump_handler/dlt_cdh_cpuinfo.c | 33 +++++++++++++++++++++++++
- src/core_dump_handler/dlt_cdh_crashid.c |  2 +-
- 3 files changed, 36 insertions(+), 1 deletion(-)
- create mode 100644 src/core_dump_handler/dlt_cdh_cpuinfo.c<= br> -
-diff --git a/src/core_dump_handler/dlt_cdh.h b/src/core_dump_handler/dlt_cdh.h
-index d572ecf3..8608c6c4 100644
---- a/src/core_dump_handler/dlt_cdh.h
-+++ b/src/core_dump_handler/dlt_cdh.h
-@@ -55,6 +55,8 @@ typedef struct
-     uint64_t pc;
-     uint64_t ip;
-     uint64_t lr;
-+    uint64_t sp;
-+    uint64_t fp;
-
- } cdh_registers_t;
-
-diff --git a/src/core_dump_handler/dlt_cdh_cpuinfo.c b/src/core_dump_handler/dlt_cdh_cpuinfo.c
-new file mode 100644
-index 00000000..03509fda
---- /dev/null
-+++ b/src/core_dump_handler/dlt_cdh_cpuinfo.c
-@@ -0,0 +1,33 @@
-+/*
-+ * SPDX license identifier: MPL-2.0
-+ *
-+ * Copyright (C) 2011-2015, BMW AG
-+ *
-+ * This file is part of COVESA Project DLT - Diagnostic Log and Trace.
-+ *
-+ * This Source Code Form is subject to the terms of the
-+ * Mozilla Public License (MPL), v. 2.0.
-+ * If a copy of the MPL was not distributed with this file,
-+ * You can obtain one at http://mozilla.org/MPL/2.0/.
-+ *
-+ * For further information see http://www.covesa.org/.
-+ */
-+
-+/*!
-+ * \author Gianfranco Costamagna <locutusofborg@debian.org>
-+ *
-+ * \copyright Copyright =C2=A9 2011-2015 BMW AG. \n
-+ * License MPL-2.0: Mozilla Public License version 2.0 http://mozilla.org/MPL/2.0/.
-+ *
-+ * \file dlt_cdh_cpuinfo.c
-+ */
-+
-+#include "dlt_cdh_cpuinfo.h"
-+
-+void get_registers(prstatus_t *prstatus, cdh_registers_t *registers)
-+{
-+/*    struct user_regs_struct *ptr_reg =3D (struc= t user_regs_struct *)prstatus->pr_reg;
-+
-+    registers->pc =3D ptr_reg->pc;*/ /* [REG_PROC_COUNTER]; */
-+
-+}
-diff --git a/src/core_dump_handler/dlt_cdh_crashid.c b/src/core_dump_handler/dlt_cdh_crashid.c
-index bca44e0e..8dd98d70 100644
---- a/src/core_dump_handler/dlt_cdh_crashid.c
-+++ b/src/core_dump_handler/dlt_cdh_crashid.c
-@@ -30,7 +30,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <errno.h>
--#include <asm/prctl.h>
-+#include <sys/prctl.h>
- #include <inttypes.h>
-
- #include "dlt_cdh.h"
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/567.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/567.patch deleted file mode 100644
index fd36480456..0000000000
--- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/567.patch +++ /dev/null
@@ -1,36 +0,0 @@
-Upstream-Status: Submitted [https://github.com/COVESA/dlt-daemon/pull/567]
-
-From c84e48f6986054cf8b9459e608235b7bd1635746 Mon Sep 17 00:00:00 2001
-From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
-Date: Mon, 13 Nov 2023 12:37:23 +0100
-Subject: [PATCH] dlt_cdh:
-
-Make sure on 64 bit we read an ELF64 structure.
-Otherwise we get a read error, and the context file is missing some good
-to know information
----
- src/core_dump_handler/dlt_cdh.h | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/src/core_dump_handler/dlt_cdh.h b/src/core_dump_handler/dlt_cdh.h
-index 8608c6c4..3dac480a 100644
---- a/src/core_dump_handler/dlt_cdh.h
-+++ b/src/core_dump_handler/dlt_cdh.h
-@@ -45,10 +45,17 @@
- #define CORE_FILE_PATTERN         =  "%s/core.%d.%s.%d.gz"
- #define CONTEXT_FILE_PATTERN        "%s/context.%d.%s.%d.txt"
-
-+#if ((__SIZEOF_POINTER) =3D=3D 4)
- #define ELF_Ehdr    Elf32_Ehdr
- #define ELF_Phdr    Elf32_Phdr
- #define ELF_Shdr    Elf32_Shdr
- #define ELF_Nhdr    Elf32_Nhdr
-+#else
-+#define ELF_Ehdr    Elf64_Ehdr
-+#define ELF_Phdr    Elf64_Phdr
-+#define ELF_Shdr    Elf64_Shdr
-+#define ELF_Nhdr    Elf64_Nhdr
-+#endif
-
- typedef struct
- {
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb b/meta-oe/recipes-extended/dlt-daemon/dlt-daemo= n_3.0.0.bb
similarity index 90%
rename from meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb
rename to meta-oe/recipes-extended/dlt-daemon/d= lt-daemon_3.0.0.bb
index 82edde6c9d..7f402b0e29 100644
--- a/meta-oe/recipes-extended/dlt-daemon/dlt= -daemon_2.18.10.bb
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-d= aemon_3.0.0.bb
@@ -17,12 +17,12 @@ DEPENDS =3D "zlib gzip-native json-c= "
 SRC_URI =3D "git://github.com/COVESA/${BPN}.git;protocol=3Dht= tps;branch=3Dmaster \
            file://0002-Don-t-execute-pro= cesses-as-a-specific-user.patch \
            file://0004-Modify-systemd-config-direct= ory.patch \
-           file://544.patch \
-           file://567.patch \
-           file://0001-CMakeLists-= txt-make-DLT_WatchdogSec-can-be-set-by-user.patch \
-           file:= //0003-allow-build-with-cmake-4.patch \
+           file://0001-Fix-compile-failu= re-related-to-gzlog.patch \
+           fil= e://0001-Fix-kinds-of-build-failure.patch \
+           file://0001= -Fix-build-failures.patch \
+           file://0001-fix-build-fa= ilure-when-systemd-is-enabled.patch \
            "
-SRCREV =3D "0f2d4cfffada6f8448a2cb27995b38eb4271044f&qu= ot;
+SRCREV =3D "f595ea29d1007ca1c3b2d1fd3a88adf7d3db6320&qu= ot;


 PACKAGECONFIG ?=3D "${@bb.utils.contains('DISTRO_F= EATURES', 'systemd', ' systemd systemd-watchdog systemd-journal ', '', d)} \
@@ -71,4 +71,5 @@ FILES:${PN}-doc +=3D "${datadir}/dlt-filetransfer"

 do_install:append() {
     rm -f ${D}${bindir}/dlt-test-*
+    sed -i -e 's:${RECIPE_SYSROOT}::g' ${D}/usr/lib/pkgconfig/automotive-dlt.pc
 }
--
2.34.1


-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
Links: You receive all messages sent to this group.
View/Reply Online (#125309): https://lists.openembedded.org/g/openembedded-devel/message/125309 Mute This Topic: https://lists.openembedded.org/mt/118361368/1997914
Group Owner: openembedded-devel+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-

--------------T0abBy6SYssXQlcQ8YRqhlXZ--