Re: Section mismatch warnings

From: Al Viro
Date: Fri Jun 23 2006 - 18:21:32 EST


On Sat, Jun 24, 2006 at 12:12:18AM +0200, Sam Ravnborg wrote:
> On Fri, Jun 23, 2006 at 07:40:12PM +0200, Jan Engelhardt wrote:
> > Hello,
> >
> >
> > as others have already seen to, 2.6.17 spits out a lot of section mismatch
> > warnings on modpost. Some of them have may already been addressed; here is
> > the output I get when MODPOST starts to run during the compile process of
> > an almost-completely-compiled kernel. Need .config?
>
> All the .smp_locks related warnings are gone when I get the kbuild.git
> tree pushed linus wise. Needs to spend only an hour or so before it is
> ready and will do so during the weekend.

BTW, I've also got some modpost.c patches dealing with false positives
(as well as fixes for real crap). modpost.c delta follows, just in case
if some of that might be missing from your tree