GNU bug report logs - #49269
gzip tru64 64bit time_t

Previous Next

Package: gzip;

Reported by: Jay K <jayk123 <at> hotmail.com>

Date: Tue, 29 Jun 2021 09:57:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jay K <jayk123 <at> hotmail.com>
To: "bug-gzip <at> gnu.org" <bug-gzip <at> gnu.org>
Subject: gzip tru64 64bit time_t
Date: Tue, 29 Jun 2021 09:21:14 +0000
[Message part 1 (text/plain, inline)]
configure:

checking for 64-bit time_t... no
configure: WARNING: This package requires a 64-bit 'time_t' type if there is any way to access timestamps outside the year range 1901-2038 on your platform. Perhaps you should configure with 'CPPFLAGS="-m64" LDFLAGS="-m64"'?


https://github.com/jaykrell/cm3/blob/master/m3-libs/m3core/src/m3core.h
suggests how:


#ifdef __osf__
/* Request 64bit time_t. Not available on v4. Would be good to autoconf this.
 * We later check for TIMEVAL64TO32/TIMEVAL32TO64 to see if this works.
 */
#ifndef _TIME64_T
#define _TIME64_T
#endif
#endif /* osf */

.
.
.

#include <sys/time.h>

/* Check if this system really supports _TIME64_T, i.e. Tru64 v5.1 or later. */
#if defined(_TIME64_T) && !defined(TIMEVAL64TO32) && !defined(TIMEVAL32TO64)
#undef _TIME64_T
#endif

Thank you,
 - Jay
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.