http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43751
--- Comment #12 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-12-04 22:00:39 UTC --- The problem dsymutil issues are fixed for darwin10 when using Xcode 3.2.4 and the patch... Index: gcc/config/darwin10.h =================================================================== --- gcc/config/darwin10.h (revision 167446) +++ gcc/config/darwin10.h (working copy) @@ -28,3 +28,12 @@ #undef TARGET_ASM_EMIT_UNWIND_LABEL #define TARGET_ASM_EMIT_UNWIND_LABEL default_emit_unwind_label + +/* Since DWARF2 is default, conditions for running dsymutil are different. */ +/* Xcode 3.2.3 and later have radar 7851516 fixed. */ +#undef DSYMUTIL_SPEC +#define DSYMUTIL_SPEC \ + "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ + %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|.f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \ + %{g*:%{!gstabs*:%{!g0: " DSYMUTIL " %{o*:%*}%{!o:a.out}}}}}}}}}}}}" + http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg00289.html Using the same approach in gcc/config/darwin9.h reveals that Xcode 3.1.4 still produces three types of warnings from dsymutil. These are of the form... warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4^M warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4 arning: {0x0000026d} TAG_variable: AT_location( 0x00000000 ) didn't have valid function low pc, the location list will be incorrect.