From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) by sourceware.org (Postfix) with ESMTPS id A6A79385735E for ; Mon, 13 Feb 2023 17:13:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A6A79385735E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oo1-xc2b.google.com with SMTP id y81-20020a4a4554000000b0051a7cd153ddso1253244ooa.10 for ; Mon, 13 Feb 2023 09:13:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=JjnjJN6FDckQt+oOipWo3lSfpteIJEqUEiG4ZV0Jkdk=; b=ACBL/tEjk1riCB/b4JWeVT/vXX2cHPGSF02qoLNshEUP43v5t9fYE5bWzI4Joto0NF uwfQGVOGrBBnAV4xPloZLM9iKjCl+tbHpjaJHrHsqkZwmctPOsc/l0gPfI4M5GHKYHl5 GUjQq2nPiydwzh5QuaXW4lJZwfWAnuo3esWS0eEs6LE17q3F1PWBSbAphN++i9qKuTLV p9NFdDgqzBlA6sKfP/iuTV14qVHy8Ua8b7yFhHtWafHB5jvY/E+FEY6lxiwbPEB0rNbj pI+CPy1bF5JIzmo9o5+iu941BvEC63dZyVgmsvzCjH58fle6Hc6w/MCSO1uXOoynVioD K6KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JjnjJN6FDckQt+oOipWo3lSfpteIJEqUEiG4ZV0Jkdk=; b=w0x6m0vZxb4KkmYrB4erNDikflWsD+2mUkGHsmhvEyCztKGZy6Q9TYJalL8sdLNjmU vK32lSNpXOzu3c5EoKyGObWPMLjsguSLi3t9QxHqmXIWIqv+IiKwptXl1mwwkZNbnyOF aLznHP8rgguSDYzXAogpTaZlvp2HDd6WoGCGBFU2EcA0+EnXKONqBgBL7fuNEuxvdvg9 J7+qMU534Hvs4VdOZEjjHUKsPxJRiSdpabjFvOGE7CrfT8Ro69tBmdLF+nRnCBgd/mnW +ReznqP846sunc2UmchZXbyGeyH78TH273c3zZ8eLLcVpcR3khg5zLP91iMGexj+0MYM P5Mg== X-Gm-Message-State: AO0yUKXJ11lQPDZPZGQRMrWFu/6feeLoY8eQWTeztTBLHiioUsU3wjuA J7HhXot1aqU282hfhwa9+crLc9ogWAH36oci X-Google-Smtp-Source: AK7set8skbyH9sisMBiLZTgs7t6Y1Pt4CrpzdOg2qNLvpIn94u8mc626qYKED8GmW+F27FM13uR53w== X-Received: by 2002:a4a:dece:0:b0:517:a7d1:9762 with SMTP id w14-20020a4adece000000b00517a7d19762mr12792237oou.7.1676308396293; Mon, 13 Feb 2023 09:13:16 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c2:f662:138b:cd0c:7b7a:8860]) by smtp.gmail.com with ESMTPSA id q71-20020a4a334a000000b004c60069d1fbsm5045332ooq.11.2023.02.13.09.13.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 09:13:15 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 5/9] support: Use 64 bit time_t routines on delayed_exit Date: Mon, 13 Feb 2023 14:12:58 -0300 Message-Id: <20230213171302.3045672-6-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230213171302.3045672-1-adhemerval.zanella@linaro.org> References: <20230213171302.3045672-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: The failure only shows if the system time is set past 2038. Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf with time set past y2038. --- support/delayed_exit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/delayed_exit.c b/support/delayed_exit.c index e5028bf13f..d53012a8e2 100644 --- a/support/delayed_exit.c +++ b/support/delayed_exit.c @@ -16,6 +16,9 @@ License along with the GNU C Library; if not, see . */ +#define _FILE_OFFSET_BITS 64 +#define _TIME_BITS 64 + #include #include -- 2.34.1