[Bug 1661222] Re: syscall.Getpagesize returns wrong page size on aarch64
Adam Conrad
adconrad at 0c3.net
Wed Nov 1 21:11:56 UTC 2017
Hello Edward, or anyone else affected,
Accepted golang-1.6 into xenial-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/golang-1.6/1.6.2-0ubuntu5~16.04.4
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: golang-1.6 (Ubuntu Xenial)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1661222
Title:
syscall.Getpagesize returns wrong page size on aarch64
Status in Docker.io:
New
Status in golang-1.6 package in Ubuntu:
Invalid
Status in golang-defaults package in Ubuntu:
Fix Released
Status in golang-1.6 source package in Xenial:
Fix Committed
Status in golang-defaults source package in Xenial:
Invalid
Bug description:
syscall.Getpagesize returns wrong page size on aarch64.
The code at https://github.com/vielmetti/go-pagesize-test exercises
the issue.
This is fixed upstream at 1.8 with
https://github.com/golang/go/commit/1b9499b06989d2831e5b156161d6c07642926ee1
Downstream, this affects Docker and Kubernetes on aarch64,
specifically at
https://github.com/docker/docker/issues/27384 for Docker (overlay2
filesystem).
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 at docker-build-test:/mnt/src/vielmetti/go-pagesize-test# lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
root at docker-build-test:/mnt/src/vielmetti/go-pagesize-test# apt-cache policy golang
golang:
Installed: 2:1.6-1ubuntu4
Candidate: 2:1.6-1ubuntu4
Version table:
*** 2:1.6-1ubuntu4 500
500 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 Packages
100 /var/lib/dpkg/status
What I expected to happen:
C.getpagesize()) and syscall.Getpagesize() return the same value
What happened instead:
On aarch64,
✗ go reports correct pagesize
(in test file go-pagesize-test.bats, line 3)
`[ "$status" -eq 0 ]' failed
OS page size = 4096 ; go reports 65536
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: golang 2:1.6-1ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic aarch64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: arm64
Date: Thu Feb 2 11:44:31 2017
PackageArchitecture: all
ProcEnviron:
TERM=screen.xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: golang-defaults
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/docker.io/+bug/1661222/+subscriptions
More information about the foundations-bugs
mailing list