[Bug bootstrap/44079] New: Bootstrap error about elf_getshdrstrndx when configure script does not detect elf_getshdrstrndx

2010-05-11 Thread soni dot sandeepb at gmail dot com
Configure Script does not detect elf_getshdrstrndx



But still tries to use it in stage 2 bootstrap and gives error,

../../trunk/gcc/lto/lto-elf.c: In function 'validate_file' :
../../trunk/gcc/lto/lto-elf.c:539:3:error: implicit declaration of
function 'elf_getshdrstrndx' [-Werror=implicit-function-declaration]


-- 
   Summary: Bootstrap error about elf_getshdrstrndx when configure
script does not detect elf_getshdrstrndx
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
    ReportedBy: soni dot sandeepb at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



[Bug bootstrap/44079] Bootstrap error about elf_getshdrstrndx when configure script does not detect elf_getshdrstrndx

2010-05-14 Thread soni dot sandeepb at gmail dot com


--- Comment #2 from soni dot sandeepb at gmail dot com  2010-05-15 02:53 
---
(In reply to comment #1)
> Could you please provide some more details, please: what system are you 
> running
> on, what version of libelf is in use?
> 
> And please provide config.log and configure output from the toplevel and from
> the gcc subdirectory, together with gcc/auto-host.h.
> 


[sa...@sandy ~]$ uname -r
2.6.29.4-167.fc11.i686.PAE

Currently, I am unable to reproduce the configure output since now I am working
with elfutils-libelf-devel-0.145-1 which, it seems, has fixed the problem.
Earlier, I was using elfutils-libelf-devel-0.140-1 which came installed with
the distro.
I also had libelf 0.8.13 on my system at the time of this bug but that was
insufficient to resolve the bug. 

Maybe Mike can reproduce the configure and config.log output.


-- 

soni dot sandeepb at gmail dot com changed:

   What|Removed |Added

 CC|        |soni dot sandeepb at gmail
   |        |dot com


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