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

Makefile cross #627

Open
ucwong opened this issue Jul 1, 2020 · 10 comments
Open

Makefile cross #627

ucwong opened this issue Jul 1, 2020 · 10 comments
Assignees

Comments

@ucwong
Copy link
Member

ucwong commented Jul 1, 2020

make cortex-cross
It will be very useful to make this available, xgo

@DhunterAO
Copy link
Contributor

Compile golang for different platforms? Sounds cool !

@ucwong
Copy link
Member Author

ucwong commented Jul 3, 2020

Maybe use docker, I am also not familiar with it of crossing. It will be nice for you guys to do some investigation.
https://github.com/ethereum/go-ethereum/blob/master/Makefile#L58

@DhunterAO
Copy link
Contributor

Ok, I'll start the investigation after fixing the current bugs in test

@ucwong
Copy link
Member Author

ucwong commented Jul 3, 2020

Ok, I'll start the investigation after fixing the current bugs in test

Great, if there is some progress, you can create a PR related this issue

@ucwong
Copy link
Member Author

ucwong commented Jul 3, 2020

@ShadowErii ShadowErii pinned this issue Jul 4, 2020
@ShadowErii ShadowErii unpinned this issue Jul 4, 2020
@ucwong
Copy link
Member Author

ucwong commented Jul 4, 2020

the karalabe/xgo may not support go mod.
fixed : https://github.com/gythialy/xgo

Good, it seems that go-ethereum https://github.com/ethereum/go-ethereum/blob/master/build/ci.go#L1042 still use this repo, we need to take a further look.

karalabe/xgo#144
This PR related the go.mod issue for go.mod auto detecting, if it is necessary we can fork and merge this PR

@ucwong
Copy link
Member Author

ucwong commented Jul 10, 2020

Client:
 Version:           19.03.6
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        369ce74a3c
 Built:             Fri Feb 28 23:45:43 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          19.03.6
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       369ce74a3c
  Built:            Wed Feb 19 01:06:16 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.3.3-0ubuntu1~18.04.2
  GitCommit:        
 runc:
  Version:          spec: 1.0.1-dev
  GitCommit:        
 docker-init:
  Version:          0.18.0
  GitCommit: 

@ucwong
Copy link
Member Author

ucwong commented Jul 10, 2020

Go version:        go1.12.17 

Higher go version needed

build github.com/CortexFoundation/CortexTheseus/cmd/cortex: cannot load hash/maphash: malformed module path "hash/maphash": missing dot in first path element
2020/07/10 20:39:51 Failed to cross compile package: exit status 1.
util.go:45: exit status 1
exit status 1
Makefile:169: recipe for target 'cortex-linux-386' failed
make: *** [cortex-linux-386] Error 1

@ucwong
Copy link
Member Author

ucwong commented Jul 22, 2020

https://github.com/techknowlogick/xgo
recently updated

@github-actions
Copy link

Stale issue message

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

No branches or pull requests

3 participants