[Nasm-bugs] [Bug 3392657] New: nasm generates invalid `.debug_frame` section

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Thu Apr 9 18:18:04 PDT 2020


https://bugzilla.nasm.us/show_bug.cgi?id=3392657

            Bug ID: 3392657
           Summary: nasm generates invalid `.debug_frame` section
           Product: NASM
           Version: 2.14.xx
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: philipjcraig at gmail.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Other (please explain)

I'm using nasm 2.14.02, downloaded as part of building mozilla/gecko-dev.git.

The object files generated by nasm all contain a .debug_frame section such as:

$ readelf -x .debug_frame obj-x86_64-pc-linux-gnu/media/libdav1d/asm/cdef_sse.o

Hex dump of section '.debug_frame':
  0x00000000 00000000                            ....

This is not a valid .debug_frame section. If no CFI entries are produced then
the section should be empty or omitted.

This causes errors in some DWARF readers
(https://github.com/gimli-rs/gimli/pull/486).

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


More information about the Nasm-bugs mailing list