-
Notifications
You must be signed in to change notification settings - Fork 29
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
failed to run custom build command for libloading v0.5.2
#3
Comments
Could you provide the relevant output of |
Thanks @ryanleh. My system information is: I tried Compiling base_conversion v0.1.0 (https://github.com/pratyush/fancy-garbling/?branch=add-serde#848216e1) Compiling ocelot v0.3.1 (https://github.com/GaloisInc/ocelot/#849883b8) Caused by: I'm new to Rust, feel free to ask me any other information you need. |
I wasn't able to reproduce this. I launched a fresh Ubuntu 16.04 image and was able to build everything without encountering either of these errors. Could you post the output of |
Here is the output of
|
I tried
|
Yes, so it appears that the two libraries that failed compilation were trying to build with AVX2 instructions (note rust attempts to build them with Awesome! Those warnings are fine. |
$ cargo +nightly build --release
Compiling libz-sys v1.0.25
Compiling openssl-sys v0.9.58
Compiling clear_on_drop v0.2.4
Compiling bzip2-sys v0.1.9+1.0.8
Compiling libloading v0.5.2
Compiling base_conversion v0.1.0 (https://github.com/pratyush/fancy-garbling/?branch=add-serde#848216e1)
Compiling ocelot v0.3.1 (https://github.com/GaloisInc/ocelot/#849883b8)
Compiling serde_derive v1.0.114
Compiling failure_derive v0.1.8
Compiling derivative v1.0.4
error: failed to run custom build command for
libloading v0.5.2
Caused by:
process didn't exit successfully:
/home/sll/allensll/github/delphi-master/rust/target/release/build/libloading-029bfaded5ec1968/build-script-build
(signal: 4, SIGILL: illegal instruction)--- stdout
cargo:rustc-link-lib=dl
warning: build failed, waiting for other jobs to finish...
error: build failed
The text was updated successfully, but these errors were encountered: