Hey All,
I'm attempting to run rustc on a 3.0.36 kernel. Within the last few weeks,
it started complaining about __kernel_cmpxchg64. Unfortunately, like many,
the systems on which I'd like to use Rust are beyond my control, so simply
upgrading the kernel's not an especially viable option.
Anyone
Are you targeting a platform other than x86? I recently added support
for 64-bit atomics on all platforms, and without the right cpu or
target feature set LLVM will lower them to intrinsic calls, and it's
possible that you're missing an intrinsic somewhere.
On Fri, Feb 14, 2014 at 9:48 AM, Ian
Targetting ARM hard float, v7 CPU.
Any ideas how to go about addressing this?
—
From My Tiny Glowing Screen
On Fri, Feb 14, 2014 at 10:20 AM, Alex Crichton a...@crichton.co wrote:
Are you targeting a platform other than x86? I recently added support
for 64-bit atomics on all platforms, and
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.
On Fri, Feb 14, 2014 at 10:31 AM, Ian Daniher