https://sourceware.org/bugzilla/show_bug.cgi?id=33684

--- Comment #2 from Ali Bahrami <ali_swbugzilla at emvision dot com> ---
I have been discussing this issue with Rainer, and he did some
research into when it might have occurred, which I will include
below.

I think this says that there has been a lot of variation over
across releases around section symbols, and before that, around dealing
with ELFOSABI_SOLARIS objects, and not just one simple thing that
got broken at some point.

-----
Rainer:

I've done a bit of forensics because I've a bunch of old binutils
versions around here.

* This error reproduces all the way back from current trunk (2.46 to be)
  to binutils 2.36.

* Between binutils 2.35 and 2.32, there are way fewer errors:

m.232: .symtab: bad symbol index: 84
m.232: .symtab: bad symbol index: 85
m.232: .symtab: bad symbol index: 85
m.232: .symtab: bad symbol index: 84

* With binutils 2.31 down to 2.27 objcopy warns

objcopy-2.31: m.231: failed to find link section for section 26
objcopy-2.31: m.231: failed to find link section for section 26
objcopy-2.31: m.231: failed to find link section for section 27
objcopy-2.31: m.231: failed to find link section for section 27

  and elfdump reports

m.231: .SUNW_symtabsort: sh_link: 0: does not point to a valid section
m.231: .SUNW_symtabnsort: sh_link: 0: does not point to a valid section

* objcopy 2.26 issues no warning but elfdump is even more unhappy:

m.226: .SUNW_phname: sh_link: 0: does not point to a valid section
m.226: .SUNW_ldynsym: sh_link: 0: does not point to a valid section
m.226: .SUNW_dynsymsort: sh_link: 0: does not point to a valid section
m.226: .SUNW_dynsymnsort: sh_link: 0: does not point to a valid section
m.226: .SUNW_symtabsort: sh_link: 0: does not point to a valid section
m.226: .SUNW_symtabnsort: sh_link: 0: does not point to a valid section

I've stopped at that point, but there's a lot for breakage here and has
been historically.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to