Fixes go1.21 error on i686 - runtime/cgo(.text): unknown symbol __stack_chk_fail_local in pcrel --- a/go/src/cmd/go/script_test.go +++ b/go/src/cmd/go/script_test.go @@ -285,6 +285,7 @@ var extraEnvKeys = []string{ "GO_TESTING_GOTOOLS", // for gccgo testing "GCCGO", // for gccgo testing "GCCGOTOOLDIR", // for gccgo testing + "CGO_CFLAGS", // for working around "unknown symbol __stack_chk_fail_local" error on x86 } // updateSum runs 'go mod tidy', 'go list -mod=mod -m all', or