-
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: windows 386 compile crashes #16674
Comments
Can you try using the 64-bit compiler to make a 32-bit binary? Set the Marking as Go1.8 since this is not a regression in 1.7. |
Also, can you please provide the complete output of the "go env" as the template requests? (Assuming that doesn't itself crash.) Thanks. |
SOLUTION
I tested by recompiling a database app with and without the Thanks for the tip, @quentinmit. |
Here's the
|
Closing issue |
I'm glad the workaround worked for you, but we'd still like to find out if there is something wrong with the 386 Go binaries. Can you see if the 1.7rc6 386 binaries also crash on your machine? |
What version of Windows are you using? I could not reproduce it on my Windows 10. |
I'll test if 1.7rc6 works. Running on Windows 7 Enterprise (64-bit). |
Plot thickens... I downloaded 1.7rc6 386 binaries and attempted to compile a couple programs (both simple and complex). Here' s error message:
Hope this helps. |
I suspect that $GOROOT doesn't match newly installed location. |
"I suspect that $GOROOT doesn't match newly installed location." As previously stated, I do not have admin rights on this computer, thus am unable to set system environments (aside from an annoying I use binaries on this computer, thus building via Please see above for |
Your |
That's probably the output from the 64-bit binary (original issue was with 386; I'll change above comment when I have a chance). Since I'm using binaries, |
Did you extract zip file to C:\Go? |
Yes, extracted from zip. |
Are you using an unix-like shell? |
(I can't see |
|
Hmm, does $GOTOOLDIR exist on filesystem? (e.g "C:\Go\pkg\tool\windows_386") |
Yep, that folder exists |
can you invoke |
@hirochachacha, are you able to replicate the error messages? |
I can replicate I cannot replicate Because two error messages indicate different issue. |
go version
)? 1.6.3 x386 (although no issue for older versions like 1.3.3 x386; no issues for 64-bit version of 1.6.3). Unfortunately, circumstances require that I use 32-bit in order to connect to legacy database...go env
)?Windows 64, however I have to use x386 version of Go due to legacy database that is 32-bit
Tried to compile a simple program (like "hello world" simple). Since I don't have admin rights on this machine, had to download / use binary Go compiler. So, I have to build with a command like
c:\go\bin\go.exe build
. This has worked with previous versions of Go. Here's the error message I get when I try building :go build command-line-arguments: c:\go\pkg\tool\windows_386\compile.exe: exit status 1073741855
No error
Using version 1.6:
go build command-line-arguments: c:\go\pkg\tool\windows_386\compile.exe: exit status 1073741855
Take away: There is some issue with Windows x386 version that did not exist previously. Thanks!
The text was updated successfully, but these errors were encountered: