Re: linux-next: build failure after merge of the slab tree

From: Pekka Enberg
Date: Thu Dec 09 2010 - 11:25:14 EST


On Thu, 2010-12-09 at 14:03 +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the slab tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> lib/built-in.o: In function `.zlib_inflate_blob':
> (.text+0x8640): undefined reference to `.kmem_cache_alloc_notrace'
>
> This build failure went away when I removed the lib directory from the
> object tree and rebuilt. So I guess we have an unexpressed dependency.

Did your config change from SLAB to SLUB or something?
lib/zlib_inflate/infutil.c includes <linux/slab.h> but if your config
changes, I'm guessing it doesn't work all that well if you change the
allocator because those tracing functions are in <linux/sl{a,u}b_def.h>.

Pekka

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/