-
Notifications
You must be signed in to change notification settings - Fork 62
Closed as not planned
Description
Hi, thank you for maintaining this project over the years.
I tried to build aarch64-unknown-linux-musl
target on amd64 Linux, but it fails at psm v0.1.21
.
$ export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc
$ cargo build -p prqlc --release --target=aarch64-unknown-linux-musl
Compiling cfg-if v1.0.0
Compiling once_cell v1.17.1
Compiling bitflags v1.3.2
Compiling linux-raw-sys v0.1.4
Compiling libc v0.2.140
Compiling utf8parse v0.2.1
Compiling lazy_static v1.4.0
Compiling memchr v2.5.0
Compiling concolor-override v1.0.0
Compiling concolor-query v0.3.3
Compiling anstyle v0.3.5
Compiling adler v1.0.2
Compiling gimli v0.27.2
Compiling serde v1.0.157
Compiling psm v0.1.21
Compiling pin-project-lite v0.2.9
error: failed to run custom build command for `psm v0.1.21`
Caused by:
process didn't exit successfully: `/workspaces/prql/target/release/build/psm-bd89755e99a601de/build-script-build` (exit status: 1)
--- stdout
OPT_LEVEL = Some("3")
TARGET = Some("aarch64-unknown-linux-musl")
HOST = Some("x86_64-unknown-linux-gnu")
cargo:rerun-if-env-changed=CC_aarch64-unknown-linux-musl
CC_aarch64-unknown-linux-musl = None
cargo:rerun-if-env-changed=CC_aarch64_unknown_linux_musl
CC_aarch64_unknown_linux_musl = None
cargo:rerun-if-env-changed=TARGET_CC
TARGET_CC = None
cargo:rerun-if-env-changed=CC
CC = None
RUSTC_LINKER = Some("aarch64-linux-gnu-gcc")
cargo:rerun-if-env-changed=CROSS_COMPILE
CROSS_COMPILE = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-musl
CFLAGS_aarch64-unknown-linux-musl = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_linux_musl
CFLAGS_aarch64_unknown_linux_musl = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("neon")
cargo:rustc-cfg=asm
cargo:rustc-cfg=switchable_stack
running: "aarch64-linux-musl-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wall" "-Wextra" "-xassembler-with-cpp" "-DCFG_TARGET_OS_linux" "-DCFG_TARGET_ARCH_aarch64" "-DCFG_TARGET_ENV_musl" "-o" "/workspaces/prql/target/aarch64-unknown-linux-musl/release/build/psm-9cc78c5eb0f1a15f/out/src/arch/aarch_aapcs64.o" "-c" "src/arch/aarch_aapcs64.s"
--- stderr
error occurred: Failed to find tool. Is `aarch64-linux-musl-gcc` installed?
warning: build failed, waiting for other jobs to finish...
I was wondering if this is a known limitation, as the aarch64-unknown-linux-musl
target does not seem to have been tested in this repository.
Metadata
Metadata
Assignees
Labels
No labels