Navigation Menu

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/link: internal/fmtsort failed due to unresolved error #38107

Closed
shawndx opened this issue Mar 27, 2020 · 4 comments
Closed

cmd/link: internal/fmtsort failed due to unresolved error #38107

shawndx opened this issue Mar 27, 2020 · 4 comments
Labels
arch-arm64 FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@shawndx
Copy link
Contributor

shawndx commented Mar 27, 2020

What version of Go are you using (go version)?

$ go version
go version devel +69d3a34b17 Thu Mar 26 20:30:18 2020 +0000 linux/arm64

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_arm64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/root/xiaji01/go/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build890194427=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Ran into the issue when building the latest code base with all.bash, go binary could be built successfully but the testing of internal/fmtsort failed with the following errors:

# go test -run=. internal/fmtsort -v
# internal/fmtsort.test
syscall.Syscall: relocation target runtime.entersyscall not defined for ABI0 (but is defined for ABIInternal)
syscall.Syscall: relocation target runtime.exitsyscall not defined for ABI0 (but is defined for ABIInternal)
syscall.Syscall6: relocation target runtime.entersyscall not defined for ABI0 (but is defined for ABIInternal)
syscall.Syscall6: relocation target runtime.exitsyscall not defined for ABI0 (but is defined for ABIInternal)
FAIL    internal/fmtsort [build failed]
FAIL

What did you expect to see?

Testing passes without error.

What did you see instead?

Test failure.

@andybons andybons added arch-arm64 NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Mar 27, 2020
@andybons andybons modified the milestones: Unplanned, Go1.15 Mar 27, 2020
@andybons
Copy link
Member

@cherrymui
Copy link
Member

Are you saying this is part of all.bash? It doesn't seem to fail on the builder. And I couldn't reproduce it either by cross-compilation or on the ARM64 builder.

How do you reproduce it? How reproducible is it?

@shawndx
Copy link
Contributor Author

shawndx commented Mar 28, 2020

Hi @cherrymui, yes it's part of all.bash, and could be reproduced by "go test" as well.

So far it seems to be relevant to system environment as I ran into the problem on a new arm machine, with Ubuntu 18.04, only.

I'll ry to narrow down it.

@cherrymui cherrymui added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Mar 28, 2020
@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@golang golang locked and limited conversation to collaborators Apr 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants