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: branch too far on arm64 #17925

Closed
dvyukov opened this issue Nov 15, 2016 · 4 comments
Closed

cmd/compile: branch too far on arm64 #17925

dvyukov opened this issue Nov 15, 2016 · 4 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Nov 15, 2016

go version devel +b687d6a Tue Nov 15 05:35:54 2016 +0000 linux/amd64

Compilation of this file crashes on arm64:
https://gist.githubusercontent.com/dvyukov/85c7fa1b78b89ae2a16b27c3d681653f/raw/94b1ba106e5d748ab4b0efc8cbecc14b240f49fe/gistfile1.txt

$ GOARCH=arm64 compile sys_amd64.go
sys_amd64.go:20611: branch too far 0xc9579 vs 0x40000 [0x0]
00180 (/tmp/sys_amd64.go:1780)	CBNZW	R2, 3298968
3298968 (/tmp/sys_amd64.go:1780)	MOVD	R0, 8(RSP)

amd64 works fine.

@dvyukov
Copy link
Member Author

dvyukov commented Nov 15, 2016

@matt2909

@bradfitz
Copy link
Contributor

@cherrymui, can you triage for Go 1.8 vs Go 1.9?

@cherrymui
Copy link
Member

The bug is introduced in b662e52. Marked as Go 1.8. Will try to make a fix.

@cherrymui cherrymui added this to the Go1.8 milestone Nov 15, 2016
@cherrymui cherrymui added the NeedsFix The path to resolution is known, but the work has not been done. label Nov 15, 2016
@gopherbot
Copy link

CL https://golang.org/cl/33304 mentions this issue.

@golang golang locked and limited conversation to collaborators Nov 16, 2017
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

4 participants