-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/link: implement external linking support for ppc64/linux #8912
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
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
Comment 5 by [email protected]: There is a $1,200 bounty on this issue from IBM: https://www.bountysource.com/issues/5259148-cmd-9l-implement-external-linking-support-for-power64-linux |
Issue #9038 has been merged into this issue. |
aclements
added a commit
that referenced
this issue
Jan 16, 2015
This test requires external linking, but we don't yet implement external linking on ppc64 (tracked in issue #8912). Disable the test on ppc64 until external linking is implemented. This makes all.bash pass on ppc64le. Change-Id: I741498d4d9321607e7a65792a33faf8187bd18e4 Reviewed-on: https://go-review.googlesource.com/2908 Reviewed-by: Brad Fitzpatrick <[email protected]>
This was referenced Jan 25, 2016
nehaljwani
added a commit
to nehaljwani/go
that referenced
this issue
Jan 26, 2021
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 The existing filter [!exec:cc] skip is not sufficient in the case when CC is deliberately set to a file not meant to be executed while building the non cgo variant of Go
nehaljwani
added a commit
to nehaljwani/go
that referenced
this issue
Jan 26, 2021
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 The existing filter [!exec:cc] skip is not sufficient in the case when CC is deliberately set to a file not meant to be executed while building the non cgo variant of Go
nehaljwani
added a commit
to nehaljwani/go
that referenced
this issue
Jan 26, 2021
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 The existing filter [!exec:cc] skip is not sufficient in the case when CC is deliberately set to a file not meant to be executed while building the non cgo variant of Go
nehaljwani
added a commit
to nehaljwani/go
that referenced
this issue
Jan 26, 2021
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
nehaljwani
added a commit
to nehaljwani/go
that referenced
this issue
Jan 26, 2021
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
nehaljwani
added a commit
to nehaljwani/go
that referenced
this issue
Jan 26, 2021
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
nehaljwani
added a commit
to nehaljwani/go
that referenced
this issue
Jan 27, 2021
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
gopherbot
pushed a commit
that referenced
this issue
Jan 27, 2021
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 <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
rahilarious
added a commit
to rahilarious/gentoo
that referenced
this issue
Mar 20, 2024
Upstream Issue: golang/go#8912 Closes: https://bugs.gentoo.org/925111 Signed-off-by: Rahil Bhimjiani <[email protected]>
rahilarious
added a commit
to rahilarious/gentoo
that referenced
this issue
Mar 21, 2024
Upstream Issue: golang/go#8912 Closes: https://bugs.gentoo.org/925111 Signed-off-by: Rahil Bhimjiani <[email protected]>
rahilarious
added a commit
to rahilarious/gentoo
that referenced
this issue
Mar 22, 2024
Upstream Issue: golang/go#8912 Closes: https://bugs.gentoo.org/925111 Signed-off-by: Rahil Bhimjiani <[email protected]>
rahilarious
added a commit
to rahilarious/gentoo
that referenced
this issue
Mar 22, 2024
Upstream Issue: golang/go#8912 Closes: https://bugs.gentoo.org/925111 Signed-off-by: Rahil Bhimjiani <[email protected]>
gentoo-bot
pushed a commit
to gentoo/gentoo
that referenced
this issue
Mar 23, 2024
Upstream Issue: golang/go#8912 Closes: https://bugs.gentoo.org/925111 Signed-off-by: Rahil Bhimjiani <[email protected]> Signed-off-by: Sam James <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
The text was updated successfully, but these errors were encountered: