Martynas Pumputis
Martynas Pumputis
:wave: @swastik959 Any update on the issue?
Thanks for asking, but unfortunately no progress. We would love to see a contribution for it.
Thanks. The last bit is to replace gcc with clang for arm64 in `local-release.sh`.
https://stackoverflow.com/questions/51475992/cgo-cross-compiling-from-amd64linux-to-arm64linux might help.
Could we use a clang cross-compiler for arm64? https://clang.llvm.org/docs/CrossCompilation.html
> building fine with cc=aarch64-unknown-linux-gnu Is it GCC or Clang?
In order to cross compile with Clang, you need to set `--target`. Try setting it via `CFLAGS="--target=aarch64-unknown-linux"` when compiling with Cgo.
Maybe try this hack `CC="clang --target=aarch64-unknown-linux" ...`.
@devidasjadhav :wave: any update on this PR?
@devidasjadhav I'm closing this PR due to inactivity. Please let me know if I need to reopen.