From David Young, via the elftoolchain-developers list.
dwarf_get_fde_list_eh() exits with an error when an object has a CIE with 'S'-augmentation in its .eh_frame section.
Workaround patch:
--- a/external/bsd/elftoolchain/libdwarf/libdwarf_frame.c
+++ b/external/bsd/elftoolchain/libdwarf/libdwarf_frame.c
@@ -143,6 +143,7 @@ _dwarf_frame_parse_lsb_cie_augment(Dwarf_Debug dbg, Dwarf_Cie cie,
while (aug_p != '\0') {
switch (aug_p) {
case 'L':
Committed a slightly different patch in [r3589]. It seems that augment 'S' doesn't have augment data.
Related
Commit: [r3589]
Fixed.