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 <[email protected]> wrote:
> 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 <[email protected]> wrote:
>>
>> 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 Daniher <[email protected]>
>> wrote:
>> > 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 know the root cause of this issue?
>> >
>> > Thanks!
>> > --
>> > Ian
>> >
>> > _______________________________________________
>> > Rust-dev mailing list
>> > [email protected]
>> > https://mail.mozilla.org/listinfo/rust-dev
>> >
>
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to