On 12/08/2018 06:24 AM, Gil Moses via Dwarf-Discuss wrote:
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.
Hi Gil --
This is not really a question about DWARF. This looks like a bug
in Clang. You would get more help with this by sending your question to
the LLVM/Clang mailing list.
--
Michael Eager ea...@eagerm.com
1960 Park Blvd., Palo Alto, CA 94306
_______________________________________________
Dwarf-Discuss mailing list
Dwarf-Discuss@lists.dwarfstd.org
http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org