gcc-3.3 -> glibc-2.3.2 -> inlining failed warnings

Zack Winkles winkie at linuxfromscratch.org
Wed May 28 11:12:42 PDT 2003


On Wed, May 28, 2003 at 05:16:56PM +1000, Greg Schafer (gschafer at zip.com.au) wrote:
> Anyone else noticed the copious amount of these type of warnings?
>
> ../stdio-common/_itoa.h:40: warning: inlining failed in call to `_itoa_word'

Yeah.

> I noticed the RH glibc rpm uses -finline-limit=2000 (the default is
> apparently 600)

I generally pass "-finline-limit=500000". Since glibc builds with -O2
and not -O3, inlining with only occur on functions specifically marked
with 'inline', thus no major growth in the size of the resulting libs.
It gets rid of the warnings quite well, too.

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list