Skip to content

Issue building zstd-sys on mips-unknown-linux-musl #1136

Discussion options

You must be logged in to vote

We might have to export AR_$target as an envvar. Pretty sure this is a bug. I'll open an issue and have a patch within the day. The issue as follows:

ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_LINKER="$CROSS_TOOLCHAIN_PREFIX"gcc.sh \
    CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_RUNNER="/qemu-runner mips" \
    CC_mips_unknown_linux_musl="$CROSS_TOOLCHAIN_PREFIX"gcc \
    CXX_mips_unknown_linux_musl="$CROSS_TOOLCHAIN_PREFIX"g++ \

We don't export AR_mips_unknown_linux_musl="$CROSS_TOOLCHAIN_PREFIX"ar, which cc-rs also uses. Most targets don't call the ar directly, but we should probably explicitly specify it for all targets.

I've created #1137 from this. Thanks for reporting. As a quick check, ca…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@brentalanmiller
Comment options

@Alexhuszagh
Comment options

Answer selected by Alexhuszagh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug container-images A-musl Area: musl libc targets A-mips Area: MIPS targets
2 participants