Skip to content

go.tools/cmd/ssadump not gettable on windows 7 following change in location of ssa directory #7166

@gopherbot

Description

@gopherbot

by Elliott.Stoneham:

What steps will reproduce the problem?
go get -v code.google.com/p/go.tools/cmd/ssadump

What is the expected output?
ssadump installs

What do you see instead?
code.google.com/p/go.tools (download)
package code.google.com/p/go.tools/ssa
        imports code.google.com/p/go.tools/ssa
        imports code.google.com/p/go.tools/ssa: cannot find package "code.google.com/p/go.tools/ssa" in any of:
        C:\Go\src\pkg\code.google.com\p\go.tools\ssa (from $GOROOT)
        C:\Users\Elliott\Documents\GOPATH\src\code.google.com\p\go.tools\ssa (fr
om $GOPATH)

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

Which operating system are you using?
Win7 32-bit

Which version are you using?  (run 'go version')
go1.2 windows/386

Please provide any additional information below.
The issue probably relates to change of location of ssa directories.
I do not see this issue on OSX or Ubuntu, it only relates to the win7 version of
go.tools/go/ssa/interp, having commented that out, my project
(http://tardisgo.github.io) works fine again on Win7. 
For my work-around see https://github.com/tardisgo/tardisgo/blob/master/ssadump_copy.go

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions