Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409573 - sys-kernel/openvz-sources-2.6.32.49.6 with CONFIG_SLUB - proc.c:(.text+0x43e53): undefined reference to `slab_walk_ub'
Summary: sys-kernel/openvz-sources-2.6.32.49.6 with CONFIG_SLUB - proc.c:(.text+0x43e5...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 18:13 UTC by Alexander Zubkov
Modified: 2012-05-03 12:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...