D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6124 - [dwarf] error: CIE not found for FDE at offset 0x00000014 with length of 0x00000018 and CIE offset of 0x00000018
Summary: [dwarf] error: CIE not found for FDE at offset 0x00000014 with length of 0x00...
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Mac OS X
: P2 normal
Assignee: No Owner
URL:
Keywords: wrong-code
Depends on:
Blocks: 4044
  Show dependency treegraph
 
Reported: 2011-06-08 03:39 UTC by Robert Clipsham
Modified: 2015-06-09 05:12 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Robert Clipsham 2011-06-08 03:39:31 UTC
On OS X, create a D file, eg:
----
// test.d
void foo(){}
----
Compile:
$ dmd -c test.d -oftest.o
Use dwarfdump:
$ dwarfdump --debug-frame test.o
This will give the error:
error: CIE not found for FDE at offset 0x00000014 with length of 0x00000018 and CIE offset of 0x00000018

The offending line is backend/dwarf.c:1069, commenting it out solves this - that's most likely not the correct fix though.