Skip to content
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

Missing zversion.go #16478

Closed
oldwo opened this issue Jul 23, 2016 · 1 comment
Closed

Missing zversion.go #16478

oldwo opened this issue Jul 23, 2016 · 1 comment

Comments

@oldwo
Copy link

oldwo commented Jul 23, 2016

  1. What version of Go are you using (go version)?
    go version go1.6.2 windows/386
  2. What operating system and processor architecture are you using (go env)?
    set GOARCH=386
    set GOBIN=
    set GOEXE=.exe
    set GOHOSTARCH=386
    set GOHOSTOS=windows
    set GOOS=windows
    set GOPATH=C:\WinProg\Go
    set GORACE=
    set GOROOT=C:\WinProg\Go
    set GOTOOLDIR=C:\WinProg\Go\pkg\tool\windows_386
    set GO15VENDOREXPERIMENT=1
    set CC=gcc
    set GOGCCFLAGS=-m32 -mthreads -fmessage-length=0
    set CXX=g++
    set CGO_ENABLED=1
  3. What did you do?
    Probably one of these caused my problem:

go clean
src\clean.bat

Now I have no clue how to get back zversion.go:

all.bat

Building Go bootstrap tool.

cmd/dist
go: open C:\WinProg\go\src\runtime\internal\sys\zversion.go: The system cannot find the file specified.

go get -tags tcl85 github.com/nsf/gothic

warning: GOPATH set to GOROOT (C:\WinProg\Go) has no effect
go: open C:\WinProg\Go\src\runtime\internal\sys\zversion.go: The system cannot find the file specified.

Now I need a way to get zversion.go back. Looking at src\cmd\dist\build.go , I cannot figure how to invoke func install(dir string) to exercise the gentab array (with a command line for the existing binaries). My Go tree comes directly from go1.6.2.windows-386.msi , on Windows7.

@davecheney
Copy link
Contributor

Hello,

Sorry you are having problems. It looks like you started with the binary
release of Go 1.6.2 and tried to rebuild it. This won't work and you should
reinstall the binary release to correct this.

If you want to build go from source you should start with the source
distribution.

Thanks

Dave

On Sat, 23 Jul 2016, 13:00 oldwo notifications@github.com wrote:

What version of Go are you using (go version)?
go version go1.6.2 windows/386
2.

What operating system and processor architecture are you using (go env
)?
set GOARCH=386
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\WinProg\Go
set GORACE=
set GOROOT=C:\WinProg\Go
set GOTOOLDIR=C:\WinProg\Go\pkg\tool\windows_386
set GO15VENDOREXPERIMENT=1
set CC=gcc
set GOGCCFLAGS=-m32 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
3.

What did you do?
Probably one of these caused my problem:

go clean
src\clean.bat

Now I have no clue how to get back zversion.go:

all.bat

Building Go bootstrap tool.

cmd/dist
go: open C:\WinProg\go\src\runtime\internal\sys\zversion.go: The system
cannot find the file specified.

go get -tags tcl85 github.com/nsf/gothic

warning: GOPATH set to GOROOT (C:\WinProg\Go) has no effect
go: open C:\WinProg\Go\src\runtime\internal\sys\zversion.go: The system
cannot find the file specified.

Now I need a way to get zversion.go back. Looking at
src\cmd\dist\build.go , I cannot figure how to invoke func install(dir
string) to execise the gentab array.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#16478, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcAxXhT_EpNUyeN8EyPcs5ap82fIChks5qYYPUgaJpZM4JTREU
.

@golang golang locked and limited conversation to collaborators Jul 23, 2017
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

4 participants