-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
runtime: Encountering strange build stack trace when running go build #16627
Comments
Can you please post the full output from the first failure. On Sun, Aug 7, 2016 at 9:52 AM, Zack Zatkin-Gold [email protected]
|
Yes, I've attached it at the bottom. Not sure what happened to my clipboard, but it's there now. |
Looks like your test program is crashing, you can confirm this with
This is most likely due to a data race, which can be verified with
or
|
How does adding the
|
This isn't a failure in go build as the title suggests. I agree with Dave that this is probably a test failure due to a race. Closing until there's something we can do. |
Oh this is in the linker. Just read the stack. |
Can you try Go 1.7? |
Did you recently upgraded to the macos Sierra beta? On Sun, 7 Aug 2016, 10:32 Brad Fitzpatrick [email protected] wrote:
|
@bradfitz: No problem - it is Saturday. 😄 I upgraded to Go 1.7rc5 using @davecheney: Yep, I'm on macOS Sierra (10.12 Beta). |
Your Brew instance is 1.6.3, I think that doesn't have the fix. I recommend switching to the official release from golang.org. On Sun, 7 Aug 2016, 10:39 Zack Zatkin-Gold [email protected] wrote:
|
Which commit on golang/go has the fix? |
It's in 1.7rc5, it's not been backported to other branches yet sorry. On Sun, 7 Aug 2016, 10:46 Zack Zatkin-Gold [email protected] wrote:
|
If this was fixed in Go 1.7rc5, then I suppose the issue can be closed. |
Please answer these questions before submitting your issue. Thanks!
go version
)?Go version go1.6.3 darwin/amd64
go env
)?If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
I tried to run
go build gitHub.com/sn/service/router
and a huge stack trace spit out. After running the command again, it was successful without any issues.I expected to see the build succeed without any issues on the internals of Go itself.
I saw a stack trace that was unrecognizable.
Is there some kind of caching mechanism involved that has to be cleared? When I run
go clean
and then try doinggo build
again, things build fine.Here is the stack trace:
The text was updated successfully, but these errors were encountered: