[PATCH] Check for __builtin_ffsl before ffsl.

Jason Evans 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(-)

Integrated:

	https://github.com/jemalloc/jemalloc/commit/1a3eafd1b045163f27e4a5acf01280edfe28c309

Thanks,
Jason


More information about the jemalloc-discuss mailing list