2010/3/11 Paweł Sikora <pl...@agmk.net>: > hi, > > i would like to ask why the LTO forces libelf-0.8.x in configure.ac? > linux/unix distros have well tested elfutils-libelf subpackage, > so what is the point in forcing new library? > > i've just built (with little hack) gcc/trunk with elfutils-libelf > and lto works fine. >
It doesn't force libelf for me: checking libelf.h usability... yes checking libelf.h presence... yes checking for libelf.h... yes checking gelf.h usability... yes checking gelf.h presence... yes checking for gelf.h... yes checking libelf/libelf.h usability... no checking libelf/libelf.h presence... no checking for libelf/libelf.h... no checking libelf/gelf.h usability... no checking libelf/gelf.h presence... no checking for libelf/gelf.h... no checking for the correct version of libelf... yes I am using elfutils-libelf 0.145. -- H.J.