You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ GOOS=linux GOARCH=mips64 go build ./...
metric/system/cgroup/cgv2/io_helper_linux.go:54:11: cannot use infoT.Rdev (variable of type uint32) as type uint64 in assignment
The text was updated successfully, but these errors were encountered:
@florianl Curious what this is being built on. Do we actually need cgroups support on a MIPS system, or can I just change the build rules so MIPS doesn't support getIOStats?
I'm getting this error as well when attempting to build filebeats alone on Ubuntu 20.04.02 running on windows 10 in WSL. Hope that answers your question about what is this being built on...
Sorry, I have no idea what cgroups support means. I would like to build metricbeat as well which means getIOStats will probably be useful. I will be deploying this to some network gear built around a mips64 chip running some flavor of embedded linux.
# build command:~/golang/beats/filebeat$ GOOS=linux GOARCH=mips64 go build -o filebeat.mips64
$ go version
go version go1.18.5 linux/amd64
When building this package for
linux/mips64
it fails with the following error:This is expected as
syscall.Stat_t
forlinux/mips64
definesRdev
asuint32
in https://cs.opensource.google/go/go/+/refs/tags/go1.18.5:src/syscall/ztypes_linux_mips64.go;l=107.Reproduce with:
The text was updated successfully, but these errors were encountered: