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
Milestone

Comments

@cuonglm
Copy link
Member

@cuonglm 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

@cherrymui
Copy link
Contributor

@cherrymui cherrymui commented Oct 18, 2021

Thanks. I'll look into it.

Loading

@gopherbot
Copy link

@gopherbot gopherbot commented Oct 25, 2021

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

Loading

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

Successfully merging a pull request may close this issue.

None yet
3 participants