Use more generic test for 64 bits platform. Index: libbf.h --- libbf.h.orig +++ libbf.h @@ -27,7 +27,7 @@ #include #include -#if defined(__x86_64__) +#if defined(__LP64__) #define LIMB_LOG2_BITS 6 #else #define LIMB_LOG2_BITS 5