Skip to content

gomingw's goinstall fails. #2290

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

Closed
gopherbot opened this issue Sep 22, 2011 · 6 comments
Closed

gomingw's goinstall fails. #2290

gopherbot opened this issue Sep 22, 2011 · 6 comments

Comments

@gopherbot
Copy link
Contributor

by zippoxer:

Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull", "hg update default", rebuild, and
retry
what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1. Installing gomingw installer for build of release r60.1
2. Running goinstall.exe, even with no parameters.

What is the expected output?
You know that ;-)

What do you see instead?
throw: runtime: cannot reserve arena virtual address space

Which compiler are you using (5g, 6g, 8g, gccgo)?
8g

Which operating system are you using?
Windows 7

Which revision are you using?  (hg identify)
I ran "Installer for Win32 (experimental) build of release.r60.1"
(hd identify doesn't cooperate, sorry)

Please provide any additional information below.
@dupoxy
Copy link
Contributor

dupoxy commented Sep 22, 2011

Comment 1:

do this help ?
https://golang.org/issue/1826

@alexbrainman
Copy link
Member

Comment 2:

Issue #2289 has been merged into this issue.

@alexbrainman
Copy link
Member

Comment 3:

Some context from https://groups.google.com/d/topic/golang-nuts/zuLRF-d3LTs/discussion
>>>
I compiled Go using mingw on windows, and when running goinstall.exe I get:
throw: runtime: cannot reserve arena virtual address space
I also tried running the goinstall included in gomingw and got the same result.
<<<
The message you are seeing is result of VirtualAlloc function fails to reserve address
space.
I agree with [email protected], it could be security related:
https://golang.org/issue/1826
You could try and copy goinstall.exe into file with a different name:
C:\>cd \Go\bin
C:\Go\bin>copy goinstall.exe a.exe
        1 file(s) copied.
C:\Go\bin>a.exe
usage: goinstall importpath...
        goinstall -a
  -a=false: install all previously installed packages
  -clean=false: clean the package directory before installing
  -dashboard=true: report public packages at http://godashboard.appspot.com/pack
age
  -install=true: build and install
  -make=true: use make to build and install
  -nuke=false: clean the package directory and target before installing
  -u=false: update already-downloaded packages
  -v=false: verbose
C:\Go\bin>
If that works for you, then all solutions are listed here
https://golang.org/issue/1826
Alex

Labels changed: added os-windows.

Owner changed to @alexbrainman.

Status changed to WaitingForReply.

@gopherbot
Copy link
Contributor Author

Comment 4 by zippoxer:

It works, thank you :P
I don't mind typing a instead of goinstall at the moment.

@alexbrainman
Copy link
Member

Comment 5:

Executable with a name that contains "install" in it ...? Sounds dangerous to me :-)
Sorry, I still can't get over it.

Status changed to Duplicate.

Merged into issue #1826.

@gopherbot
Copy link
Contributor Author

Comment 6 by zippoxer:

Share that feeling with Windows, because I can't understand that :P
I think most "install" containing executables are friends.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants