Skip to content

syscall: updates types related to "time_t" to 64-bit on linux/arm #60248

Open
@cyberxnomad

Description

@cyberxnomad

What version of Go are you using (go version)?

$ go version
go version go1.20.4 windows/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

linux/arm

What did you do?

What did you expect to see?

I'm hoping it can be made compatible with the 64-bit "time_t" type to solve the "2038 problem".

What did you see instead?

All types in ztypes_linux_arm.go related to "time_t" are 32-bit (such as Timespec, Timeval, Time_t, etc.). However, as of Linux 5.10, all "time_t"-related types have been updated to 64-bit (although I'm not certain from which kernel version this change was made).

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.help wanted

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions