Skip to content

cmd/compile: PPC64.rules for Zero are not checking alignment #21947

@rgdoliveira

Description

@rgdoliveira

System information

Go version: 1.9
OS: Alpine Linux 3.6 (but it is not an Alpine specific issue)
Architecture: ppc64le

Seems that PPC64.rules for Zero are not checking alignment in the cases when they should be.
I reproduced this issue when tried to compile geth project and it failed with error:

compile: invalid offset for DS form load/store 00056 (/home/rdutra/repos/aports/community/geth/src/go-ethereum-1.7.0/build/_workspace/src/github.com/ethereum/go-ethereum/eth/downloader/statesync.go:452) MOVD R0, "".~r2+33(FP)

Steps to reproduce the behaviour

Clone go-ethereum repository in a ppc64le distribution
run make (with go 1.9 installed)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions