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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Vitaly Chikunov from comment #1)
> 0.195 does not crash but reports errors:
> 
> eu-strip:
> ./lib/modules/6.18.24-6.18-alt1/kernel/drivers/mtd/tests/mtd_nandbiterrs.ko:
> INTERNAL ERROR 641 (0.195): NOBITS section

So that seems "correct", as in it would crash if it tried to use those NOBITS.

The error message is a little cryptic, but 641 is the strip.c line number.
So the error comes from:

          if (symshdr->sh_type == SHT_NOBITS)
            INTERNAL_ERROR_MSG (fname, "NOBITS section");

Which is the code that does:

          /* Pick up the symbol table and shndx table to
             resolve relocation symbol indexes.  */

So what we have here is a REL/RELA relocation section that points to (sh_link)
a symbol section, but that symbol section is NOBITS. That is odd.

Could you show (eu-readelf -hlS) the headers of one of these file?

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

Reply via email to