syscall.Getpagesize returns wrong page size on aarch64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Docker.io |
Fix Released
|
Unknown
|
|||
golang-1.6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Michael Hudson-Doyle | ||
golang-defaults (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned |
Bug Description
syscall.Getpagesize returns wrong page size on aarch64.
The code at https:/
This is fixed upstream at 1.8 with https:/
Downstream, this affects Docker and Kubernetes on aarch64, specifically at
https:/
Please consider a backport of the page size fix to 1.6 version of Go that is part of 16.04 LTS.
thanks
Ed
root@docker-
Description: Ubuntu 16.04.1 LTS
Release: 16.04
root@docker-
golang:
Installed: 2:1.6-1ubuntu4
Candidate: 2:1.6-1ubuntu4
Version table:
*** 2:1.6-1ubuntu4 500
500 http://
100 /var/lib/
What I expected to happen:
C.getpagesize()) and syscall.
What happened instead:
On aarch64,
✗ go reports correct pagesize
(in test file go-pagesize-
`[ "$status" -eq 0 ]' failed
OS page size = 4096 ; go reports 65536
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: golang 2:1.6-1ubuntu4
ProcVersionSign
Uname: Linux 4.4.0-38-generic aarch64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: arm64
Date: Thu Feb 2 11:44:31 2017
PackageArchitec
ProcEnviron:
TERM=screen.
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: golang-defaults
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in docker.io: | |
status: | Unknown → New |
affects: | golang (Ubuntu) → golang-1.6 (Ubuntu) |
Changed in golang-1.6 (Ubuntu): | |
status: | New → Invalid |
Changed in golang-defaults (Ubuntu): | |
status: | New → Fix Released |
Changed in golang-defaults (Ubuntu Xenial): | |
status: | New → Invalid |
Changed in golang-1.6 (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → Michael Hudson-Doyle (mwhudson) |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
Changed in docker.io: | |
status: | New → Fix Released |
Also noted here: https:/ /github. com/vielmetti/ go-pagesize- test/issues/ 4