This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] elfutils-libelf-0.145 vs libelf-0.8.13?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Paweł Sikora <pluto at agmk dot net>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 11 Mar 2010 05:51:39 -0800
- Subject: Re: [lto] elfutils-libelf-0.145 vs libelf-0.8.13?
- References: <op.u9enj1h8zu3k57@pawels.alatek.krakow.pl>
2010/3/11 PaweÅ Sikora <pluto@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.