On 05/11/2010 02:00 PM, Diego Novillo wrote:

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... yes
checking libelf/libelf.h presence... yes
checking for libelf/libelf.h... yes
checking libelf/gelf.h usability... yes
checking libelf/gelf.h presence... yes
checking for libelf/gelf.h... yes
checking for the correct version of libelf... yes
checking for elf_getshdrstrndx... no
checking for elf_getshstrndx... yes

Hmm, it did not detect elf_getshdrstrndx and yet it tried to use it
later on. I think that's the bug.  Yes, please file a bug.  I believe
it's going to be easy to fix, though.  There should be an unguarded
use of that function somewhere, it needs to be changed.

My config.log and build log looks just like this except that it doesn't check for elf_getshdrstrndx at all but then I get an unresolved reference to elf_getshdrstrndx at link time in stage 2. Is this the same problem? Should I add it to the bug form?

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44079

Thanks,
Mike

Reply via email to