bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26914] New: Disassembling create DWARF Errors


From: veit.friedrich at gmail dot com
Subject: [Bug binutils/26914] New: Disassembling create DWARF Errors
Date: Wed, 18 Nov 2020 10:54:02 +0000

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

            Bug ID: 26914
           Summary: Disassembling create DWARF Errors
           Product: binutils
           Version: 2.35.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: veit.friedrich at gmail dot com
  Target Milestone: ---

Created attachment 12973
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12973&action=edit
compiled with binutils 2.34 and 2.35.1

Hello,

i have noticed that C++ programs compiled with binutils 2.35 or 2.35.1 often
produce DWARF errors when disassembling them. Whereby avr-gcc does not play a
role according to my tests. I have done comparison tests with binutils 2.34,
2.35 and 2.35.1 with avr-gcc 9.3, 10.1.0 and 10.2.0 respectively.

I attach two example files. What was compiled with which version is shown in
the file name.

In my opinion this concerns the obj-dump.exe of binutils 2.35 and 2.35.1. I can
disassemble both .elf files with the obj-dump.exe of binutils 2.34 without
errors. When I use the obj-dump.exe of 2.35 or 2.35.1 I get DWARF Errors. This
problem occurs more often when programming something with pointers. My feeling
tells me.

The C++ program compilation itself doesn't produce any errors, also no warnings
and the generated program works.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]