Re: 2.6.21-rc7-mm2 -- PPC link failure

Andy Whitcroft
2007-04-26T13:41:05Z

Andy Whitcroft wrote:
> Getting a link failure on a ppc64 system:
>
> LD .tmp_vmlinux1
> init/built-in.o(.init.text+0x32e4): In function `.rd_load_image':
> : undefined reference to `.__kmalloc_size_too_large'
> fs/built-in.o(.text+0xa6fe0): In function `.ext3_fill_super':
> : undefined reference to `.__kmalloc_size_too_large'
> fs/built-in.o(.text+0xc1fe0): In function `.ext2_fill_super':
> : undefined reference to `.__kmalloc_size_too_large'
> fs/built-in.o(.text+0xf6a1c): In function `.nfs4_proc_lookup':
> : undefined reference to `.__kmalloc_size_too_large'
> fs/built-in.o(.text+0x104104): In function `.nfs_idmap_new':
> : undefined reference to `.__kmalloc_size_too_large'
> fs/built-in.o(.text+0x105520): more undefined references to
> `.__kmalloc_size_too_large' follow
> make: *** [.tmp_vmlinux1] Error 1

Ok, this is a SLUB related link failure. Am investigating if PPC simply
needs larger allocs and needs CONFIG_LARGE_ALLOCS, of if this is an
inlining issue.

-apw