Skip to content

cmd/compile/internal/ssa: failure of TestFmaHash #61192

@drhpc

Description

@drhpc

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

I am trying to build go 1.20.5 using a pre-built go 1.17.3 on a CentOS 7.9 system with Haswell CPUs.

# But really, this is about 1.20.5.
$ go version
go version go1.17.13 linux/amd64

Does this issue reproduce with the latest release?

Well … I am trying to bootstrap to the latest release …

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

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/sw/.cache/go-build"
GOENV="/home/sw/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/sw/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/sw/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/sw/env/system-gcc/go/1.17.13"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/sw/env/system-gcc/go/1.17.13/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.13"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/work/sw/tmpdir/go-build2415244413=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Basically

$ cd src
$ ./all.bash

What did you expect to see?

A completed build with all tests passing.

What did you see instead?

Building Go cmd/dist using /sw/env/system-gcc/go/1.17.13. (go1.17.13 linux/amd64)
Building Go toolchain1 using /sw/env/system-gcc/go/1.17.13.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for linux/amd64.

##### Test execution environment.
# GOARCH: amd64
# CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
# GOOS: linux
# OS Version: Linux 4.14.295-1.0.41.el7.rrz.x86_64 #1 SMP Wed Dec 14 00:03:35 CET 2022 x86_64

##### Testing packages.
ok  	archive/tar	0.246s
ok  	archive/zip	0.157s
ok  	bufio	0.082s
ok  	bytes	0.299s
[…]
ok  	cmd/compile/internal/ir	0.035s
ok  	cmd/compile/internal/logopt	0.318s
ok  	cmd/compile/internal/noder	0.067s
ok  	cmd/compile/internal/reflectdata	0.048s [no tests to run]
--- FAIL: TestFmaHash (6.39s)
    fmahash_test.go:45: /scratch/sw/work/system-gcc/go/1.20.5/go/bin/go build -o /work/sw/tmpdir/x2243797535/fma.exe testdata/fma.go
    fmahash_test.go:46: [GOCOMPILEDEBUG=fmahash=1/0 GOOS=linux GOARCH=arm64 HOME=/work/sw/tmpdir/x2243797535]
    fmahash_test.go:49: exit status 1
FAIL
FAIL	cmd/compile/internal/ssa	36.076s
ok  	cmd/compile/internal/syntax	0.089s
ok  	cmd/compile/internal/test	17.227s
ok  	cmd/compile/internal/typecheck	1.355s
ok  	cmd/compile/internal/types	0.049s
[…]
ok  	cmd/pprof	3.836s
ok  	cmd/trace	1.042s
ok  	cmd/vet	14.622s
FAIL
go tool dist: Failed: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions