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

could not determine GOARCH and Go compiler #5

Open
Shahanewaz opened this issue Apr 2, 2021 · 3 comments
Open

could not determine GOARCH and Go compiler #5

Shahanewaz opened this issue Apr 2, 2021 · 3 comments

Comments

@Shahanewaz
Copy link

Shahanewaz commented Apr 2, 2021

I have the gocyto bash file in my gocyto directory. From that directory, I was using the following command:

./gocyto --out test.html directory-of-my-package

I got the error "failed packages load: could not determine GOARCH and Go compiler". When I checked for go env, I found that I have the following:

GOARCH="amd64"
GCCGO="gccgo"

@jonmather
Copy link

+1 to this

@NickLarsenNZ
Copy link

For macos, I had to build and install myself:

git clone git clone https://github.com/protolambda/gocyto.git /tmp/gocyto
pushd /tmp/gocyto

go build && go install

popd

Now I get panic: pointer analysis failed no main/test packages to analyze (check $GOROOT/$GOPATH), so checking out #7

@soluty
Copy link

soluty commented Sep 11, 2023

i also meet this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants