[Bug binutils/26914] New: Disassembling create DWARF Errors
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.
[Bug binutils/26914] Disassembling create DWARF Errors
https://sourceware.org/bugzilla/show_bug.cgi?id=26914 Veit Devil changed: What|Removed |Added CC||veit.friedrich at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/26914] Disassembling create DWARF Errors
https://sourceware.org/bugzilla/show_bug.cgi?id=26914 Veit Devil changed: What|Removed |Added CC|veit.friedrich at gmail dot com| -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/26914] Disassembling create DWARF Errors
https://sourceware.org/bugzilla/show_bug.cgi?id=26914 --- Comment #2 from Veit Devil --- Hi Nick, is binutils 2.35.1 not the latest version? according to https://ftp.gnu.org/gnu/binutils/ this is the latest version. The following messages are displayed. DWARF error: could not find variable specification at offset 15ee DWARF error: could not find variable specification at offset 15fa DWARF error: could not find variable specification at offset 1606 DWARF error: could not find variable specification at offset 1612 DWARF error: could not find variable specification at offset 161e DWARF error: could not find variable specification at offset 162a DWARF error: could not find variable specification at offset 1636 DWARF error: could not find variable specification at offset 1642 DWARF error: could not find variable specification at offset 164e DWARF error: could not find variable specification at offset 165a Bye Veit -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/26914] Disassembling create DWARF Errors
https://sourceware.org/bugzilla/show_bug.cgi?id=26914 --- Comment #4 from Veit Devil --- Hi Nick, good, then I will wait for the next release version. Everything necessary for your test should be in the appendix. Thank you. Bye Veit -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/20979] DLL relocation totally broken
https://sourceware.org/bugzilla/show_bug.cgi?id=20979 --- Comment #7 from Veit Devil --- Created attachment 12979 --> https://sourceware.org/bugzilla/attachment.cgi?id=12979&action=edit Everything necessary for your test should be in the appendix. Thank you. Everything necessary for your test should be in the appendix. Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/26914] Disassembling create DWARF Errors
https://sourceware.org/bugzilla/show_bug.cgi?id=26914 --- Comment #5 from Veit Devil --- Created attachment 12980 --> https://sourceware.org/bugzilla/attachment.cgi?id=12980&action=edit Everything necessary for your test should be in the appendix. Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/26914] Disassembling create DWARF Errors
https://sourceware.org/bugzilla/show_bug.cgi?id=26914 --- Comment #7 from Veit Devil --- Hi Nivk, okay, thank you so much for taking the time for this. Bye Veit -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/28207] New: error: unknown type name 'uint' (78 | uint recursion;) avr-gcc mingw32 Windows Build
https://sourceware.org/bugzilla/show_bug.cgi?id=28207 Bug ID: 28207 Summary: error: unknown type name 'uint' (78 | uint recursion;) avr-gcc mingw32 Windows Build Product: binutils Version: 2.37 Status: UNCONFIRMED Severity: critical Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: veit.friedrich at gmail dot com Target Milestone: --- Hi, when building avr-gcc mingw32 toolchain for windows with gcc 11.2.0 and binutils 2.37 an error occurs during the build process of windows binutils. error: unknown type name 'uint' 78 | uint recursion; A solution is to replace both "uint" with "unsigned" in the rust-demangle.c or to replace the file with the one of binutils 2.36.1. If you continue building despite the error, files in /bin/ are missing later in the Windows build. In /avr/bin/ some files are missing. And the folder /avr/lib/ldscripts is missing completely. Can you please fix this error? Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/28207] error: unknown type name 'uint' (78 | uint recursion;) avr-gcc mingw32 Windows Build
https://sourceware.org/bugzilla/show_bug.cgi?id=28207 Veit Devil changed: What|Removed |Added CC||veit.friedrich at gmail dot com Build||Windows 64 Bit Host||Ubuntu 21.04 Target||avr -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/28207] error: unknown type name 'uint' (78 | uint recursion;) avr-gcc mingw32 Windows Build
https://sourceware.org/bugzilla/show_bug.cgi?id=28207 Veit Devil changed: What|Removed |Added Host|Ubuntu 21.04|Ubuntu 20.04 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/28207] error: unknown type name 'uint' (78 | uint recursion;) avr-gcc mingw32 Windows Build
https://sourceware.org/bugzilla/show_bug.cgi?id=28207 --- Comment #1 from Veit Devil --- Created attachment 13598 --> https://sourceware.org/bugzilla/attachment.cgi?id=13598&action=edit Windows binutils make see line from 124 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/28207] error: unknown type name 'uint' (78 | uint recursion;) avr-gcc mingw32 Windows Build
https://sourceware.org/bugzilla/show_bug.cgi?id=28207 --- Comment #2 from Veit Devil --- Created attachment 13599 --> https://sourceware.org/bugzilla/attachment.cgi?id=13599&action=edit if this is still helpful if this is still helpful what runs after make with make install -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/28207] error: unknown type name 'uint' (78 | uint recursion;) avr-gcc mingw32 Windows Build
https://sourceware.org/bugzilla/show_bug.cgi?id=28207 Veit Devil changed: What|Removed |Added Host|Ubuntu 20.04|Ubuntu 20.04.2 LTS -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/28207] error: unknown type name 'uint' (78 | uint recursion;) avr-gcc mingw32 Windows Build
https://sourceware.org/bugzilla/show_bug.cgi?id=28207 Veit Devil changed: What|Removed |Added CC|veit.friedrich at gmail dot com| -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/28207] error: unknown type name 'uint' (78 | uint recursion;) avr-gcc mingw32 Windows Build
https://sourceware.org/bugzilla/show_bug.cgi?id=28207 --- Comment #4 from Veit Devil --- Thanks for this information. -- You are receiving this mail because: You are on the CC list for the bug.