[Bug libelf/26878] New: elflint reports error on SHT_X86_64_UNWIND .eh_frame section

tbaeder at redhat dot com sourceware-bugzilla@sourceware.org
Fri Nov 13 14:58:41 GMT 2020


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

            Bug ID: 26878
           Summary: elflint reports error on SHT_X86_64_UNWIND .eh_frame
                    section
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libelf
          Assignee: unassigned at sourceware dot org
          Reporter: tbaeder at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Created attachment 12953
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12953&action=edit
elfstrmerge.o compiled with clang

gold and clang seem to emit .eh_frame sections of type SHT_X86_64_UNWIND.

If they are used to compile elfutils itself, the testsuite will use one of the
.o files in tests/ and run elflint against it and check the output. elflint
will then complain:

elflint /home/tbaeder/elfutils/build-clang/tests/elfstrmerge.o
section [19] '.rela.eh_frame': invalid destination section type

Attached is the tests/elfstrmerge.o of an elfutils build with clang, which
exhibits this problem.

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


More information about the Elfutils-devel mailing list