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/compile: internal compiler error: cannot export NONAME (2) node #20682
Comments
/cc @laboger |
I've tried 2 times in a row to clone that repo openshift, in order to try to reproduce and isolate the issue but git has bailed out $ git clone https://github.com/openshift/origin.git
Cloning into 'origin'...
remote: Counting objects: 273625, done.
remote: Compressing objects: 100% (68/68), done.
error: RPC failed; curl 56 SSLRead() return error -36 661.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Emmanuels-MacBook-Pro-2:openshift emmanuelodeke$ git clone https://github.com/openshift/origin.git
Cloning into 'origin'...
remote: Counting objects: 273625, done.
remote: Compressing objects: 100% (68/68), done.
error: RPC failed; curl 56 SSLRead() return error -36 695.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed |
Assigning to @griesemer per his request:
|
The compiler also first printed two undefined symbol errors:
Normally, undefined symbols would prevent us from even getting to writing out the object file. But oddly, here we're emitting undefined symbol errors against the imported package's source files. Waiting for git to finish cloning the openshift repo. (650MB downloaded so far.) |
This appears to be due to CL 36170. If I revert CLs 45817 and 36170 (plus adjustments for splitting out package types from package gc), package options builds again. I'm leaning towards just doing that for 1.9. CL 36170 was supposed to be a simple code cleanup, but it's turned out to have some subtle consequences. |
CL https://golang.org/cl/45911 mentions this issue. |
Minimal reconstruction of reported failure case. Manually verified that test fails with CL 45911 reverted. Change-Id: Ia5d11500d91b46ba1eb5d841db3987edb9136c39 Reviewed-on: https://go-review.googlesource.com/45970 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Robert Griesemer <gri@golang.org>
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +ff07486 Thu Jun 15 04:17:30 2017 +0000 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
Make all should work fine without any issues and should be able generate all the openshift binaries but throwing the error
What did you see instead?
The text was updated successfully, but these errors were encountered: