300x250 AD TOP

Search This Blog

Pages

Paling Dilihat

Powered by Blogger.

Thursday, July 31, 2014

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

A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
While porting multithreaded C++ code to Android, I've encountered this error: A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper) Origin: https://github.com/mirrors/gcc/blob/master/libgcc/config/arm/linux-atomic-64bit.c If you also encounter this issue, its important to understand all the elements involved in this error. It is part of gcc 4.7 and up it will fail below kernel 3.1, only then __kernel_cmpxchg64 was implemented The problem is that 64 bit atomic operation is implemented using the kernel on arm unless armv7 is used. Using arm instead of thumb will not solve your problem. Enabling arm v7 hard-float might solve...
Tags: , , , ,
Pages (12)1234567 ยป