Thread overview
[Issue 4039] New: Another possible DWARF issue
Apr 01, 2010
nfxjfg@gmail.com
Apr 01, 2010
nfxjfg@gmail.com
Apr 01, 2010
Robert Clipsham
Jan 07, 2011
nfxjfg@gmail.com
Jan 07, 2011
Brad Roberts
Apr 06, 2011
Walter Bright
Jan 31, 2012
dawg@dawgfoto.de
April 01, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4039

           Summary: Another possible DWARF issue
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: nfxjfg@gmail.com


--- Comment #0 from nfxjfg@gmail.com 2010-04-01 13:34:21 PDT ---
$ cat a.d
module a;

import p.b;

void main() {
}

$ cat p/b.d
module p.b;

void moo() {
}

$ dmd a.d p/b.d -c -gc
$ dmd a.o  b.o
$ dwarfdump a > /dev/null
dwarfdump ERROR:  dwarf_offdie:  DW_DLE_DIE_ABBREV_LIST_NULL (151)
$ objdump --dwarf a > /dev/null
objdump: Warning: .debug_info offset of 0x2f in .debug_pubnames section does
not point to a CU header.

Please note: dwarfdump may or may not be buggy by itself, and what objdump outputs is just a warning. It may be that this is not really an issue.

dmd 1.057 with patch applied from http://d.puremagic.com/issues/show_bug.cgi?id=3987#c10

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 01, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4039



--- Comment #1 from nfxjfg@gmail.com 2010-04-01 13:35:00 PDT ---
...and Tango as stdlib.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 01, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4039


Robert Clipsham <robert@octarineparrot.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robert@octarineparrot.com


--- Comment #2 from Robert Clipsham <robert@octarineparrot.com> 2010-04-01 22:18:07 BST ---
It's reproducible with dmd 2.042 and phobos, so it's probably an issue with how the dwarf info is merged between object files.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 07, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4039


nfxjfg@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 07, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4039


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |braddr@puremagic.com
         Resolution|WONTFIX                     |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 06, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4039


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com


--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2011-04-05 22:24:35 PDT ---
Curiously, neither dwarfdump nor objdump complain about either a.o or b.o individually.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 31, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4039


dawg@dawgfoto.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |dawg@dawgfoto.de
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------