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/compile: -clobberdeadreg failed on darwin/arm64 #49032

Closed
cuonglm opened this issue Oct 18, 2021 · 2 comments
Closed

cmd/compile: -clobberdeadreg failed on darwin/arm64 #49032

cuonglm opened this issue Oct 18, 2021 · 2 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@cuonglm
Copy link
Member

cuonglm commented Oct 18, 2021

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

$ go version
go version devel go1.18-cf51fb5d68 Sun Oct 17 04:27:13 2021 +0000 darwin/arm64

Does this issue reproduce with the latest release?

No

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

go env Output
$ go env

What did you do?

$ cat main.go
package main

import (
	"fmt"
)

func main() {
	fmt.Println("Hello, playground")
}
$ go run -gcflags=all=-clobberdeadreg main.go

What did you expect to see?

Run ok.

What did you see instead?

Run failed:

$ go run -gcflags=all=-clobberdeadreg main.go
signal: bus error

This starts failing since https://go-review.googlesource.com/c/go/+/350145

And also it does not cause trybot failed, because it seems that we don't have longtest builder for darwin/arm64.

cc @cherrymui @mdempsky

@cuonglm cuonglm added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Oct 18, 2021
@cherrymui
Copy link
Member

Thanks. I'll look into it.

@gopherbot
Copy link

Change https://golang.org/cl/358435 mentions this issue: cmd/compile: don't clobber LR for tail calls

@cuonglm cuonglm added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Oct 25, 2021
@golang golang locked and limited conversation to collaborators Oct 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants