Bug 415241 - Can't compile kernel with CONFIG_SCHEDSTATS turned on
Summary: Can't compile kernel with CONFIG_SCHEDSTATS turned on
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Jason Baron
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-07 05:47 UTC by Tony Sceats
Modified: 2013-03-06 06:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 16:17:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tony Sceats 2007-12-07 05:47:38 UTC
Description of problem:

Can't compile kernel with CONFIG_SCHEDSTATS turned on

Version-Release number of selected component (if applicable): 
from source package

kernel-2.6.9-67.EL.src

How reproducible:
very

Steps to Reproduce:
1. edit /usr/src/redhat/SOURCES/kernel-2.6.9-x86_64*.config
2. change CONFIG_SCHEDSTAT=y 
3. rpmbuild --target=x86_64 -ba /usr/src/redhat/SPECS/kernel-2.6.spec
  
Actual results:
kernel/sched.c: In function `load_balance_newidle':
kernel/sched.c:2228: error: structure has no member named `lb_balanced'
kernel/sched.c: At top level:
kernel/sched.c:3122: warning: `interruptible_sleep_on' is deprecated (declared
at kernel/sched.c:3110)
kernel/sched.c:3156: warning: `sleep_on_timeout' is deprecated (declared at
kernel/sched.c:3142)
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....
arch/x86_64/kernel/mpparse.c: In function `MP_processor_info':
arch/x86_64/kernel/mpparse.c:178: warning: implicit declaration of function
`acpi_numa_setup_cpu'
arch/x86_64/kernel/mpparse.c: In function `MP_bus_info':
arch/x86_64/kernel/mpparse.c:186: warning: comparison is always false due to
limited range of data type
arch/x86_64/kernel/mpparse.c: In function `smp_read_mpc':
arch/x86_64/kernel/mpparse.c:363: warning: implicit declaration of function
`clustered_apic_check'
error: Bad exit status from /var/tmp/rpm-tmp.50548 (%build)


Expected results:

a compiled kernel with scheduler stats turned on

Additional info:

Comment 2 Jiri Pallich 2012-06-20 16:17:35 UTC
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.


Note You need to log in before you can comment on or make changes to this bug.