ade-ma / A20Notes

Configuration tidbits and automation experiments for Linux on A20.
1 stars 0 forks source link

Rust issues to fix at compile time. #5

Closed itdaniher closed 10 years ago

itdaniher commented 10 years ago

"For android, we provide the +v7 feature by default in order to allow LLVM to lower these 64-bit atomics to actual instructions. If you compile with -C target-feature=+v7 then it shouldn't make a function call to __kernel_cmpxchg64."

This should fix the

A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper) Aborted

message we currently get using Luqman's Feb10 build on the RK3188.

itdaniher commented 10 years ago

@Luqmana Have you run into this? Any chance you could put another build at http://luqman.ca/rust-builds? Thanks!

itdaniher commented 10 years ago

cross compiling may be resolved with https://github.com/itdaniher/rust/commit/f568720c99d31e55145699ee0c4ecf65099abc40

itdaniher commented 10 years ago

whabamn,