Compiling of sys-kernel/openvz-sources-2.6.32.49.6 with SLUB enabled fails with error: proc.c:(.text+0x43e53): undefined reference to `slab_walk_ub' net/built-in.o: In function `ip_rt_dump_dsts': (.text+0x40737): undefined reference to `slab_obj_walk' net/built-in.o: In function `_ip6_rt_dump_dsts': route.c:(.text+0xa5a61): undefined reference to `slab_obj_walk' make: *** [.tmp_vmlinux1] Error 1 I think it fails because of unconditional call to slab_obj_walk in file net/ipv4/route.c in function ip_rt_dump_dsts. Reproducible: Always
I can confirm this on amd64
.config? Also if it's different from upstream provided then this is unsupported configuration (take a look at einfo at the end). Also use gcc-4.4 or hardened gcc.
Oh, and hardened gcc works here, but is not supported upstream...