Open NikNik77771 opened 1 month ago
Are you using the cygwin clang (clang --version
)? That was only used for bootstrapping and isn't functional right now.
Are you using the cygwin clang (
clang --version
)? That was only used for bootstrapping and isn't functional right now.
$ clang --version clang version 18.1.8 Target: x86_64-w64-windows-gnu Thread model: posix InstalledDir: C:/msys64/mingw64/bin
I also see those dwarf errors trying to use lldb to debug msys-2.0.dll. It wouldn't surprise me if there's some incompatibility between gcc's generated dwarf and lldb's reading of them.
I also see those dwarf errors trying to use lldb to debug msys-2.0.dll. It wouldn't surprise me if there's some incompatibility between gcc's generated dwarf and lldb's reading of them.
Same result for compiling with gcc and clang.
Description / Steps to reproduce the issue
clang -g hello.c
Expected behavior
Not error
Actual behavior
error: a.exe [0x00000000000020c4]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000003b) attribute, but rang e extraction failed (invalid range list offset 0x3b), please file a bug and attach the file at the start of this e rror message error: a.exe [0x00000000000020fc]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but rang e extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this e rror message error: a.exe [0x0000000000002130]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but rang e extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this e rror message error: a.exe [0x0000000000002074]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000001a) attribute, but rang e extraction failed (invalid range list offset 0x1a), please file a bug and attach the file at the start of this e rror message error: a.exe [0x00000000000020c4]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000003b) attribute, but rang e extraction failed (invalid range list offset 0x3b), please file a bug and attach the file at the start of this e rror message error: a.exe [0x00000000000020fc]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but rang e extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this e rror message Process 396 stopped
Verification
Windows Version
MINGW64_NT-10.0-19045
Are you willing to submit a PR?
No response