From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) by sourceware.org (Postfix) with ESMTPS id 37C9C3850408 for ; Mon, 13 Feb 2023 17:13:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 37C9C3850408 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-xc29.google.com with SMTP id y13-20020a4ae7cd000000b0051a750e2ebdso1251983oov.5 for ; Mon, 13 Feb 2023 09:13:19 -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=JDE7PEgrNhF00WVGhlTv4oUxui3tYAH7zH7Kfo094DI=; b=DaGrYHIuFhe+wjcyCM661T/5nqwqOTNFCsN9Ms2833C1bP+Z6tjNIiJUPQO7XsCwf8 eP/03CmTuC4lUx7XPnfKhlXU2MUPe58NiXS6L2xzoJAupuuU92jY1Y5xQFpXITTkJPS/ HnjPRQ9hSBSuRqwZoY3oS4wVjiKFFS2vdRBMxJtfhM6swdvWlrNWr83gzqf5jAoTT9Q3 ygG39YoSRbIVsDzojo3lhorblul/LMvXy/3MniNBDs2mNavKhFxlPJqovfA2CIhAo8tG bRoGjtHeMhn3PRoF2I8pnQpxiQC8dNV96waIRUg2MsBWPwK7JCMn7CIWGsXqK59z7nPm NElA== 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=JDE7PEgrNhF00WVGhlTv4oUxui3tYAH7zH7Kfo094DI=; b=WcAT1HhM0dHCs+MsX5RJ/K2Qbbuz5FrCIINLX3bC+POovBCc8xSnfve/PcP6r8n9+a hrCerKRrKYzRQgdzUEWXbzIKFnP4zINlUjb8Ss2YJtybm+xSfp721+Oe1CN3xw6121vP VT/PjnOS0nSHRaR3Gz1Xv04Rtp3yAJl9GSjEEZk0uBw1us7fBJGh8NVVQReV+iumpxhO JX7bqswRZ1B8IgVHwCL5mGtcE++GaBJB66Wg6YIvQnQ7vGzItCjnYaHN+BZErKdM5Naq Dd+cqgHQNMjLPK5uK+lwb6YFYNIaI7XsBQ5y0AzkORszoetHE2fQpAzXePbsPFuhLITZ 8qeQ== X-Gm-Message-State: AO0yUKV1PaEXPDBKfhfNSZrZrLUA7gKxXnvr9x6ajOvRzJTo7s9mCYfQ Ltz55TEyJSS4RO+SC6tQV5qCL9MN4OBAcBVI X-Google-Smtp-Source: AK7set/PjYIZvHAUuO4hNk1abOBhuSOTvx/68apYEO4R5sBhoBFMYrJ8hCpEEoJxmSKeo6VenG0Fdw== X-Received: by 2002:a4a:a34a:0:b0:51a:c9a:ee78 with SMTP id u10-20020a4aa34a000000b0051a0c9aee78mr7976438ool.1.1676308398195; Mon, 13 Feb 2023 09:13:18 -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.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 09:13:17 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 6/9] support: Use 64 bit time_t routines on support_process_state_wait Date: Mon, 13 Feb 2023 14:12:59 -0300 Message-Id: <20230213171302.3045672-7-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/support_process_state.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/support_process_state.c b/support/support_process_state.c index dc2296f8dd..d371456dcb 100644 --- a/support/support_process_state.c +++ b/support/support_process_state.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 #include -- 2.34.1