time_t on sparc64

Harti Brandt brandt at fokus.fraunhofer.de
Wed Oct 15 00:06:50 PDT 2003

On Tue, 14 Oct 2003, Marcel Moolenaar wrote:

MM>On Wed, Oct 15, 2003 at 05:28:08AM +1000, Bruce Evans wrote:
MM>> >
MM>> > I guess we have to do this work before 2038, don't we? If we don't do it
MM>> > before 5.2 we have to stick with this until 6.0. Correct?
MM>> Yes.
MM>> It is too late to change it for 5.n IMO.  Every syscall that uses a time_t
MM>> or a timeval would need to be duplicated.
MM>I'd rather we create a new sysent and prune the syscalls to get rid of
MM>other compatibility cruft. It also allows us change userland visible
MM>structures to make them more LP64 friendly.
MM>BTW: time_t on ia64 is already 64 bit.

Hmm. In this case it should be rather easy to change sparc64's time_t to
64bit? The only changes should be in MD code (in theory). But this would
clearly break existing installations, so I guess we'd rather wait until
the fork of 6.

harti brandt,
brandt at fokus.fraunhofer.de, harti at freebsd.org

More information about the freebsd-sparc64 mailing list