Bug 111922 - Kernel fails to build on i686
Summary: Kernel fails to build on i686
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel   
(Show other bugs)
Version: 1
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-12-11 17:15 UTC by Dave Miles
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-12-16 14:52:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Dave Miles 2003-12-11 17:15:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
At least Two problems currently prevent the Fedora core 1 kernel from 
building. Hardware platform is PII in HP Omnibook Xe2DB. I am using 
standard config for i686 from the configs directory having upgraded 
kernel source from up2date to 2129 version.

1) kernel/sched.c fails to compile reporting 'undefined reference to 

This is easily fixed by editing the code to move the offending line 
~217 outside the #ifdef, but seems to be a bit basic

2) Later a report of 'undefined reference to init_rootfs' is reported 
in function mnt_init

I realise I'm reporting two issues here, but there is a lot of 
discussion of this in a number of forums including some old 
references to similar problems on redhat versions. In several cases 
these were rejected as 'not a bug'. They definately are bugs, and I 
don't think I'm the only person experiencing them, so they should be 
either re-logged or re-opened.

Version-Release number of selected component (if applicable):
Kernel linux-2.4 ... 2129 nptl

How reproducible:

Steps to Reproduce:
1. Build kernel using the regular i686 config file

Actual Results:  Errors as described above

Expected Results:  Kernel should build

Additional info:

Comment 1 Arjan van de Ven 2003-12-11 17:19:16 UTC
did you start with make mrproper ?

Comment 2 Dave Miles 2003-12-11 17:30:05 UTC
Sequence to build was

make clean
make mrproper
copy standard config file file from configs directory to .config
make xconfig (here I make no changes just save and exit - also have 
repeated whole sequence using 'make config' and 'make menuconfig')
make dep
make bzImage

Comment 3 Arjan van de Ven 2003-12-11 17:34:00 UTC
make xconfig is broken; you need to do a make oldconfig after it...

Comment 4 Dave Miles 2003-12-12 12:05:26 UTC
Ok have run make oldconfig after make xconfig and the build now works 
ok. Have a working kernel, although interestingly its not __exactly__ 
the same (size) as the distributed one. Are you aware whether the 
distributed kernel is made from the distributed configs or from some 
other config file ? ps. I used kernel-2.4.22-i686.config as the base 
for my build.

Suggest if you have a mechanism to make the 'missing' oldconfig step 
more widely known you use it, it will save a lot of 'bad mouthing' of 
Fedora thats currently flying around on the web.

Thanks for the help

Comment 5 Arjan van de Ven 2003-12-12 12:09:22 UTC
we use that exact config (as you can see in the spec file). The size
difference can be due to the fact that the kernel builds the hostname
and date/time of build into itself (see the first line of dmesg) and
is then compressed, obviously different strings yield slightly
different compression results..

Comment 6 Dave Miles 2003-12-16 10:40:13 UTC
Ok, I think that's it for now. Thanks again

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