From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 9DE433858D33; Tue, 6 Feb 2024 08:26:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9DE433858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9DE433858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.83.234.184 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707208010; cv=none; b=KuOFFpgtnLacbH25JAkh+YvwjMbLagf0+bYqe0Pu68NqOIXxRUzLtUZl1VN4U+Enmd3SdYXAxyFKrQTwOy0b4xIXrd018HxMI29d4P9norOLZYir4TeP4ZNUxBDCrC7Uoc0mu6NaaidkjEy4t9Ccf3Q/bRHUUo/oBZ98g0OSOR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707208010; c=relaxed/simple; bh=pGy7S3ezVHRd0mtMxai1hejdrv7eEOmLP7FSFBJ06rU=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=KQ17e2I/huzxcKMtl/9mu0wfyThlWQT57AWgxQXEu71KoxOUWc4Saa8IvMQHxQq9n+1Het+/wtsu/nXHKrRJjKSC2ianNkwfaFdX0k8IoNPZxuG2ULXGUjJkSNv27R3I5/MzMZ1vLOUsJMKKYMMr7+yEbluTKBa0tKJsvI1HEmU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id AA9DB302FDEA; Tue, 6 Feb 2024 09:26:46 +0100 (CET) Date: Tue, 6 Feb 2024 09:26:46 +0100 From: Mark Wielaard To: Thiago Jung Bauermann Cc: binutils@sourceware.org, gdb-patches@sourceware.org Subject: Re: [PATCH] Fix disabling of year 2038 support on 32-bit hosts by default Message-ID: <20240206082646.GA25554@gnu.wildebeest.org> References: <20240203031408.137939-1-thiago.bauermann@linaro.org> <87v875wlho.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87v875wlho.fsf@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Thiago, On Sat, Feb 03, 2024 at 01:39:15PM -0300, Thiago Jung Bauermann wrote: > Thiago Jung Bauermann writes: > > > 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. > > > > 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. Thanks, this was also why the debian-i386-gdb builder was failing, which is fixed with this patch! I had been scratching my head for some time where this failure was coming from (it started when upgrading debian). https://builder.sourceware.org/buildbot/#/builders/105/builds/5890 Cheers, Mark