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

runtime: aix/ppc64 builders failing with new on-demand gcmask #70527

Closed
randall77 opened this issue Nov 22, 2024 · 2 comments
Closed

runtime: aix/ppc64 builders failing with new on-demand gcmask #70527

randall77 opened this issue Nov 22, 2024 · 2 comments

Comments

@randall77
Copy link
Contributor

Go version

tip

Output of go env in your module/workspace:

AR='ar'
CC='clang'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='clang++'
GCCGO='gccgo'
GO111MODULE=''
GOARCH='arm64'
GOARM64='v8.0'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/Users/khr/Library/Caches/go-build'
GODEBUG=''
GOENV='/Users/khr/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/z9/dty110711l9cr9w3ktv1_2380000gn/T/go-build1049870315=/tmp/go-build -gno-record-gcc-switches -fno-common'
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMOD='/Users/khr/sandbox/tmp4/src/go.mod'
GOMODCACHE='/Users/khr/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/khr/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/Users/khr/sandbox/tmp4'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/khr/Library/Application Support/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/Users/khr/sandbox/tmp4/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='devel go1.24-a9dac07ffc Fri Nov 22 09:07:21 2024 -0800'
GOWORK=''
PKG_CONFIG='pkg-config'

What did you do?

Look at build.golang.org, the aix/ppc64 column. It's all red, as of https://go-review.googlesource.com/c/go/+/616255.
For instance, https://build.golang.org/log/f520a7726768292ddd7a1157b1f2f91a269f7a97

It is failing when trying to do an atomic operation. The address looks strange, probably it isn't mapped.
I suspect what is happening is that aix/ppc64 doesn't do relocations from the rodata section to the data section correctly. (I think I remember something like that from long ago in my brain, not sure.)

If an aix and/or ppc64 person can confirm, I can think about how we might fix it. It may be tricky.

@golang/aix @golang/ppc64

What did you see happen?

segfault

What did you expect to see?

no segfault

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Nov 22, 2024
@randall77 randall77 added OS-AIX arch-ppc64x and removed compiler/runtime Issues related to the Go compiler and/or runtime. labels Nov 22, 2024
@randall77 randall77 added this to the Go1.24 milestone Nov 22, 2024
@randall77
Copy link
Contributor Author

Whoops, dup of #70483.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants