Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409567 - sys-kernel/openvz-sources-2.6.32.49.6 - kernel/sched.c:10437:5: error: too many arguments to function ‘init_tg_cfs_entry’
Summary: sys-kernel/openvz-sources-2.6.32.49.6 - kernel/sched.c:10437:5: error: too ma...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 17:26 UTC by Alexander Zubkov
Modified: 2012-05-03 12:28 UTC (History)
3 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 17:26:55 UTC
Compilation of sys-kernel/openvz-sources-2.6.32.49.6 fails with error:
kernel/sched.c:10437:5: error: too many arguments to function ‘init_tg_cfs_entry’

Mentioned function call have 6 arguments and function definition in the same file have 5 arguments.
This piece of code gets enabled with CONFIG_FAIR_GROUP_SCHED && !CONFIG_CGROUP_SCHED && CONFIG_USER_SCHED.
Enabling CONFIG_CGROUP_SCHED instead of CONFIG_USER_SCHED "fixes" the problem.

Reproducible: Always
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2012-05-03 12:28:31 UTC
Here you are using unsupported .config.

Also use gcc-4.4 or hardened gcc. Note hardened gcc works here bug is not supported upstream.

Also you may try to report build issue upstream: http://bugzilla.openvz.org sometimes they fix bugs :)