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: ICE: panic during late deadcode while compiling (*ServeMux).shouldRedirectRLocked #41770
Comments
Sounds like some sort of corruption happened. I don't see any way Even stranger, we got an error on How repeatable is this error? Can you get it to happen on two different machines? It would be nice to eliminate the machine itself. |
I don't have access to these builders. When I trigger a rebuild, it goes to another machine, which is an arm64 hardware. The log is https://buildd.debian.org/status/logs.php?pkg=packer&ver=1.6.4%2Bdfsg-2&arch=armhf I will try to see if I can get access to similar hardware. |
I find a machine which I can access, which has same CPU(Marvell Armada 370/XP CPU @ 1.6GHz on a Marvell MV78460 SoC Development Board (ARM v7)) https://db.debian.org/machines.cgi?host=abel |
Can't reproduce, make fails with:
Where does Answer: be sure |
FYI, my current repro attempt for compilation on arm64 ODroid Linux:
Cross compilation for cgo:
Environment variables for the make command:
Unfortunately it still fails with the linking error mentioned above, despite making the recommended change to Makefile:
Perhaps someone more familiar with the Makefile can help me along to the next roadblock. |
@dr2chase for direct call too far, try |
Successful build (i.e., sadly I failed to reproduce the failure) with the following diff to the Makefile, which may not all be necessary:
I notice that the failure actually occurs compiling part of net/http in go-1.15, so this ought to be happening rather more often.
(setting GOSSAHASH forces the compiler to run again) and then
but no failure. I retried the packer bug with the self-compiled compiler, no luck (i.e., it built). |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
When building packer on Debian armhf machines, we face an ICE.
https://buildd.debian.org/status/fetch.php?pkg=packer&arch=armhf&ver=1.6.4%2Bdfsg-2&stamp=1601746051&raw=0
It uses external link, other settings are standard.
We choose to use external link, because previously(when we still use go1.14) we meet link error, but it's another issue.
https://buildd.debian.org/status/fetch.php?pkg=packer&arch=armhf&ver=1.6.0%2Bdfsg-2&stamp=1594662885&raw=0
It's hard for me to reproduce locally and to write down a detailed issue, since it happens on an armhf machine, . But since it's an ICE, so I report here anyway, maybe you will know something from the trace.
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: