[rust-dev] [rustc-f039d10] A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
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 Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] [rustc-f039d10] A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
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 explodingm...@gmail.com 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 Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] [rustc-f039d10] A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
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 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 explodingm...@gmail.com 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 Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] [rustc-f039d10] A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
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 explodingm...@gmail.com 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 a...@crichton.co 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 explodingm...@gmail.com 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 Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev