Skip to content

cmd/dist: bootstrap build failed on arm64 #39701

Description

@zhangfannie

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

$ go version
bootstrap go version:
go1.10.4 linux/arm64

Does this issue reproduce with the latest release?

Yes

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

go env Output
$ go env
GOARCH="arm64"
GOBIN=""
GOCACHE="/home/fanzha02/.cache/go-build"
GOEXE=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/fanzha02/go"
GORACE=""
GOROOT="/usr/lib/go-1.10"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.10/pkg/tool/linux_arm64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build855651681=/tmp/go-build -gno-record-gcc-switches"

What did you do?

./make.bash

What did you expect to see?

pass

What did you see instead?

bootstrap/cmd/compile/internal/ssa

asm: illegal combination: 00008 (/home/fanzha02/work/go_project/gomain/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/flags_arm64_test.s:32) TST R1, R0 REG REG NONE, 7 0
asm: illegal combination: 00008 (/home/fanzha02/work/go_project/gomain/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/flags_arm64_test.s:32) TST R1, R0 REG REG NONE, 7 0
asm: illegal combination: 00008 (/home/fanzha02/work/go_project/gomain/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/flags_arm64_test.s:32) TST R1, R0 REG REG NONE, 7 0
asm: 00008 (/home/fanzha02/work/go_project/gomain/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/flags_arm64_test.s:32) TST R1, R0: bad brr TST

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions