-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: skip issue33139 when the 'cc' script command is unavailable #43912
Conversation
This PR (HEAD: d0e7925) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/286633 to see it. Tip: You can toggle comments from me using the |
Message from Ian Lance Taylor: Patch Set 1: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Go Bot: Patch Set 1: TryBots beginning. Status page: https://farmer.golang.org/try?commit=6e15e7f6 Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Go Bot: Patch Set 1: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Bryan C. Mills: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
d0e7925
to
51df6bd
Compare
This PR (HEAD: 51df6bd) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/286633 to see it. Tip: You can toggle comments from me using the |
51df6bd
to
502c3d6
Compare
This PR (HEAD: 502c3d6) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/286633 to see it. Tip: You can toggle comments from me using the |
502c3d6
to
d0af87e
Compare
This PR (HEAD: d0af87e) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/286633 to see it. Tip: You can toggle comments from me using the |
Message from Nehal J Wani: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Cherry Zhang: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Bryan C. Mills: Patch Set 4: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
d0af87e
to
4bc23bb
Compare
This PR (HEAD: 4bc23bb) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/286633 to see it. Tip: You can toggle comments from me using the |
4bc23bb
to
88f8e38
Compare
This PR (HEAD: 88f8e38) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/286633 to see it. Tip: You can toggle comments from me using the |
88f8e38
to
e24c5f6
Compare
This PR (HEAD: e24c5f6) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/286633 to see it. Tip: You can toggle comments from me using the |
Message from Nehal J Wani: Patch Set 7: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Bryan C. Mills: Patch Set 7: Run-TryBot+1 Code-Review+2 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Go Bot: Patch Set 7: SlowBots beginning. Status page: https://farmer.golang.org/try?commit=c1a85ab9 Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Go Bot: Patch Set 7: Build is still in progress... Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Go Bot: Patch Set 7: TryBot-Result-1 1 of 24 SlowBots failed: Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. SlowBot builds that ran:
Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Bryan C. Mills: Patch Set 7: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
With CGO disabled, the test suite tries to run the following and fail: CGO_ENABLED=0 go test -run=TestScript/link_syso_issue33139 cmd/go go test proxy running at GOPROXY=http://127.0.0.1:38829/mod --- FAIL: TestScript (0.01s) --- FAIL: TestScript/link_syso_issue33139 (0.01s) script_test.go:215: # Test that we can use the external linker with a host syso file that is # embedded in a package, that is referenced by a Go assembly function. # See issue 33139. (0.000s) # External linking is not supported on linux/ppc64. # See: golang#8912 (0.000s) # External linking is not supported on linux/riscv64. # See: golang#36739 (0.001s) > [linux] [riscv64] skip > cc -c -o syso/objTestImpl.syso syso/src/objTestImpl.c FAIL: testdata/script/link_syso_issue33139.txt:15: unexpected error starting command: fork/exec /dev/null: permission denied CC was set to /dev/null (during build) in the scenario mentioned above This patch replaces [!exec:cc] with [!cgo] because we care about the availability of the 'cc' builtin and not the 'cc' executable in $PATH
e24c5f6
to
3b74378
Compare
This PR (HEAD: 3b74378) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/286633 to see it. Tip: You can toggle comments from me using the |
Message from Nehal J Wani: Patch Set 8: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Bryan C. Mills: Patch Set 8: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Go Bot: Patch Set 8: SlowBots beginning. Status page: https://farmer.golang.org/try?commit=b6f1bca8 Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Go Bot: Patch Set 8: TryBot-Result+1 SlowBots are happy. SlowBot builds that ran:
Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
Message from Jay Conrod: Patch Set 9: Trust+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
With CGO disabled, the test suite tries to run the following and fail: CGO_ENABLED=0 go test -run=TestScript/link_syso_issue33139 cmd/go go test proxy running at GOPROXY=http://127.0.0.1:38829/mod --- FAIL: TestScript (0.01s) --- FAIL: TestScript/link_syso_issue33139 (0.01s) script_test.go:215: # Test that we can use the external linker with a host syso file that is # embedded in a package, that is referenced by a Go assembly function. # See issue 33139. (0.000s) # External linking is not supported on linux/ppc64. # See: #8912 (0.000s) # External linking is not supported on linux/riscv64. # See: #36739 (0.001s) > [linux] [riscv64] skip > cc -c -o syso/objTestImpl.syso syso/src/objTestImpl.c FAIL: testdata/script/link_syso_issue33139.txt:15: unexpected error starting command: fork/exec /dev/null: permission denied CC was set to /dev/null (during build) in the scenario mentioned above This patch replaces [!exec:cc] with [!cgo] because we care about the availability of the 'cc' builtin and not the 'cc' executable in $PATH Change-Id: Ifbd2441f5f8e903ca3da213aba76f44c2e2eebab GitHub-Last-Rev: 3b74378 GitHub-Pull-Request: #43912 Reviewed-on: https://go-review.googlesource.com/c/go/+/286633 Trust: Jay Conrod <jayconrod@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Message from Bryan C. Mills: Patch Set 9: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/286633. |
This PR is being closed because golang.org/cl/286633 has been merged. |
With CGO disabled, the test suite tries to run the following and fail:
CGO_ENABLED=0 go test -run=TestScript/link_syso_issue33139 cmd/go
go test proxy running at GOPROXY=http://127.0.0.1:38829/mod
--- FAIL: TestScript (0.01s)
--- FAIL: TestScript/link_syso_issue33139 (0.01s)
script_test.go:215:
# Test that we can use the external linker with a host syso file that is
# embedded in a package, that is referenced by a Go assembly function.
# See issue 33139. (0.000s)
# External linking is not supported on linux/ppc64.
# See: #8912 (0.000s)
# External linking is not supported on linux/riscv64.
# See: #36739 (0.001s)
> [linux] [riscv64] skip
> cc -c -o syso/objTestImpl.syso syso/src/objTestImpl.c
FAIL: testdata/script/link_syso_issue33139.txt:15:
unexpected error starting command:
fork/exec /dev/null: permission denied
CC was set to /dev/null (during build) in the scenario mentioned above
This patch replaces [!exec:cc] with [!cgo] because we care about the
availability of the 'cc' builtin and not the 'cc' executable in $PATH