Using binutils-2.23.1 and gcc-4.7.2, both compiled with "--enable-lto" to compile glibc-2.17 Removing "-flto -fuse-linker-plugin" removes the error below, but how do I compile glibc with -flto? John ---------- CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ../glibc-2.17/configure --prefix=/usr --disable-profile --enable-kernel=3.0.21 --libexecdir=/usr/lib/glibc --cache-file=config.cache checking whether to put _rtld_local into .sdata section... no checking for .preinit_array/.init_array/.fini_array support... no configure: error: Need linker with .init_array/.fini_array support. Config.log: configure:6121: checking for .preinit_array/.init_array/.fini_array support configure:6137: gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -g -o conftest conftest.c -static -nostartfiles -nostdlib 1>&5 collect2: fatal error: cannot find 'ld' compilation terminated. configure:6140: $? = 1 configure:6153: result: no configure:6156: error: Need linker with .init_array/.fini_array support.