-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel windows
not known to work with OS gnu
#60
Comments
jafri
changed the title
Kernel
Kernel Nov 1, 2022
windows' not known to work with OS
gnu'windows
not known to work with OS gnu
@jafri Please provide some sort of sample program that reproduces this problem, along with the exact command used to compile it. A backtrace alone isn't enough to debug (cross) compilation problems 😃 |
@jafri This is a friendly reminder to please provide a way to reproduce this issue. Without it there's nothing we can do to help. |
Was not able to reproduce |
I have the same problem in apple M2: error: failed to run custom build command for `libffi-sys v2.3.0`
Caused by:
process didn't exit successfully: `/home/ub/target/release/build/libffi-sys-bac7e949b60e9201/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=CC_x86_64-pc-windows-gnu
CC_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_pc_windows_gnu
CC_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=TARGET_CC
TARGET_CC = Some("x86_64-w64-mingw32-gcc")
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
CFLAGS_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
CFLAGS_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
checking build system type... aarch64-unknown-linux-gnu
checking host system type...
--- stderr
Invalid configuration `x86_64-pc-windows-gnu': Kernel `windows' not known to work with OS `gnu'.
configure: error: /bin/bash ./config.sub x86_64-pc-windows-gnu failed
thread 'main' panicked at /home/ub/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-2eab394af869c8a2/libffi-sys-2.3.0/build/common.rs:8:5:
Configuring libffi
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace in config.toml
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On M1 Mac, running rust with target x86_64-pc-windows-gnu
Backtrace
The text was updated successfully, but these errors were encountered: