-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: conflicting package heights 4 and 3 for path "sync" #44337
Comments
Does this happen when using |
cc @mdempsky (who implemented the package height mechanism) |
Command:
works.
This command was automatically generated by our building system, when I tried to add P.S.: I've just tried to move
|
You need to either compile all packages with The recommended way to use the race detector is to use |
OK, this makes sense. Thank you for the clarification! |
No problem. I'm going to close the issue because I think this is working as intended. |
The only nitpicking here is: the error message is obscure. Though next users might find this discussion to get a proper answer here :) |
If I run a command without option
-race
it works.
If I add option
-race
it fails:Unfortunately I cannot share
main.go
, since it is under NDA. And if I try to minimizemain.go
(remove all NDA-code) then it stops failing.The text was updated successfully, but these errors were encountered: