Repository: go
Issue: cmd/go: TestScript/build_runtime_gcflags failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/build_runtime_gcflags"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8752464512141591953)):

    === RUN   TestScript/build_runtime_gcflags
    === PAUSE TestScript/build_runtime_gcflags
    === CONT  TestScript/build_runtime_gcflags
        script_test.go:136: 2024-03-25T20:06:11Z
        script_test.go:138: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-1083827265/tmpdir1707638126/build_runtime_gcflags2627728277
        script_test.go:160: 
            PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-1083827265/tmpdir1707638126/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
            HOME=/no-home
            CCACHE_DISABLE=1
            GOARCH=386
    ...
            EOF
            cd /home/swarming/.swarming/w/ir/x/t/cmd-go-test-1083827265/tmpdir1707638126/build_runtime_gcflags2627728277/gopath/src
            /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_386/compile -o $WORK/b287/_pkg_.a -trimpath "$WORK/b287=>" -p vendor/golang.org/x/sys/cpu -std -buildid LZFJchlfp1qLgTnIlmeo/LZFJchlfp1qLgTnIlmeo -symabis $WORK/b287/symabis -c=4 -l -nolocalimports -importcfg $WORK/b287/importcfg -pack -asmhdr $WORK/b287/go_asm.h /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/byteorder.go /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/cpu.go /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/cpu_x86.go /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/endian_little.go /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/hwcap_linux.go /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/parse.go /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/runtime_auxv.go /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu/runtime_auxv_go121.go
            cd /home/swarming/.swarming/w/ir/x/w/goroot/src/vendor/golang.org/x/sys/cpu
            /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_386/asm -p vendor/golang.org/x/sys/cpu -trimpath "$WORK/b287=>" -I $WORK/b287/ -I /home/swarming/.swarming/w/ir/x/w/goroot/pkg/include -D GOOS_linux -D GOARCH_386 -D GO386_sse2 -o $WORK/b287/cpu_x86.o ./cpu_x86.s
            /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_386/pack r $WORK/b287/_pkg_.a $WORK/b287/cpu_x86.o # internal
            /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_386/buildid -w $WORK/b287/_pkg_.a # internal
            > stderr 'compile.* runtime/internal/atomic .* -l'
        script_test.go:160: FAIL: testdata/script/build_runtime_gcflags.txt:11: stderr 'compile.* runtime/internal/atomic .* -l': no match for `(?m)compile.* runtime/internal/atomic .* -l` in stderr
    --- FAIL: TestScript/build_runtime_gcflags (4.27s)


— [watchflakes](https://go.dev/wiki/Watchflakes)