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.