[Dwarf-Discuss] dsymutil: "could not find referenced DIE" followed by a segmentation fault and other newbie questions
Gil Moses
gil.moses@outlook.com
Sat Dec 8 14:24:59 GMT 2018
Hi,
Building with Xcode 7, once in a while I get the following warnings from the dsymutil tool (a few dozens):
"could not find referenced DIE"
Followed be a segmentation fault.
Adding the verbosity flag, I got detailed information about the DIEs that had the error, e.g.:
===========
while processing /p4client/ProAudio/dev_main/ProAudio/XcodeBuildProducts/Debug/libWaveShell-Common.a(GraphicStream_Utils.o):
warning: could not find referenced DIE
in DIE:
0x0001415e: DW_TAG_imported_declaration [99]
DW_AT_decl_file [DW_FORM_data1] ("/Applications/Xcode7.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types/_time_t.h")
DW_AT_decl_line [DW_FORM_data2] (20047)
DW_AT_import [DW_FORM_ref4] (cu + 0x4c4f5254 => {0x4c4f5254})
============
How do I go about understanding the error, what caused it and how to solve it?
BTW, the lib size being built is around 350MB. Could there be a size issue causing this seg fault?
While I'm here, where could I download the full source code of dsymutil? All I found was links to separate files (https://opensource.apple.com/source/clang/clang-700.0.72/src/tools/dsymutil/)
Thanks,
Gil Moses.
More information about the Dwarf-discuss
mailing list