Skip to content
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

Compilation fails with clang 4.0 #20

Open
TheZoq2 opened this issue Apr 22, 2017 · 0 comments
Open

Compilation fails with clang 4.0 #20

TheZoq2 opened this issue Apr 22, 2017 · 0 comments

Comments

@TheZoq2
Copy link

TheZoq2 commented Apr 22, 2017

The latest version of clang in the arch repos is 4.0.0-1 and it looks like this crate doesn't build with 4.x

Installing the clang35 package solves the issue but doesn't seem like a permanent solution

Here is the error I get when running running xargo build --release --target thumbv7em-none-eabi

   Compiling teensy3-sys v0.2.0 (file:///home/frans/Documents/rust/teensy/teensy3-rs/teensy3-sys)
error: failed to run custom build command for `teensy3-sys v0.2.0 (file:///home/frans/Documents/rust/teensy/teensy3-rs/teensy3-sys)`
process didn't exit successfully: `/home/frans/Documents/rust/teensy/teensy3-rs-demo/target/release/build/teensy3-sys-8737b26dc3cae50b/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-search=native=/home/frans/Documents/rust/teensy/teensy3-rs-demo/target/thumbv7em-none-eabi/release/build/teensy3-sys-c33b386d55ea816e/out
cargo:rustc-link-lib=static=teensyduino

--- stderr
arm-none-eabi-ar: `u' modifier ignored since `D' is the default (see `U')
thread 'main' panicked at 'Unable to find libclang: "the `libclang` shared library could not be opened: /usr/lib/libclang.so"', /checkout/src/libcore/result.rs:859
note: Run with `RUST_BACKTRACE=1` for a backtrace.

make: *** [Makefile:2: build] Error 101

This is after performing the steps needed to get teensy 3.5 compilation working #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant