packetcrypt_rs icon indicating copy to clipboard operation
packetcrypt_rs copied to clipboard

ARM64 support

Open imreallyliam opened this issue 4 years ago • 4 comments

It appears your Sodium layer doesn't work with arm64 via cross-compilation, on my pi, I was able to compile Libsodium.

EDIT: included CC

  process didn't exit successfully: `/home/removed/packetcrypt_rs/target/release/build/packetcrypt-sys-cb1857f72f9301b7/build-script-build` (exit status: 101)
  --- stdout
  Looking for libsodium in /home/removed/packetcrypt_rs/target/aarch64-unknown-linux-gnu/release/build
  Found sodium.h in /home/removed/packetcrypt_rs/target/aarch64-unknown-linux-gnu/release/build/libsodium-sys-aefa16d2d6a25e4a/out/source/libsodium/src/libsodium/include
  TARGET = Some("aarch64-unknown-linux-gnu")
  HOST = Some("x86_64-unknown-linux-gnu")
  CC_aarch64-unknown-linux-gnu = None
  CC_aarch64_unknown_linux_gnu = None
  TARGET_CC = None
  CC = None
  CROSS_COMPILE = None
  CFLAGS_aarch64-unknown-linux-gnu = None
  CFLAGS_aarch64_unknown_linux_gnu = None
  TARGET_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = None

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: IOError, message: "No such file or directory (os error 2)" }', packetcrypt-sys/build.rs:101:42
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed```

imreallyliam avatar Jul 05 '21 17:07 imreallyliam

you was able to compile?

0z4 avatar Aug 12 '21 20:08 0z4

you was able to compile?

Only on the pi itself

imreallyliam avatar Aug 12 '21 20:08 imreallyliam

@xeu100 please share the steps or something

0z4 avatar Aug 18 '21 06:08 0z4

It's the same steps, but you do it on the pi itself.

imreallyliam avatar Aug 18 '21 11:08 imreallyliam