[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GCC 4.1 in experimental / GCC for etch



joel.soete@tiscali.be a écrit :
What do you mean exactly by inlining problems? It builds fine here.


well, I don't think it's critical but when I build glibc here with gcc-4.0 I
got a lot of "warning: inlining failed" as
[...]
gcc-4.0 dl-reloc.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -fstrict-aliasing -g -pipe      -I../include
 -I. -I/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/elf
-I.. -I../libio  -I/CAD/parisc-linux/Dpkg/dpkg-work/gli
bc-2.3.6/build-tree/hppa-libc -I../sysdeps/hppa/elf -I../libidn/sysdeps/unix
-I../linuxthreads/sysdeps/unix/sysv/linux/hppa -I../lin
uxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../li
nuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/hppa
-I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/unix/sysv/linux -I../sysdeps/g
nu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posi
x -I../sysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/ldbl-128 -I../sysdeps/hppa/fpu -I../sysdeps/hppa
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc
-isystem
 /usr/lib/gcc/hppa-linux-gnu/4.0.3/include -isystem
/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/debian/include -D_LIBC_REENTRANT -i
nclude ../include/libc-symbols.h       -o
/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/elf/dl-reloc.o
-MD -MP -
MF
/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/elf/dl-reloc.o.dt
-MT /CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.
3.6/build-tree/hppa-libc/elf/dl-reloc.o
../sysdeps/hppa/dl-machine.h: In function _dl_relocate_object:
../sysdeps/hppa/dl-machine.h:125: warning: inlining failed in call to
elf_machine_fixup_plt: --param inline-unit-growth limit reached
../sysdeps/hppa/dl-machine.h:717: warning: called from here
../sysdeps/hppa/dl-machine.h:125: warning: inlining failed in call to
elf_machine_fixup_plt: --param inline-unit-growth limit reached
../sysdeps/hppa/dl-machine.h:722: warning: called from here
../sysdeps/hppa/dl-machine.h:125: warning: inlining failed in call to
elf_machine_fixup_plt: --param inline-unit-growth limit reached
../sysdeps/hppa/dl-machine.h:717: warning: called from here
../sysdeps/hppa/dl-machine.h:125: warning: inlining failed in call to
elf_machine_fixup_plt: --param inline-unit-growth limit reached
[...]

But if you don't noticed get rid of this stuff.


Actually, I hadn't look at the build log. I also have the same thing in the build log. However, I am not sure we want to fix that. Here what this option does:

  Specifies maximal overall growth of the compilation unit caused
  by inlining.  This parameter is ignored when -funit-at-a-time
  is not used.  The default value is 50 which limits unit growth
  to 1.5 times the original size.

I am not sure we want to have a so big increase in the file size.

Aurelien

--
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: