Skip to content

Commit

Permalink
modules: update golang.org/x/sys to fix panic on darwin with go1.17
Browse files Browse the repository at this point in the history
This commit updates the golang.org/x/sys dependency to fix a panic that
occurs on darwin when running under go1.17.

The golang/go issue is 45702: golang/go#45702

For reference the panic manifests itself when running the `pebble`
command and can be reproduced on go1.17 with:

```sh
$ go run github.com/cockroachdb/pebble/cmd/pebble bench sync "$(mktemp -d)"
```
  • Loading branch information
Charlie Vieth committed Sep 10, 2021
1 parent b85224b commit 25846d1
Show file tree
Hide file tree
Showing 318 changed files with 32,179 additions and 24,915 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -15,7 +15,7 @@ require (
github.com/stretchr/testify v1.6.1
golang.org/x/exp v0.0.0-20200513190911-00229845015e
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299
golang.org/x/sys v0.0.0-20210909193231-528a39cd75f3
)

go 1.13
3 changes: 2 additions & 1 deletion go.sum
Expand Up @@ -245,8 +245,9 @@ golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 h1:DYfZAGf2WMFjMxbgTjaC+2HC7NkNAQs+6Q8b9WEB/F4=
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210909193231-528a39cd75f3 h1:3Ad41xy2WCESpufXwgs7NpDSu+vjxqLt2UFqUV+20bI=
golang.org/x/sys v0.0.0-20210909193231-528a39cd75f3/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
Expand Down
6 changes: 3 additions & 3 deletions vendor/golang.org/x/sys/unix/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion vendor/golang.org/x/sys/unix/aliases.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion vendor/golang.org/x/sys/unix/asm_aix_ppc64.s

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 0 additions & 30 deletions vendor/golang.org/x/sys/unix/asm_darwin_arm.s

This file was deleted.

30 changes: 0 additions & 30 deletions vendor/golang.org/x/sys/unix/asm_darwin_arm64.s

This file was deleted.

29 changes: 0 additions & 29 deletions vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s

This file was deleted.

29 changes: 0 additions & 29 deletions vendor/golang.org/x/sys/unix/asm_freebsd_386.s

This file was deleted.

29 changes: 0 additions & 29 deletions vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s

This file was deleted.

29 changes: 0 additions & 29 deletions vendor/golang.org/x/sys/unix/asm_freebsd_arm.s

This file was deleted.

29 changes: 0 additions & 29 deletions vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s

This file was deleted.

3 changes: 2 additions & 1 deletion vendor/golang.org/x/sys/unix/asm_linux_386.s

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion vendor/golang.org/x/sys/unix/asm_linux_amd64.s

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion vendor/golang.org/x/sys/unix/asm_linux_arm.s

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 25846d1

Please sign in to comment.