Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 409573

Summary: sys-kernel/openvz-sources-2.6.32.49.6 with CONFIG_SLUB - proc.c:(.text+0x43e53): undefined reference to `slab_walk_ub'
Product: Gentoo Linux Reporter: Alexander Zubkov <zubkov318>
Component: [OLD] Core systemAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED NEEDINFO    
Severity: normal CC: non7top, vserver-devs+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Zubkov 2012-03-24 18:13:57 UTC
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
Comment 1 Vladimir Berezhnoy 2012-04-04 07:37:26 UTC
I can confirm this on amd64
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2012-05-03 12:25:41 UTC
.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.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2012-05-03 12:26:23 UTC
Oh, and hardened gcc works here, but is not supported upstream...