-
Notifications
You must be signed in to change notification settings - Fork 794
Build failure on aarch64-unkown-linux-musl cross compile #575
Comments
So far I've narrowed it down to the
|
Yes, the issue was with ENV OPENSSL_DIR=/usr/local/musl
ENV OPENSSL_STATIC=1 into ENV X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR=/usr/local/musl
ENV X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_STATIC=1
ENV AARCH64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR=/usr/local/musl
ENV AARCH64_UNKNOWN_LINUX_MUSL_OPENSSL_STATIC=1 and the Dockerfile builds correctly. |
Feel free to close this since my issue was solved and the root-cause was not ethers-rs. I'm leaving it open for the feature request to make |
great insight, thanks. |
Version
Platform
Docker
linux/arm64
rust:latest
cross compile toaarch64-unkown-linux-musl
uname -a
:Linux buildkitsandbox 5.10.47-linuxkit #1 SMP PREEMPT Sat Jul 3 21:50:16 UTC 2021 aarch64 GNU/Linux
Description
Dockerfile
docker build --platform linux/arm64 --progress plain .
It's probably a dependency with a broken
build.rs
, I'll dig into the (large!) dependency tree and see what is the root cause. It's pretty funny to seesigsetjmp
pop up here though :)The
x86_64
equivalent builds fine. (docker build --platform linux/amd64 --progress plain .
)The text was updated successfully, but these errors were encountered: