compute_alloc_cache() isn't defined when STATIC_MODES is.