diff --git a/platforms/cpuinfo.go b/platforms/cpuinfo.go index c4c9c9df9..ffa8970a8 100644 --- a/platforms/cpuinfo.go +++ b/platforms/cpuinfo.go @@ -98,7 +98,12 @@ func getCPUVariant() string { switch strings.ToLower(variant) { case "8", "aarch64": - variant = "v8" + // special case: if running a 32-bit userspace on aarch64, the variant should be "v7" + if runtime.GOARCH == "arm" { + variant = "v7" + } else { + variant = "v8" + } case "7", "7m", "?(12)", "?(13)", "?(14)", "?(15)", "?(16)", "?(17)": variant = "v7" case "6", "6tej":