Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/pprof: TestDisasm fails on raspbian #47024

Closed
68CodingMonkeys opened this issue Jul 2, 2021 · 1 comment
Closed

cmd/pprof: TestDisasm fails on raspbian #47024

68CodingMonkeys opened this issue Jul 2, 2021 · 1 comment
Labels
arch-arm Issues solely affecting the 32-bit arm architecture. compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Linux
Milestone

Comments

@68CodingMonkeys
Copy link

68CodingMonkeys commented Jul 2, 2021

What did you do?

  1. git clone https://go.googlesource.com/go goroot
  2. cd goroot/src
  3. ./all.bash

What did you expect to see?

ALL TESTS PASSED

What did you see instead?

:
ok cmd/objdump 84.223s
ok cmd/pack 27.747s
--- FAIL: TestDisasm (21.25s)
pprof_test.go:125: pprof disasm got Total: 160ms
want contains "ROUTINE ======================== main.main"
FAIL
FAIL cmd/pprof 62.966s
ok cmd/trace 0.536s
ok cmd/vet 100.480s
:

Does this issue reproduce with the latest release (go1.16.5)?

Maybe. Downloaded repo on 2 July of 2021. Cant tell until the build finishes.

FYI: apt-get gave me 11.1 but it stuggled being to old, so I decided to compile
latest and greatest on my own with official doc at https://golang.org/doc/install/source

I disabled the test by patching and ignoring linux / arm, what impact has this?

System details

go version go1.11.6 linux/arm
GOARCH="arm"
GOBIN=""
GOCACHE="/home/ethereum/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/ethereum/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go-1.11"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.11/pkg/tool/linux_arm"
GCCGO="gccgo"
GOARM="6"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
GOROOT/bin/go version: go version go1.11.6 linux/arm
GOROOT/bin/go tool compile -V: compile version go1.11.6
uname -sr: Linux 5.10.17-v7l+
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
/lib/arm-linux-gnueabihf/libc.so.6: GNU C Library (Debian GLIBC 2.28-10+rpi1) stable release version 2.28.
gdb --version: GNU gdb (Raspbian 8.2.1-2) 8.2.1
@dmitshur dmitshur added arch-arm Issues solely affecting the 32-bit arm architecture. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Linux labels Jul 2, 2021
@dmitshur dmitshur changed the title build from cloned repo failed on raspbian cmd/pprof: TestDisasm fails on raspbian Jul 2, 2021
@dmitshur dmitshur added this to the Backlog milestone Jul 2, 2021
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jul 7, 2022
@cherrymui
Copy link
Member

Looks similar to #56574, which is fixed in Go 1.20 onward. Closing for now. Feel free to reopen if this still happens. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm Issues solely affecting the 32-bit arm architecture. compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Linux
Projects
None yet
Development

No branches or pull requests

4 participants