Bug 114366

Summary: 'make modules' fails with strange compiler error when compiling custom kernel
Product: [Fedora] Fedora Reporter: starlight
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 14:00:57 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
'make depend' output
'make bzImage' output
'make modules' output
output from 'rpm -qa' none

Description starlight 2004-01-27 07:11:56 EST
From Bugzilla Helper:

Description of problem:
Compiling custom kernel.  Configuration file is attached below.  
'drivers/block/loop.c' fails with bizarre error that may be a compiler 

/usr/src/linux-2.4.22-1.2149.nptl/include/asm/processor.h:60: field 
`loops_per_jiffy_R_ver_str' declared as a function

Referenced line appears thus in gcc32 -E output:

   unsigned long loops_per_jiffy_R_ver_str(ba497f13);

Original looks like this:

   unsigned long loops_per_jiffy;

Can't find any #define macros that come close to causing this.

Version-Release number of selected component (if applicable):
kernel-source-2.4.22-1.2149.nptl, gcc32-3.2.3-6, gcc-3.3.2-1

How reproducible:

Steps to Reproduce:
cd /usr/src/linux-2.4.22-1.2149.nptl
make config
make dep
make bzImage
make modules
Comment 1 starlight 2004-01-27 07:16:44 EST
Created attachment 97271 [details]
Comment 2 starlight 2004-01-27 07:18:03 EST
Created attachment 97272 [details]
'make depend' output
Comment 3 starlight 2004-01-27 07:18:45 EST
Created attachment 97273 [details]
'make bzImage' output
Comment 4 starlight 2004-01-27 07:19:22 EST
Created attachment 97274 [details]
'make modules' output
Comment 5 starlight 2004-01-27 07:21:59 EST

Same thing happens with original Fedora base images from 11/2003 and 
with system patched to latest version.
Comment 6 starlight 2004-01-27 07:24:25 EST
Created attachment 97275 [details]
output from 'rpm -qa'
Comment 7 starlight 2004-01-28 06:43:35 EST
I just successfully downloaded and custom-built kernel
2.6.1 from kernel.org.  Just had to remove kudzu from
the rc starups and it works great.

Don't care about this bug anymore.
Comment 8 Dave Jones 2004-06-19 11:33:09 EDT

*** This bug has been marked as a duplicate of 126342 ***
Comment 9 Red Hat Bugzilla 2006-02-21 14:00:57 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.