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: compiling with Go 1.5.1 breaks after doing "go build -i -gcflags '-N -l' -a" (nosplit stack overflow) #13354
Comments
Does it break without -N ? On Sun, Nov 22, 2015 at 9:20 AM, Shawn Burke notifications@github.com
|
Good question - nope, it does not so that appears to be key. |
I can reproduce this using Go 1.5. A quicker fix is to run I cannot reproduce this using the current dev branch, likely because we raised the stack limits again. There's a real problem here but likely not high enough priority for Go 1.6, given both the easy workaround and the fact that it's not happening anymore. |
I believe that the massive set of cmd/go caching changes for Go 1.10 by @rsc fix this issue. |
Actually, unsure. Because I just filed related #22797 which started failing at the content-based caching change. |
This is not reproducible now. The runtime is always built with optimization enabled, and so no more stack overflow. |
If I do
go build -i -gcflags "-N -l" -a
, I get stuck into this state with the following stack.-a
alone or-gcflags "-N -l"
is fine. But this combo gets me into this state so evengo build
will fail going forward...some binary is getting rebuilt in a bad way, can't figure out which one.I'm building this project: https://github.com/uber/tchannel-go/tree/master/thrift/thrift-gen.
If I
brew uninstall
,brew install
, thengo build
, it's fine until I run the above command again.I tried setting CGO_ENABLED=0, no change.
The text was updated successfully, but these errors were encountered: