------- Comment #1 from rob1weld at aol dot com 2009-02-23 01:21 ------- Confirmed on i386-pc-solaris2.11 (OpenSolaris 2009.06).
We are advised to use libelf v0.8.10, which (by default) installs in /usr/local but the lto configury uses /usr/include/libelf.h . +1 for "--with-libelf=/usr/local" . # gcc/xgcc -v Using built-in specs. COLLECT_GCC=gcc/xgcc Target: i386-pc-solaris2.11 Configured with: ../lto_trunk/configure --prefix=/usr/local/lto --enable-languages=lto,c++ --enable-shared --disable-static --enable-multilib --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld --with-gmp=/usr/local --with-mpfr=/usr/local Thread model: posix gcc version 4.4.0 20090218 (experimental) [lto revision 144375] (lto merged with rev 144262) Rob -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39019