go tool: no such tool "6a" using btcutil.DecodeAddr

71 views
Skip to first unread message

Dan Dubois

unread,
Mar 1, 2014, 11:13:56 PM3/1/14
to google-ap...@googlegroups.com
I get the error message 'go tool: no such tool "6a"' when I try to use btcutil.DecodeAddr within an App Engine unit test. Any ideas why?

I am using go_appengine_sdk_darwin_amd64-1.9.0 and the following is an example of the code that won't compile or test using goapp -test.run="TestDecodeAddr"

func TestDecodeAddr(t *testing.T) {        
        _, err := btcutil.DecodeAddr("testaddr")
        if err != nil {
                t.Fatal(err)
        }
}

David Symonds

unread,
Mar 1, 2014, 11:16:08 PM3/1/14
to Dan Dubois, google-appengine-go
6a is the assembler, which shouldn't be involved unless a package has
assembly. I would guess that one of your app's dependencies has a .s
file, which is not permitted on App Engine.

Dan Dubois

unread,
Mar 1, 2014, 11:30:19 PM3/1/14
to google-ap...@googlegroups.com, Dan Dubois
Thanks for the quick response. Some assembly is being invoked. :-(

Dan Dubois

unread,
Mar 1, 2014, 11:42:02 PM3/1/14
to google-ap...@googlegroups.com, Dan Dubois
Just for information, the github.com/conformal/btcutil package depends on github.com/conformal/fastsha256 which has some assembly for amd64 architecture. I was able to remove the +build !amd64 instruction from the go code and it all worked.
Reply all
Reply to author
Forward
0 new messages