Re: kbuild: improved Section mismatch detection

From: Adrian Bunk
Date: Mon Jan 21 2008 - 15:57:34 EST


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
> > > warnings on 64 bit x86 with an allyesconfig build.
> > >...
> >
> > Not -fno-inline but -fno-inline-functions-called-once
> > (completely different option).
>
> Do you know when gcc started to support
> -fno-inline-functions-called-once?
>
> I do not have anything older than 3.4.5 build here.
>
> I should have a gcc 3.2 (Documentation/Changes)
> but no at the moment.

The inline-functions-called-once optimization is only available with
unit-at-a-time, and the -fno-inline-functions-called-once option is
therefore present since gcc 3.4.

> Sam

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/