We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get the following error when building for ARM64 & ARMV7 (Apple iOS Device) targets:
error: failed to run custom build command for croaring-sys v0.3.7 process didn't exit successfully: ~/Documents/GitHub/grin/target/release/build/croaring-sys-d06121a04b7f2071/build-script-build (exit code: 101) --- stdout TARGET = Some("aarch64-apple-ios") OPT_LEVEL = Some("3") HOST = Some("x86_64-apple-darwin") CC_aarch64-apple-ios = None CC_aarch64_apple_ios = None TARGET_CC = None CC = None CROSS_COMPILE = None CFLAGS_aarch64-apple-ios = None CFLAGS_aarch64_apple_ios = None TARGET_CFLAGS = None CFLAGS = None DEBUG = Some("false") Detecting iOS SDK path for iphoneos running: "cc" "-O3" "-fPIC" "-arch" "arm64" "-miphoneos-version-min=7.0" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk" "-fembed-bitcode" "-Wall" "-Wextra" "-std=c11" "-march=native" "-O3" "-o" "/Users/haoshenyang/Documents/GitHub/grin/target/aarch64-apple-ios/release/build/croaring-sys-c1c1e6f302648533/out/CRoaring/roaring.o" "-c" "CRoaring/roaring.c" cargo:warning=clang: error: the clang compiler does not support '-march=native' exit code: 1
croaring-sys v0.3.7
~/Documents/GitHub/grin/target/release/build/croaring-sys-d06121a04b7f2071/build-script-build
--- stderr thread 'main' panicked at '
Internal error occurred: Command "cc" "-O3" "-fPIC" "-arch" "arm64" "-miphoneos-version-min=7.0" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk" "-fembed-bitcode" "-Wall" "-Wextra" "-std=c11" "-march=native" "-O3" "-o" "/Users/haoshenyang/Documents/GitHub/grin/target/aarch64-apple-ios/release/build/croaring-sys-c1c1e6f302648533/out/CRoaring/roaring.o" "-c" "CRoaring/roaring.c" with args "cc" did not execute successfully (status code exit code: 1).
', /Users/haoshenyang/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.25/src/lib.rs:2260:5 note: Run with RUST_BACKTRACE=1 for a backtrace.
RUST_BACKTRACE=1
warning: build failed, waiting for other jobs to finish... error: build failed [ERROR cargo_lipo] Failed to build "grin_wallet" for "aarch64-apple-ios": Executing "/Users/haoshenyang/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo" "--color" "auto" "build" "-p" "grin_wallet" "--target" "aarch64-apple-ios" "--release" "--lib" finished with error status: exit code: 101
The text was updated successfully, but these errors were encountered:
It is solved ,see:mimblewimble/grin#2486
Sorry, something went wrong.
No branches or pull requests
I get the following error when building for ARM64 & ARMV7 (Apple iOS Device) targets:
error: failed to run custom build command for
croaring-sys v0.3.7
process didn't exit successfully:
~/Documents/GitHub/grin/target/release/build/croaring-sys-d06121a04b7f2071/build-script-build
(exit code: 101)--- stdout
TARGET = Some("aarch64-apple-ios")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-apple-darwin")
CC_aarch64-apple-ios = None
CC_aarch64_apple_ios = None
TARGET_CC = None
CC = None
CROSS_COMPILE = None
CFLAGS_aarch64-apple-ios = None
CFLAGS_aarch64_apple_ios = None
TARGET_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
Detecting iOS SDK path for iphoneos
running: "cc" "-O3" "-fPIC" "-arch" "arm64" "-miphoneos-version-min=7.0" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk" "-fembed-bitcode" "-Wall" "-Wextra" "-std=c11" "-march=native" "-O3" "-o" "/Users/haoshenyang/Documents/GitHub/grin/target/aarch64-apple-ios/release/build/croaring-sys-c1c1e6f302648533/out/CRoaring/roaring.o" "-c" "CRoaring/roaring.c"
cargo:warning=clang: error: the clang compiler does not support '-march=native'
exit code: 1
--- stderr
thread 'main' panicked at '
Internal error occurred: Command "cc" "-O3" "-fPIC" "-arch" "arm64" "-miphoneos-version-min=7.0" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk" "-fembed-bitcode" "-Wall" "-Wextra" "-std=c11" "-march=native" "-O3" "-o" "/Users/haoshenyang/Documents/GitHub/grin/target/aarch64-apple-ios/release/build/croaring-sys-c1c1e6f302648533/out/CRoaring/roaring.o" "-c" "CRoaring/roaring.c" with args "cc" did not execute successfully (status code exit code: 1).
', /Users/haoshenyang/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.25/src/lib.rs:2260:5
note: Run with
RUST_BACKTRACE=1
for a backtrace.warning: build failed, waiting for other jobs to finish...
error: build failed
[ERROR cargo_lipo] Failed to build "grin_wallet" for "aarch64-apple-ios": Executing "/Users/haoshenyang/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo" "--color" "auto" "build" "-p" "grin_wallet" "--target" "aarch64-apple-ios" "--release" "--lib" finished with error status: exit code: 101
The text was updated successfully, but these errors were encountered: