cmd/asm: NOP function crashes asm when building for arm64 #20348
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +380aa884b8 Fri May 12 18:08:12 2017 +0000 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
I ran
GOARCH=arm64 go build
on anamd64
host machine.What did you expect to see?
I think the definition of ·stub is invalid, as it’s missing a
RET
instruction. Still, the assembler shouldn’t crash, should it?What did you see instead?
This issue is reproducible with go1.8.1.
The text was updated successfully, but these errors were encountered: