Skip to content

Commit 84c30ac

Browse files
authored
Merge pull request #909 from dtrudg/pick-build
Pick build changes from main to 3.10.1
2 parents c9d4ba3 + 3edc771 commit 84c30ac

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ orbs:
66
parameters:
77
go-version:
88
type: string
9-
default: '1.18.2'
9+
default: '1.18.4'
1010

1111
executors:
1212
node:
1313
docker:
14-
- image: node:17-slim
14+
- image: node:18-slim
1515
golang:
1616
parameters:
1717
variant:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Bug Fixes
1212

1313
- Fix test code that implied `%test -c <shell>` was supported - it is not.
14+
- Fix compilation on `mipsel`.
1415

1516
## 3.10.0 \[2022-05-17\]
1617

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ The following have contributed code and/or documentation to this repository.
7676
- Mike Gray <[email protected]>
7777
7878
- Nathan Lin <[email protected]>
79+
- Nilesh Patra <[email protected]>
7980
- Oleksandr Moskalenko <[email protected]>
8081
- Oliver Breitwieser <[email protected]>, <[email protected]>
8182
- Oliver Freyermuth <[email protected]>

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ _**NOTE:** if you are updating Go from a older version, make sure you remove
5656
`/usr/local/go` before reinstalling it._
5757

5858
```sh
59-
export VERSION=1.18.2 OS=linux ARCH=amd64 # change this as you need
59+
export VERSION=1.18.4 OS=linux ARCH=amd64 # change this as you need
6060

6161
wget -O /tmp/go${VERSION}.${OS}-${ARCH}.tar.gz \
6262
https://dl.google.com/go/go${VERSION}.${OS}-${ARCH}.tar.gz

cmd/internal/cli/cgroups.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,5 +299,7 @@ func deviceMajorMinor(path string) (major, minor int64, err error) {
299299
return -1, -1, fmt.Errorf("%s is not a device", path)
300300
}
301301

302-
return int64(unix.Major(stat.Rdev)), int64(unix.Minor(stat.Rdev)), nil
302+
// Extra casting to uint64 for stat.Rdev to make sure correct type is set correctly on all archs
303+
// and avoid failures on mips
304+
return int64(unix.Major(uint64(stat.Rdev))), int64(unix.Minor(uint64(stat.Rdev))), nil
303305
}

0 commit comments

Comments
 (0)