Skip to content

Conversation

@h8liu
Copy link

@h8liu h8liu commented Mar 24, 2021

GOARCH is target ARCH, and should be used for only compiling target binaries, not for downloading the golang compiler. The compiler needs to use HOST_ARCH instead.

@h8liu
Copy link
Author

h8liu commented Mar 24, 2021

btw, is the current way of building the rpi4 artifacts to be ARCH=arm64 make ?

@olljanat
Copy link
Member

I have build those on Raspberry so I'm not sure if that need something else but at least you need run commands:

make
make rpi64

Also note that kernel version on master only works with Rasberry 3. But version on this one works on Rpi4 too
https://github.com/burmilla/os/blob/feat/uefi-support/scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper

@olljanat olljanat merged commit 2ab4b23 into burmilla:master Mar 24, 2021
@h8liu
Copy link
Author

h8liu commented Mar 24, 2021

hmm.. okay. I thought it would support cross-compile. :)

@olljanat
Copy link
Member

I think that most of the parts are already supporting cross-compile but I haven't look (yet) that what are those missing parts.

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

Successfully merging this pull request may close these issues.

2 participants