Bug 6616

Summary: MAINLINE build warnings during make modules
Product: Other Reporter: Tobias Powalowski (t.powa)
Component: ModulesAssignee: Alexey Dobriyan (adobriyan)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.17-rc5 Subsystem:
Regression: --- Bisected commit-id:
Attachments: kernel config file
warnings that appeared during make modules
warnings during make modules 2.6.18rc3-git5

Description Tobias Powalowski 2006-05-26 01:15:55 UTC
Most recent kernel where this bug did not occur:
Distribution: Arch Linux
Hardware Environment:
Linux Wohnung 2.6.17-rc4-ARCH #1 SMP PREEMPT Mon May 15 10:12:18 CEST 2006 i686 
AMD Athlon(TM) XP 2200+ AuthenticAMD GNU/Linux
Software Environment:
gcc 4.1.1

Problem Description:

quite some warnings are coming on make modules, i don't know if they do any 
harm but you should know it.
Steps to reproduce:
run make modules 
kernel config and warnings are attached
Comment 1 Tobias Powalowski 2006-05-26 01:51:05 UTC
Created attachment 8209 [details]
kernel config file
Comment 2 Tobias Powalowski 2006-05-26 01:51:49 UTC
Created attachment 8210 [details]
warnings that appeared during make modules
Comment 3 James Rayner 2006-07-25 01:45:28 UTC
any word on this?
Comment 4 Sam Ravnborg 2006-08-03 14:11:56 UTC
Thanks for the report.

There is an ongoing effort to fix the section mismatch warnings in the kernel.
With recent GCC the .smp_locks warning started to show up - it was a limitation
in the section mismatch check code.

That particular warning are fixed in 2.6.17 - and it is assumed it was this
warning that triggerd this report. So bug is closed.

/Sam
Comment 5 Tobias Powalowski 2006-08-03 23:53:37 UTC
sorry still not fixed in 2.6.18rc3git1
Comment 6 Sam Ravnborg 2006-08-04 00:04:28 UTC
The section mismatch warning are still valid for many modules - not all modules
are fixed.
Please include list of warnings - if they are mostly real warnings that require
driver fixing then this bug is not suitable.
If there is a feneral type of warning that should not be there and needs
spression in modpost then this bug is valid.
/Sam
Comment 7 Tobias Powalowski 2006-08-04 01:06:57 UTC
Created attachment 8696 [details]
warnings during make modules 2.6.18rc3-git5

new file added 2.6.18rc3-git5
Comment 8 Sam Ravnborg 2006-08-04 01:33:14 UTC
The list of warnings are now down the real bugs in a few number of drivers.
When classified as real does not necessarily imply a real bug but mainly that
there are references between two incompatible sections.

Sp I suggest to close this bug since the general issue is deal with and now we
only have to address the few remaining drivers (there are more than reported here).

   Sam