Cross-compiling and configure.ac macros

Jason Evans jasone at canonware.com
Fri Apr 15 09:20:51 PDT 2011


On 04/15/2011 06:48 AM, Andreas Vinsander wrote:
> Yes, the STATIC_PAGE_SHIFT test.
> Shouldn't that be possible to find out in runtime. Or is that what
> --enable-dynamic-page-shift is doing? In that case shouldn't the
> configure.ac script ignore the STATIC_PAGE_SHIFT if
> --enable-dynamic-page-shift was specified?

There are read-only data structures that depend on STATIC_PAGE_SHIFT 
even if --enable-dynamic-page-shift is specified, so STATIC_PAGE_SHIFT 
still needs to be set (even if the value happens to be wrong).

Thanks,
Jason



More information about the jemalloc-discuss mailing list