Re: kbuild: improved Section mismatch detection

2008-01-21 Thread Adrian Bunk
On Mon, Jan 21, 2008 at 09:31:17PM +0100, Sam Ravnborg wrote: > On Mon, Jan 21, 2008 at 12:27:54AM +0200, Adrian Bunk wrote: > > On Sun, Jan 20, 2008 at 09:05:27PM +0100, Sam Ravnborg wrote: > > >... > > > Adrian reminded us that KCFLAGS=-fno-inline told > > > another story with more than 100

Re: kbuild: improved Section mismatch detection

2008-01-21 Thread Sam Ravnborg
On Mon, Jan 21, 2008 at 12:27:54AM +0200, Adrian Bunk wrote: > On Sun, Jan 20, 2008 at 09:05:27PM +0100, Sam Ravnborg wrote: > >... > > Adrian reminded us that KCFLAGS=-fno-inline told > > another story with more than 100 Section mismatch > > warnings on 64 bit x86 with an allyesconfig build. >

Re: kbuild: improved Section mismatch detection

2008-01-21 Thread Sam Ravnborg
On Mon, Jan 21, 2008 at 12:27:54AM +0200, Adrian Bunk wrote: On Sun, Jan 20, 2008 at 09:05:27PM +0100, Sam Ravnborg wrote: ... Adrian reminded us that KCFLAGS=-fno-inline told another story with more than 100 Section mismatch warnings on 64 bit x86 with an allyesconfig build. ... Not

Re: kbuild: improved Section mismatch detection

2008-01-21 Thread Adrian Bunk
On Mon, Jan 21, 2008 at 09:31:17PM +0100, Sam Ravnborg wrote: On Mon, Jan 21, 2008 at 12:27:54AM +0200, Adrian Bunk wrote: On Sun, Jan 20, 2008 at 09:05:27PM +0100, Sam Ravnborg wrote: ... Adrian reminded us that KCFLAGS=-fno-inline told another story with more than 100 Section mismatch

Re: kbuild: improved Section mismatch detection

2008-01-20 Thread Sam Ravnborg
On Mon, Jan 21, 2008 at 12:27:54AM +0200, Adrian Bunk wrote: > On Sun, Jan 20, 2008 at 09:05:27PM +0100, Sam Ravnborg wrote: > >... > > Adrian reminded us that KCFLAGS=-fno-inline told > > another story with more than 100 Section mismatch > > warnings on 64 bit x86 with an allyesconfig build. >

Re: kbuild: improved Section mismatch detection

2008-01-20 Thread Adrian Bunk
On Sun, Jan 20, 2008 at 09:05:27PM +0100, Sam Ravnborg wrote: >... > Adrian reminded us that KCFLAGS=-fno-inline told > another story with more than 100 Section mismatch > warnings on 64 bit x86 with an allyesconfig build. >... Not -fno-inline but -fno-inline-functions-called-once (completely

Re: kbuild: improved Section mismatch detection

2008-01-20 Thread Sam Ravnborg
On Sun, Jan 20, 2008 at 09:05:27PM +0100, Sam Ravnborg wrote: > I have spent the last week (the time I can afford to > Linux stuff anyway) to improve the Section mismatch > warnings detected by modpost. Forgot to mention that all patches are made on top of kbuild.git but I expect then to apply

kbuild: improved Section mismatch detection

2008-01-20 Thread Sam Ravnborg
I have spent the last week (the time I can afford to Linux stuff anyway) to improve the Section mismatch warnings detected by modpost. The problem until now has been that the Section mismatch warnings were dependent on the actual configuration of HOTPLUG, HOTPLUG_CPU and MEMORY_HOTPLUG. In the

kbuild: improved Section mismatch detection

2008-01-20 Thread Sam Ravnborg
I have spent the last week (the time I can afford to Linux stuff anyway) to improve the Section mismatch warnings detected by modpost. The problem until now has been that the Section mismatch warnings were dependent on the actual configuration of HOTPLUG, HOTPLUG_CPU and MEMORY_HOTPLUG. In the

Re: kbuild: improved Section mismatch detection

2008-01-20 Thread Adrian Bunk
On Sun, Jan 20, 2008 at 09:05:27PM +0100, Sam Ravnborg wrote: ... Adrian reminded us that KCFLAGS=-fno-inline told another story with more than 100 Section mismatch warnings on 64 bit x86 with an allyesconfig build. ... Not -fno-inline but -fno-inline-functions-called-once (completely

Re: kbuild: improved Section mismatch detection

2008-01-20 Thread Sam Ravnborg
On Mon, Jan 21, 2008 at 12:27:54AM +0200, Adrian Bunk wrote: On Sun, Jan 20, 2008 at 09:05:27PM +0100, Sam Ravnborg wrote: ... Adrian reminded us that KCFLAGS=-fno-inline told another story with more than 100 Section mismatch warnings on 64 bit x86 with an allyesconfig build. ... Not