]> Cypherpunks repositories - gostls13.git/commit
cmd/go: update gcc version check for asan support on ppc64le
authorArchana R <aravind5@in.ibm.com>
Thu, 29 Sep 2022 14:53:18 +0000 (09:53 -0500)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Tue, 4 Oct 2022 17:19:12 +0000 (17:19 +0000)
commitfeed072b6ed002a0085f3c6152c039b84134d38e
tree8b9d62f639c26bd4f6de486730d0efcb51ebd2cf
parentfa463cc96d797c218be4e218723f83be47e814c8
cmd/go: update gcc version check for asan support on ppc64le

Update the minimum version required for asan to be gcc9.
This will ensure that go build -asan is supported only on
systems with the required version of gcc. Update the asan
error message to include the name of the compiler (the
error message is updated to include the name of the compiler
instead of C compiler for other platforms as well).

Related to CL 425355

Change-Id: Ib864d43b2b3028f39ffcf792890a678361f507f6
Reviewed-on: https://go-review.googlesource.com/c/go/+/436740
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Archana Ravindar <aravind5@in.ibm.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/go/internal/work/init.go
src/cmd/go/testdata/script/install_msan_and_race_and_asan_require_cgo.txt