commit | 7a75290698de16ec0a9d0581ac45fa3808fa9431 | [log] [tgz] |
---|---|---|
author | chenguoqi <chenguoqi@loongson.cn> | Sun Jan 29 16:48:35 2023 +0800 |
committer | Gopher Robot <gobot@golang.org> | Tue Jan 31 14:54:23 2023 +0000 |
tree | 427747bec6d2515793e088e3673207ca3c8b02b4 | |
parent | 4112509618ee88519f899be20efc6882496b57c8 [diff] |
unix/linux: update to glibc 2.36 Support for LoongArch has been merged upstream. This allows to drop the loong64 specific glibc patches. Because the header file sys/mount.h of glibc 2.36 includes fcntl.h (commit 78a408ee7ba041fc8d5dbd5f67065b4a982c11e5), this will leads to duplicate definition of structure stat on MIPS64. In order to solve this error, use the custom type my_stat to generate the Go Stat_t. Change-Id: I888280d777d1c7089548acf1b3821762011d79b0 Reviewed-on: https://go-review.googlesource.com/c/sys/+/453555 Reviewed-by: xiaodong liu <teaofmoli@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.