Skip to content

syscall, x/sys/unix: ustat is deprecated and has been removed from glibc #25990

@fweimer

Description

@fweimer

src/syscall/types_linux.go includes <ustat.h>. The ustat system call was deprecated well before Go development started, and the ustat manual page said so since basically forever.

glibc 2.28 will remove the header file, so Go will no longer build. Seen so far with libgo on the GCC branch gcc-8-branch. Go 1.0.3 itself still appears to build. However, I think it makes sense to remove this interface upstream as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions