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

Unable to build gocloc on raspberry pi #25

Open
mikemadden42 opened this issue Sep 12, 2019 · 2 comments
Open

Unable to build gocloc on raspberry pi #25

mikemadden42 opened this issue Sep 12, 2019 · 2 comments
Assignees

Comments

@mikemadden42
Copy link

I'm hitting this issue building gocloc on a raspberry pi.

$ uname -sr
Linux 4.19.55-Re4son-v8+

$ go version
go version go1.12.9 linux/arm64

$ GO111MODULE=on go get -u -ldflags "-s -w" github.com/hhatto/gocloc/cmd/gocloc
go: finding github.com/hhatto/gocloc/cmd/gocloc latest
go: finding github.com/hhatto/gocloc/cmd latest
go: finding gopkg.in/check.v1 latest
go build github.com/src-d/enry/v2/data: /usr/lib/go-1.12/pkg/tool/linux_arm64/compile: signal: killed
@hhatto
Copy link
Owner

hhatto commented Sep 12, 2019

What is model RaspberryPi?
(Zero? 3B+? 4B? etc...)

Is there enough memory resource?
Want to run on Raspi? If so, should you try cross-compiling?

@mikemadden42
Copy link
Author

Hi, here's the model:

Machine model: Raspberry Pi 3 Model B Plus Rev 1.3

$ free -m
              total        used        free      shared  buff/cache   available
Mem:            917         106          47           0         764         796
Swap:             0           0           0

@hhatto hhatto self-assigned this Nov 4, 2019
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

2 participants