"Amker.Cheng" <amker.cheng@xxxxxxxxx> writes: > there is description on how to use the new lto feature normally, See the documentation of -flto in the gcc manual. > I'm wondering whether it is possible to compile glibc with lto ? > also, seems that it is impossible to do lto when linking with shared object? As far as I know you can use LTO when generating a shared object, though it can't eliminate functions. Ian