[PATCH] Check for __builtin_ffsl before ffsl.
jasone at canonware.com
Tue Jun 3 21:57:30 PDT 2014
On Jun 3, 2014, at 8:09 PM, Mike Hommey <mh+jemalloc at glandium.org> wrote:
> When building with -O0, GCC doesn't use builtins for ffs and ffsl calls,
> and uses library function calls instead. But the Android NDK doesn't have
> those functions exported from any library, leading to build failure.
> However, using __builtin_ffs* uses the builtin inlines.
> configure.ac | 27 ++++++++++++++-------------
> 1 file changed, 14 insertions(+), 13 deletions(-)
More information about the jemalloc-discuss