From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id g2g7M0/88GKBvSIAWB0awg (envelope-from ) for ; Mon, 08 Aug 2022 08:06:39 -0400 Received: by simark.ca (Postfix, from userid 112) id C901A1EA06; Mon, 8 Aug 2022 08:06:39 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=JqSaJcpo; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id DF9511E9ED for ; Mon, 8 Aug 2022 08:06:38 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 76F13385802B for ; Mon, 8 Aug 2022 12:06:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76F13385802B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1659960398; bh=uqPMnHA6SBG1secOKYZjNEYZlhH30kwqPZUb1dMDFg0=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=JqSaJcpopePWvxqtvZ+RKzjP1sdsEGEYh1oA6zixmxRL8nYuGZ4cie+1Wr9tbHPpv ZKuN07lbi8MQVkCHRE2kV+DlzG0AkpiZE+7aOhheSMiGkinjWxk7PMMH0gAWdZ7LRs s9SvNQ0trrNRr8YU15/hGuyPQbwK7hDXLdw/TX2w= Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2054.outbound.protection.outlook.com [40.107.22.54]) by sourceware.org (Postfix) with ESMTPS id A26513858020; Mon, 8 Aug 2022 12:05:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A26513858020 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=j0RxXmkrFIi0i7PWy+adgKaEgrBI2DWyJmU6Hp1NkQFX5kZGG9qVhy9ezlwiVygcoVM2qTtq+PhoMpkUgUdP7Q1/Z84d7VbHx2MpQ55cQn/Cpf50aGkGBqPrK8CLLylUInKOYh7Hy1yqnDHfU4pGZNGQS6S3UKLNrJCexuCKJNuMpqnS5zB5Znjc1W99zoETJ8DGznvIiPCpLI3i0AvvfJjVMaQhQ0ZtEJHAGselsLXBULMGl1sMv97kXx0DK2DkbxT95GrYdcpi8tw625suONfesSimxaUBpopOU5IlLqT5MRsGBTqUPNG3lACX8GFmI3vYbVM4bCPOKSZJoRg+Hg== ARC-Message-Signature: i=2; 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=uqPMnHA6SBG1secOKYZjNEYZlhH30kwqPZUb1dMDFg0=; b=ZNouGj3WiS8kacxWWP3evjn7WikBJ8KvkZb8w+Df2H74YBURyxDJXz4vDxyBdIQQHS5yeO/YJqr/iy58hH0567jOc/btdzF99xxpyuYS/AtvWgzJzwRXS7TcwboM0rJrActMqr4MUa0VH4pOQJGjd5NtY1T6C45DmVjA6mAMhzMZzH1rNOq15RsfR/x9yyO0uXQ7UQX23EWn+ER8VWkJHSL9D6b00w/FzMeAnDdx9T2SbhsFaYuiG1QfFxGYCJxMs7jW97wj8nQALb1BqX1G+VQ0s/1WThlDe1skvWK5pn8NedtDlmBp6n+21M3zsBeAiYPbjPpUP60VZD8T0fkcJg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) Received: from DB3PR06CA0013.eurprd06.prod.outlook.com (2603:10a6:8:1::26) by VI1PR0802MB2478.eurprd08.prod.outlook.com (2603:10a6:800:bb::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Mon, 8 Aug 2022 12:05:09 +0000 Received: from DBAEUR03FT050.eop-EUR03.prod.protection.outlook.com (2603:10a6:8:1:cafe::c3) by DB3PR06CA0013.outlook.office365.com (2603:10a6:8:1::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14 via Frontend Transport; Mon, 8 Aug 2022 12:05:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT050.mail.protection.outlook.com (100.127.142.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16 via Frontend Transport; Mon, 8 Aug 2022 12:05:09 +0000 Received: ("Tessian outbound c883b5ba7b70:v123"); Mon, 08 Aug 2022 12:05:09 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8ccdc5e02becaa0c X-CR-MTA-TID: 64aa7808 Received: from a40aa9a52462.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7FECCF30-A923-4334-A73A-39906A00056D.1; Mon, 08 Aug 2022 12:05:02 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a40aa9a52462.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 08 Aug 2022 12:05:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GHbCZ2PWVFt9WYQc91VbndTzLNPpBEANSdMdZNyZlVdOHiiIYRdCRAc0ld4esoO3MMx30Cj1rPP9QEgeQOAZ2rdYWPxUMCv+edyRd0JyYDW5Vwlas6wbFjCrFPgHNE5vpgiBkVavsjO8BBB3dprRbO5aL8RtHHV4HZQBDJXGg6uU0I4AHoANEP2nQq0bkxEFmcRDAsxDEC8b9lVU0OOM3sH3gP5eNKh4TSB3zOp8/OFmnp5qNsf7srV2MBbPc2A6d4H54hNV2te65jwXtlclQyN5TEPaYFhyNHCtXeP1uZ1IJyx6cIJxiOTTIiePHVthZFCooThnlE5oRoocJAN2ug== 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=uqPMnHA6SBG1secOKYZjNEYZlhH30kwqPZUb1dMDFg0=; b=Fz7dX57vz0877ZwdmjwwDlBvVJX+1HnQUXIeRlU5+mhe6VCAjPA26cU/KnBSLFF+Cc/6p0L2tgnRCH5AaNbpT4eqZZ4TPcX/9lIF2uDg1Fot14sQli0CraTTwHOFk16bAiM2aPYd0ywLTKMG5y/Pq1nQoumw8iRkGJ2xdh9VvGDeAB+r+RRXwHl0fTo6TFnS9FEHzO/38WA9C9AymZ/Zg37XAAyBS2f00NYbKK3snDM4gIdPRpwqQRBBz6uCZ4iLMwaRukQ8+Z4jG7Md7TUOdbsurxf2jqjicr+LaSYk/K6s/x8h+Ze9nhogSZSDE/8cQHIXCp274TxnOqJ783C9fQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) by HE1PR0802MB2443.eurprd08.prod.outlook.com (2603:10a6:3:d7::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.17; Mon, 8 Aug 2022 12:04:59 +0000 Received: from VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::cc64:9170:b12d:de8]) by VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::cc64:9170:b12d:de8%4]) with mapi id 15.20.5504.019; Mon, 8 Aug 2022 12:04:59 +0000 Message-ID: Date: Mon, 8 Aug 2022 13:04:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] Disable year 2038 support on 32-bit hosts by default Content-Language: en-US To: Eli Zaretskii References: <20220801075149.1152064-1-luis.machado@arm.com> <959a19b9-b2c3-6638-e0b9-b66ca8328574@simark.ca> <4224183e-e2c1-9a98-7e41-61a58e49aa29@arm.com> <14374ca2-3979-f2d2-2296-a36ba9c615d2@simark.ca> <834jyw2bwd.fsf@gnu.org> <83e592ff-fa28-ddfb-a46d-79db726d2b5e@arm.com> <83zggfuets.fsf@gnu.org> In-Reply-To: <83zggfuets.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO3P123CA0007.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:ba::12) To VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 0bdcf4a5-0b98-4137-eb38-08da79363d78 X-MS-TrafficTypeDiagnostic: HE1PR0802MB2443:EE_|DBAEUR03FT050:EE_|VI1PR0802MB2478:EE_ x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: bi5DW/XHku9B1SmMM3wUb7/FGvs/J51Phkk6tFtDbH/UtjVJZJ9ip5BF7Mv6tsC18LdI29c7XlmW26SBK6ztbYjdkgF8jMU/QUZM3W3ihWz1YyetWsPyDqmsn1n8pIJbCVW2gtEhx+riHTyA7zZXMd7OZGCfbjRve+s6KnXUXofB1T4iK1MiduLiNs6vTCZmKNr586BklE1BEQm32Xtbd0YLpOzdxQFsKDUryFS9HkrGl4w+/suCuGnLWwz0FT9hGHk468CchglWm4ESCxLMJhm5tHr3qZOoq91syTkY7DIMPzykdpwbQtniyu7JQ32ejWafys20sEl/0ifuYuec6f/eHIgnP5VKMoCeATqlrp7ugKcICRPdi7iQkaKWUNOX3q36BOTb9FVWcc9YTq1AJHKFbcMTJGmCfDBFTTCov39dlCogkZxUGoCEGiZKKM4nVCk95/GOc/9SyRnuD4tHSoKT7I/Side0ifOTCXhuMIKSAHeIPZ51zJjWr6MsoRkXlA5sc6tb3XDw/mYUxv30bODQOYj4SSeMg3zt8EPq5zWkgTXQTZozxH9CcLgnluRbtTOy5cvyGsyzdBdeSPpp5L012KwBr+QXjbUC3ov+uiKkq0e9hw/9G3xU/zDDGsPTjbY5G/mYLCFYBqzralHv6PxQrwXpzyy4i5VGTBDc+cVRcVlN4lHgAgd2B+72qYzx8uRim+DFAB12icYgJOfBDGblyCZDVF4XYXSjGT33sUGNODQXbY0HlLvum2rBuIBtBaYEluHykkUFh76mCt3TEaVyga36JYJzicwqvQGfDw9bhlJTQ9E0C0+G2HT11s8YHfEW9A8RewytiWseQksBpP3wXANOiMBYJzPwCMd3Ic4= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB3919.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(346002)(136003)(396003)(376002)(366004)(39860400002)(41300700001)(31696002)(26005)(6512007)(6506007)(53546011)(38100700002)(186003)(2616005)(86362001)(8676002)(44832011)(66556008)(66946007)(31686004)(66476007)(4326008)(5660300002)(8936002)(966005)(6916009)(478600001)(2906002)(6486002)(316002)(36756003)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2443 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT050.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: e6b730e8-60cd-4521-c1ad-08da793637a2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oo+R57cHcABytdRZrCcrG/yhFj18W/DhGmm6H5ska9U0vHWBeaJJlVFRv1Wdulmn8C1giqci/EfqnCLeMlwKsbIAJbJxg+rqJ2UEqos36tLjCUxHMObOxbb77f2w2w76UmPAduw8FQVQh9jv7q+z3yYFjcBSO3cYFArNMqryEoOY5T5LP/ZJXwGmyYH0sD5Wn/h1dsIjNuf++nk3CywOZH4CWRN0xU0M+0kZU7zrJglZE4jw0TIHOzXXSml4fsnJHdgmKuQ5vBJpTI4Q0GqOFnRfZ5OIz+grgNHW63OVCzoJQeTnKYCytY34NNKMbInxVBxrKg3bMS5SL+4CDPOkD3HKQbCoc8Bnh41l592KTUJUFF7sPd3oLhrfjX3XJ248k7IVv4c/4GUVmhZwgARs332Oar0QG5bRlm5UhLHOz3u5yRHYmxgboVsWK83pV6sObFnHv0reNYyqB/3JXPsyvWdFAIE7poe5mHFw+glbMVHRcDwl6yfXjFSayhE9+i60ZRtp88ezHvnylX1Sfhrhazg8DoCaFVyNcsv7sov9fNNljA4EvN5+s0apBycmTpir0R79/iStLS7TAQckIsEjBFmgtksp00HaZkn7CdyV1HMBDe45RlPcrFSfRHh3LbMgWHtqHh9IK3o0/NNhyw5uGwGJRkrbRwCWdABQZBdaIjdUnQdfcV/U7kmAzoi4ZHWaUeMklDJNCCC5ZIyuR4Hb4myCM5NCRLfltXyrNonqxgXMhPqCcfk5qA6dDK9kur7mbKukarz2F4wJwbnji8lKU6jw1bkUquY5D7bV16n4pgMcPEUBkjvs3kDGl0NdS8J2+knpYO51tmt1l6xgSAUjHFv3+q/tVwUknjoCNZUm/L0= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(136003)(39860400002)(396003)(40470700004)(36840700001)(46966006)(478600001)(6862004)(966005)(6486002)(8936002)(70586007)(70206006)(2906002)(4326008)(44832011)(356005)(31686004)(82740400003)(81166007)(5660300002)(53546011)(36860700001)(40480700001)(2616005)(86362001)(47076005)(186003)(41300700001)(336012)(26005)(6512007)(6506007)(40460700003)(316002)(450100002)(36756003)(31696002)(8676002)(82310400005)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2022 12:05:09.2719 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0bdcf4a5-0b98-4137-eb38-08da79363d78 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT050.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2478 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Luis Machado via Gdb-patches Reply-To: Luis Machado Cc: simark@simark.ca, eggert@cs.ucla.edu, binutils@sourceware.org, gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 8/8/22 12:58, Eli Zaretskii wrote: >> Date: Mon, 8 Aug 2022 12:34:02 +0100 >> Cc: eggert@cs.ucla.edu, binutils@sourceware.org, gdb-patches@sourceware.org >> From: Luis Machado >> >> On 8/2/22 07:42, Luis Machado via Gdb-patches wrote: >>> On 8/1/22 16:59, Eli Zaretskii wrote: >>>>> Date: Mon, 1 Aug 2022 11:37:27 -0400 >>>>> From: Simon Marchi via Gdb-patches >>>>> >>>>> My opinion would be to follow the trend and use 64-bit everywhere, and >>>>> not have to worry about future-proofing anymore. >>>> >>>> That's not possible everywhere, though. >>>> >>>> And I very much doubt that time has come for us to worry about the >>>> year 2038.  Does anyone believe GDB 13 will still be used in that >>>> year? >>> >>> I doubt it. There was some discussion here: >>> >>> https://www.mail-archive.com/bug-gnulib@gnu.org/msg41057.html >>> >>> I'm cc-ing Paul Eggert for additional considerations about this, but at the moment it seems the safest >>> is to just use 32-bit time_t for 32-bit hosts. There were some concerns about breaking compatibility if >>> we moved to 64-bit time_t on 32-bit hosts. >>> >>> Maybe the best course of action is to get autoconf patched to support year2038 checks and then use that >>> in binutils-gdb. >> >> Any additional thoughts on this one? > > What is the current plan if no one else chimes in? I'd like to push this temporary fix in so we can at least have a functional 32-bit Arm GDB on 32-bit hosts supporting 64-bit time_t. I expect other 32-bit GDB's will also potentially run into this.