From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 27 May 2024 12:38:56 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sBXkm-000f41-24 for lore@lore.pengutronix.de; Mon, 27 May 2024 12:38:56 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sBXkm-00071Q-DM; Mon, 27 May 2024 12:38:56 +0200 Received: from mail-am0eur02on2105.outbound.protection.outlook.com ([40.107.247.105] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sBXkS-00071H-LV for ptxdist@pengutronix.de; Mon, 27 May 2024 12:38:38 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ixeC4Wkcd9bqN6/IDR2Nwk9UWGvtlFGs4lpzitzuapK6vLoOXv2zccVsDi9ykMDuZXaWzwHPE5m/KXEViMa9psMk0/VNgZlf/FcBXg/BKrwjIT3fx0izaXCZY7K3ukwuIglJd2xodzBtXJ0PuGSDwfCcescXzhHEc29jYOpC44NdXLzKL55aWgc8OsvWc/Mkxkg/s7+eAxI7FRgVJPFyBHxI9TE8y4ziBBBl2jteu3wRHQa8bEmheESUGoOt9/phmUI68AdLxFfgtj0d8c+Rxs+wSuStTkNxoobjwEzFyO59Q9skg9dO5HxzPGfFBo6ZqCVavlgH00AF8UsYlvG6tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9LRi8d1kJ3Uiy2uNw7siGviDv1cj4DZ1mKeYXWgnhfQ=; b=AGX3221NKj1+K57ky4vmyQahxwIXnHLbyvOUFjLLyvXIZG+hRQwAgooEoq9fouokxdTG2vTfoAY3H9aYGnjE6ewdjSwC5zc71NQYmjYiS9nk7FlAW9vCmatVjcB3zGFPF3rbSxelpZ4/RMCwk6Id5wQr/EF01pEA+kLBDczwdiE8X4pVu39kZV+fKTACB7E0GStYCpMS5jqyf4RgYEzLoryGj/dZunyeuEN41roecWEYZfqvqk04AviEPD5lHuhdcci/Btga0f0md+9tfocrVDVpcXVBo/pXovzyfER9076YtqOAaEpSLK1lnJeKWJtHvZI988sZzANDEEIGX3+w0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9LRi8d1kJ3Uiy2uNw7siGviDv1cj4DZ1mKeYXWgnhfQ=; b=UQtiVB/uacu3f8jQ+gSjUeMrmsKpzPulp4qpZ9LVoHrxyCm9pfe0UcitGTrCnYscwt9Jjefjs8kQKTNf55a0KaQh+sSFzx68jL8xfKxiIIKUmT/WxiE2d8XV6y4VlPRU0tE1YJXzjYhkFSc2jnzFglMQNtGg0I05EU7KNjaMvKc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by PAXP251MB0696.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:275::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.29; Mon, 27 May 2024 10:38:33 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::fe8d:f825:5b29:2903]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::fe8d:f825:5b29:2903%4]) with mapi id 15.20.7611.025; Mon, 27 May 2024 10:38:33 +0000 Message-ID: <921fa3c7-83e9-4de7-83ce-c7d40a183785@t2data.com> Date: Mon, 27 May 2024 12:34:58 +0200 User-Agent: Mozilla Thunderbird To: Erwin Rol References: <24f03e42-a9ab-4303-9d0e-3b1ff24e0097@erwinrol.com> <67eb8195-ca07-4425-9569-3f3d423ac5c0@erwinrol.com> <261a0dbe-5594-4095-bf3b-87901f9a0585@erwinrol.com> Content-Language: en-US From: Christian Melki In-Reply-To: <261a0dbe-5594-4095-bf3b-87901f9a0585@erwinrol.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: GV3PEPF00003669.SWEP280.PROD.OUTLOOK.COM (2603:10a6:158:401::385) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|PAXP251MB0696:EE_ X-MS-Office365-Filtering-Correlation-Id: ccdf62f2-1304-4095-48cd-08dc7e39286b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?RUVPbGJYOUo5TUpMMFhPTW1QZ0dUVi8vMXJoM2V4UlZyQS9YdFJhNUdjQjNU?= =?utf-8?B?OTJ3L0w1Y2FQWndiL0hza2h4cjU5WlBQeXdwQ1V4RFI0aU1RQkhhMm9OcWZB?= =?utf-8?B?cWZlKzI1U1Job21UNUY4OE9pU2tJeWI0Y3VxSnFaSndoYXB3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c3d0TUJlV2psaFdW?= =?utf-8?B?b2ZOZWh6T2VOcUoxb0RvS2NuV2FLajJ3a0ZtUTZMTFhPK1dEQU5Bclg3Rjlp?= =?utf-8?B?UGpxTHFiNTlRUjFValpDMEk1SVh6M2FRaXRLTG05aGwwVGpEQmNidTBvL1Ay?= =?utf-8?B?c0xYeGtFU1dIa2JIQjd1ckhCaDc4TW5ET09kSVFYY0ozS3FsR0pyVVhPcGZm?= =?utf-8?B?YjhYRUtFL0xRNU8wVU5lYXVTNGlOK05vb3h6RW9lbm96QklURlc5ekRwaGF4?= =?utf-8?B?aWtPQVdGcUsxUVVFRmMrSFh0Q2ZpdkVydi94VkI5VXlwbHBRTkRERFk0TXo1?= =?utf-8?B?OW5oczlHUG14ZjVBWUM0a29OcjByQzljK0d0cjdQWDlMYW5CRDJJbHRXR25L?= =?utf-8?B?bFgrZkZjMm4zckN6b3o4bHdCeWh1Smt4VjhWaXlBZjFvWWY3VXl1a1k3K2pv?= =?utf-8?B?TVlXU2VBNDFnNDBGek1LbVhvdjBxWHpkMVc2M2xiYTV2aXBpalpaQnlYK0tQ?= =?utf-8?B?bTJBcmJTRW5JdStWVkNlbFNHQTNJZlViL1V3SVlmV2Y3d3IxTUh0Vmt1YWF5?= =?utf-8?B?Q1RwZWlJOGorTkZkZis1emVDekNYRFFaeHZJQlpzTUZNVmdTaWd1OEhreUw2?= =?utf-8?B?SDZDczY4ZkVIc1hybjMrdHBjK0NVeEN1ekc2WlhUaVUzUU96eHJMOHhBPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(366007)(1800799015)(376005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c1FjY3dSeVJRU04rcFlmbmZaNTZ5RX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R0NjVabEsrbFlOcnVDTWdEWlRyVGFsb2N4eEI5R3lNY0UySjA5NkhPdnMv?= =?utf-8?B?eUF2ZStEVkprbTYwcDJCQUJlUkpHbi8xMzlGK0pzbVVLS0Mzc3lVaWRQTVMv?= =?utf-8?B?dDIvdW8vaVd4cjJJL2FzNHlCVUkyZWxKaVhVS2svQXV5WWtsM2JxNnJQbWVv?= =?utf-8?B?NE8yUmkvUjlla096VHhPeFBJd3VXWWM1YnJpQ1U0bExXcm0ycHgrTVJqWEE5?= =?utf-8?B?ekdjNmY5MXorQjlEalJUT1dLalVVTHM5T28zaWorZXJXUTZ3RUg4cnlSZ3pw?= =?utf-8?B?NWl4Q0V5Y3p0M1JzZE9SaXgxdCtlbDE1TVp5KzhjVk1LbnM2OW1QSHhCWlk3?= =?utf-8?B?Tmc9PQ==?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: ccdf62f2-1304-4095-48cd-08dc7e39286b X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 May 2024 10:38:33.7848 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6vXTVkgeQ8oPErbP2pw4JXwzqTZmHz4eGU3Z3HSnkjhnhe4wxLUa9I5J1biLlXIgi7e6NA6EY4CXkZarIjQvnvg4MzkvIVyxFAq9dIyMMls= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXP251MB0696 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] year 2038 Toolchain X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hello Erwin. On 5/27/24 10:32 AM, Erwin Rol wrote: > [You don't often get email from mailinglists@erwinrol.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] > > On 5/24/24 12:19, Michael Olbrich wrote: >> On Fri, May 24, 2024 at 11:04:24AM +0200, Erwin Rol wrote: >>> On 5/24/24 10:41, Ian Abbott wrote: >>> >>>>> If I figure it out I'll let you guys know (so it can be added to the >>>>> official Toolchain) >>>> >>>> Rememember to define _FILE_OFFSET_BITS=64 too if it is not already >>>> defined. _TIME_BITS=64 is ineffective when _FILE_OFFSET_BITS=32 for >>>> Glibc policy reasons. >>> >>> I tried some things to convince the Toolchain project (latest gcc13 release) >>> to use those two defines, but without much luck. Sometimes parts complained >>> that there were duplicate declarations of (time) functions, with some other >>> tries it actually complained the the _FILE_OFFSET_BITS was missing for some >>> part, that I really don't understand because I added them always in pairs. >>> >>> So I believe it is just a bit too early for 100% year 2038 compliance at the >>> moment. Especially when it comes to C++/libstd++ there is also not much info >>> online. >>> >>> But the C part seems to work with the support ptxdist offers, and C++ has >>> always been some unwanted stepchild, especially now Rust is going to safe >>> the world :-) >> >> So gcc-14 has a --enable-year2038 configure option, but I didn't test if it >> works. > > Any ETA for a gcc14 ptxdist Toolchain ? > You can always roll your own toolchain? Esp. If you need to test things. ct-ng toolchains work pretty much as is. Atleast that's what I always do. >> But I don't know if that causes any API or ABI incompatibilities. >> The changelog says "Disable year2038 by default on 32-bit hosts.". That >> looks a bit suspicious to me. > > Maybe make 2 specific 32bit toolchains, one with TIME_BITS=32 and one > with TIME_BITS=64? So ppl (like me) can start testing the TIME_BITS=64 > version, and ppl that know for sure they do not care about y2038 can > keep using the TIME_BITS=32 version ? > > - Erwin > Regards, Christian