From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2063.outbound.protection.outlook.com [40.107.241.63]) by sourceware.org (Postfix) with ESMTPS id 560883858422; Mon, 5 Feb 2024 14:59:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 560883858422 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 560883858422 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.241.63 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1707145199; cv=pass; b=j0FVbicvicxS0dkGrKxkK78k8/da12n8bxBbKktj/4djytekMXYBOGnnjSWWJpi1A0FtSSLb+kT63Cdw5zGHKt58K1TQhdTjY2SIPBUX8IYYSkXtKP+33nCxuYLTKfsw+pwAI5T2X4t1N07PHtcnCUjFWN/Yn0sK64Mwh3lSAq4= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1707145199; c=relaxed/simple; bh=SLkBFHCgI88U6JgDg7tYMz14bbjF0rcLSIPaJ1dzIa4=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:Subject:To:From: MIME-Version; b=a2Bcr2SpcyIqoAYe99FuPb6AWbonAPEnEprakq9I72ZSsJRAaxBzMXECfwuRUMWD0laV1e8kXGgZMQCjFXIybDMjMTNkzNdGGS7Ul/kFS8v+51T7N4IPPA9BI9hcoJFVLEMNbFCr7V15xECubRnM4nXheSlw350l6PDLdDFmWrI= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=Xs3wTlrogxNrXgh2msYCmrJoY+6SX15X/domCZ5iXLzZPWYgoXMAuWvrX9yxJ6oC0/Vef4hKncc6FgerNiXumBD8MjMdvBXfubw60WZlflU8iCJqZqfm2kbehIDkWDMcikG+YnJjeTItj3GL38xMEf2bgdwGw929UmZRQ9z5tYUP4ohlUwwiOAsG2hrT8xfStlxzOXrzRJhM/FYM4nuUg+AROP/uxzQm3m6lIxgq1sz0CRQtjXQfUvRo4jZ6v0fd98wYyCyqcxupitWkXGMxR4R58ZgGJIBstpW9dhEmZb0wU+9xo/vhRX2qU8+xutV8mSWLAYeXDLPKL7np3NPR/A== 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=zzuEX0nKKSuMlVnHkPqC6Lnm0+G6aC0VJOQF/Ldfus8=; b=fLm6EdJdX+C6Tbq8d5sWTObPwp0s2ZDZO4NFsMJSlOTXiBlbk/XCJYNucC5Sk4iC63nHKNGbc0Z6WgMmq7RKQCj0xPTXMLRJ7Vp+k0jy5VdiV7k4/zjxk+m0564CJwQA6kz9zDo6PVkCF6t3NyKuZU7vn0M24RPFqn38BURw96Wi+DuGCUDWgsQ7PI2NoMNUkGlc+T+/UUwdKU7YAavKPKiMYgQq+GSPorOUTlO7mCHQ1fgivUr+GNF7kCP+7hZB2JAieH4/GlXFLE/tKiJUFqG03lg7CwV6Vv0dCxMBf90LEJvejnZIYZi5djGIy8GFIRqflsxR1Za4XvmKIrszhg== 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]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zzuEX0nKKSuMlVnHkPqC6Lnm0+G6aC0VJOQF/Ldfus8=; b=uDMwYFxD+ToPiBv1BMb2ddO41wELPpZPPB0k1OQKw0nS9btAE6cigd9Xzhgaq+SdGxeaA1buOGk73K81ZMtk6yZDKiJf7EWxN3ssIIZ6Yn/60xWMKbXaO/1fsCMYMEfGuCTpy8yotLoHdt8Q5/cJPMGhU1VvDMqOnBl7h3ndFrw= Received: from AS8PR04CA0037.eurprd04.prod.outlook.com (2603:10a6:20b:312::12) by AS8PR08MB8900.eurprd08.prod.outlook.com (2603:10a6:20b:5b5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.34; Mon, 5 Feb 2024 14:59:53 +0000 Received: from AMS0EPF000001AA.eurprd05.prod.outlook.com (2603:10a6:20b:312:cafe::de) by AS8PR04CA0037.outlook.office365.com (2603:10a6:20b:312::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.34 via Frontend Transport; Mon, 5 Feb 2024 14:59:53 +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 AMS0EPF000001AA.mail.protection.outlook.com (10.167.16.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.19 via Frontend Transport; Mon, 5 Feb 2024 14:59:52 +0000 Received: ("Tessian outbound a297577ee0df:v228"); Mon, 05 Feb 2024 14:59:52 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5f84b45c92322653 X-CR-MTA-TID: 64aa7808 Received: from 634061290804.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 30030557-F3A7-4027-9542-8EA551F3E3BB.1; Mon, 05 Feb 2024 14:59:45 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 634061290804.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 05 Feb 2024 14:59:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ieg6d9jnGGiCzSlpiYoNiivyQYX3r4Jf/vZzFxoqBLsur75qnZgvuvplYpH2NW2TBPPLsvLf9w0kD8FecOM+AtZmZ0ev6KZ56EuiHDTguMatn4Ox361/TTECSquhOrFZQbec7s7aupa6Z4tGifeKoKVkNoaWhAjQ2Z6vVrF1tj8fvbXL2MLmY7MygiFKwsPrroDCnmVhHCj5xMuuDBa5iJVYkHNXcXCd22AOhRToZG95eAlgj4qkfgz7ITf+P+/LIs1hkDUBoRSdYhvUBZodfepsZEIrN2RoWv7J54d9Tmu05bvfvTNNzM6zI+b/BVtXjcmAZKvJBdi06/2U0RmiMQ== 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=zzuEX0nKKSuMlVnHkPqC6Lnm0+G6aC0VJOQF/Ldfus8=; b=k5SfuTisTCVntpHAZlwneyKtiqzRs0z/utQ8GE9TwERe1sptjTqrfacByJyglYPNx9UpKLIw+Q9tUUyJjyX2iZH0QIjRfUAz1BwA311trGOH991qQvbfU15nixH2mlCE7F1vowpABxEtYXFeXuSarCXTHs2ya9R7UEzNFGt/8m6v7g1XhNzUWRJQXKwtRTjgo17fN0R2hfgFIUvPvdGnG0CT5WmlmLo5PQEDq7obnfZBDxpPJHp8asx36+rpRcF/JyYEmd0YEkvk3mB6n7SIiFO+pOrKJd+LFqHZAyXBLmQgPer37a4fpgBsDYhGYawwAlQauNa/1TJHlgu50qpQzg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zzuEX0nKKSuMlVnHkPqC6Lnm0+G6aC0VJOQF/Ldfus8=; b=uDMwYFxD+ToPiBv1BMb2ddO41wELPpZPPB0k1OQKw0nS9btAE6cigd9Xzhgaq+SdGxeaA1buOGk73K81ZMtk6yZDKiJf7EWxN3ssIIZ6Yn/60xWMKbXaO/1fsCMYMEfGuCTpy8yotLoHdt8Q5/cJPMGhU1VvDMqOnBl7h3ndFrw= 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 PA6PR08MB10545.eurprd08.prod.outlook.com (2603:10a6:102:3d3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.34; Mon, 5 Feb 2024 14:59:43 +0000 Received: from VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::935e:b3a1:b0fd:99ac]) by VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::935e:b3a1:b0fd:99ac%4]) with mapi id 15.20.7249.032; Mon, 5 Feb 2024 14:59:43 +0000 Message-ID: <0dd8e039-d15f-4d79-be71-587b0758304f@arm.com> Date: Mon, 5 Feb 2024 14:59:40 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Fix disabling of year 2038 support on 32-bit hosts by default To: Thiago Jung Bauermann , gdb-patches@sourceware.org References: <20240203031408.137939-1-thiago.bauermann@linaro.org> Content-Language: en-US Cc: "binutils@sourceware.org" From: Luis Machado In-Reply-To: <20240203031408.137939-1-thiago.bauermann@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0219.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:33a::17) To VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB3919:EE_|PA6PR08MB10545:EE_|AMS0EPF000001AA:EE_|AS8PR08MB8900:EE_ X-MS-Office365-Filtering-Correlation-Id: 39355032-a5c8-4ee0-9aff-08dc265b1bca 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: ho9131ku7HGnCBOpHB8JU7kL2vbvbI7y1EUtfrWSHNaQ2wj/LOLyS4qDfuNf33ctknj2Xtk2ZnhwU2JzZP18DbBGaP48ChRtCeDg9UGVffAlGKA3CAr02rsWDZrFKMUHhi+U1UZHZ+kZ0hjJl9WvbiTDri/jWeckJy1A399pX9wHsQRNB1VNETkI9nQEdBKk4Pkp+b4j43ddazmdntUE6lssyUjZJSd39MGnYJEi2igXJjKfh1X2a0xahkd87Mh/xEBO8iiZsQp2VXMOc4Rytuweax0xY4kpg/yp3ZRhuiyUIcviU0GbtIb03ACjBRwkIYCYj9NVkH+9Kfw128P0XBIIlCzapxJcy923JoscY0AtcNoHPTLmRH/DkCqBG7FxseOx1NcfXnbpwHoWRUF40zdpdCUk0slB4k0pIgjWGgG22N00A0WjIsQfu6eLCYbV/Mwy1u9N20tHpts+ZjsaBVpYPP9gvGbEvK3USTSXdPM6bfNZKiVZ7ffN5CXPGFIO96D/pJc/8W5gIG53p3uLg1lTDFI6i5gFhZMFrBwes5Gf9WfRYSP2lLAEhLd0eD0eG5GE8cfpPyrbmAXI1EGwN8D5gsLgoJQtLr5thSZQj3AU30q2UKHYyw1KsLaVUeSVVLAjRsFASSHEmV81iTe81g== 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:(13230031)(136003)(39860400002)(346002)(376002)(366004)(396003)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(41300700001)(6506007)(4326008)(8936002)(6486002)(36756003)(8676002)(66556008)(66946007)(66476007)(316002)(2906002)(86362001)(44832011)(5660300002)(31696002)(38100700002)(6512007)(53546011)(478600001)(2616005)(83380400001)(26005)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA6PR08MB10545 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: AMS0EPF000001AA.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 6d8d5057-6823-46db-b7ee-08dc265b15f8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b2Xoza0uLMNHtLZuchHJAW9F7fb3rJej+gfFuPD/e+AHBeOPzWRU1K+3o7UJGjrw8eQQ/tcfcl6OuWndZE91xzj+y7OkxvATJgVYB8ydapAHCtRGmAwTJfjtgd0WOE5CjzNGey5WfktyjkKKG5HJF6EwuKFOS/H2dZOsmKMZNyGaJOEqjvd2rMn5YTH2V7wrl9bIOMbXes1KyH6m276RLecxTetbE0E/n0GNAHP3WV2CcgOxh2UBSlW0divvzs/NI+VZKsxGIBBpGKdi3/ovt4Sz3YvblIWvfJVqUC8f4GknsQFnFZ7NY3n1lKhQrRk2lYp0FvtxyQhDNL0XnQXXuD/AFZrjshADvTW3PHSOUb/eGES03qR700Lv4VbiphoqpYNAlkEZdybwCUTYr2I2XXDkimm21H3jb0ZYdKZ/F+4xD1y87+lOx7heCNzYt8jXTPgG9njE0JjMmTgjeolTHHKm6FkGVc3TwKmZD5jy7R4w03HKjW8yODg7aG9nmBhlGgfgAZ+BQ1mNo7DGwl2HeEXu3kWa7RUGE5q+qDaZe/AqnHjR2xeit02S/Mc6wm+gYwKwizY8T+YWePrL+CEPl+WEH97eN+J7ApO5aqjZ++pn6IwCXdXkreQhfqfLpSgmqQX6yaj+vqhwE1UNkkqc5Wncxn3RKx7iFmEWViWTngD4myc4IrKITq0/jLAsIhVgBx8RHgJLuMW/oUsJwaYvr2C90211tHr1ek8rqAAJ4gIybvlivawJIPHV1D1K5ccoRz8nN5nvsDOvUZfs885HlQ== 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:(13230031)(4636009)(39860400002)(346002)(136003)(396003)(376002)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(82310400011)(36840700001)(40470700004)(46966006)(36860700001)(47076005)(356005)(82740400003)(81166007)(336012)(2616005)(8936002)(450100002)(4326008)(8676002)(316002)(6486002)(478600001)(70206006)(5660300002)(70586007)(2906002)(26005)(44832011)(6512007)(53546011)(6506007)(83380400001)(36756003)(31696002)(86362001)(41300700001)(40480700001)(40460700003)(31686004)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Feb 2024 14:59:52.9128 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 39355032-a5c8-4ee0-9aff-08dc265b1bca 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: AMS0EPF000001AA.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB8900 X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,GIT_PATCH_0,KAM_DMARC_NONE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: cc-ing binutils@ as well. On 2/3/24 03:14, Thiago Jung Bauermann wrote: > Commit e5f2f7d901ee ("Disable year 2038 support on 32-bit hosts by > default") fixed a mismatch between 64-bit time_t in GDB and system headers > and 32-bit time_t in BFD. > > However, since commit 862776f26a59 ("Finalized intl-update patches") > gnulib's year 2038 support has been accidentally re-enabled — causing > problems for 32-bit hosts again. The commit split baseargs into > {h,b}baseargs, but this hasn't been done for the code that handles > --disable-year2038. Ouch. That's unfortunate. That was an annoying bug to chase. Thanks for chasing it (again). > > This patch restores the intended behaviour. With this change, the number > of unexpected core files goes from 18 to 4. > > Tested on armv8l-linux-gnueabihf. > --- > configure | 3 ++- > configure.ac | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index 670684d83d15..6466b97f3ec0 100755 > --- a/configure > +++ b/configure > @@ -10313,7 +10313,8 @@ hbaseargs="$hbaseargs --disable-option-checking" > tbaseargs="$tbaseargs --disable-option-checking" > > if test "$enable_year2038" = no; then > - baseargs="$baseargs --disable-year2038" > + bbaseargs="$bbaseargs --disable-year2038" > + hbaseargs="$hbaseargs --disable-year2038" > tbaseargs="$tbaseargs --disable-year2038" > fi > > diff --git a/configure.ac b/configure.ac > index 88b4800e298f..1300a805fd8d 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -3432,7 +3432,8 @@ hbaseargs="$hbaseargs --disable-option-checking" > tbaseargs="$tbaseargs --disable-option-checking" > > if test "$enable_year2038" = no; then > - baseargs="$baseargs --disable-year2038" > + bbaseargs="$bbaseargs --disable-year2038" > + hbaseargs="$hbaseargs --disable-year2038" > tbaseargs="$tbaseargs --disable-year2038" > fi > Approved-By: Luis Machado