Summary: | dev-util/debugedit-5.0-r3: generate broken DWARF5 debug info | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | 12101111 <w12101111> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | sam, w12101111 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
DWARF dump of edited file
DWARF dump of original file emerge --info |
Description
12101111
2024-04-10 14:01:31 UTC
Created attachment 890150 [details]
DWARF dump of edited file
Created attachment 890151 [details]
DWARF dump of original file
Created attachment 890152 [details]
emerge --info
Thanks. Could you report it upstream at https://sourceware.org/bugzilla/? I can't reproduce the problematic difference with your example commands, but I tested on glibc. ``` $ diff -ruN hello.dwarf hello.orig.dwarf --- hello.dwarf 2024-04-10 15:14:33.873715546 +0100 +++ hello.orig.dwarf 2024-04-10 15:14:36.557740520 +0100 @@ -1,4 +1,4 @@ -hello: file format elf64-x86-64 +hello.orig: file format elf64-x86-64 .debug_info contents: 0x00000000: Compile Unit: length = 0x00000051, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = 0x0000, addr_size = 0x08 (next unit at 0x00000055) @@ -9,14 +9,14 @@ DW_AT_name ("hello.c") DW_AT_str_offsets_base (0x00000008) DW_AT_stmt_list (0x00000000) - DW_AT_comp_dir ("/var/tmp") + DW_AT_comp_dir ("/tmp") [...] ``` with /tmp/hello.c: ``` #include <stdio.h> int main() { printf("hi\n"); } ``` Also, where's dwo coming for you from? (are you using -gsplit-dwarf)? |