Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making .dSYM fails



Hi David -

On Apr 28, 2007, at 10:07 PM, David Dunham wrote:

I'm having trouble getting .dSYM files for one of my projects:


    cd /Users/david/GameHouse/cgames/Match3

    /usr/bin/dsymutil -o /Users/david/GameHouse/cgames/Match3/build/Release/RainforestCascade.app.dSYM /Users/david/GameHouse/cgames/Match3/build/Release/RainforestCascade.app/Contents/MacOS/RainforestCascade

ERROR: No debug map or DWARF data was found to link.

ERROR: No debug map or DWARF data was found to link.

ERROR: No debug map or DWARF data was found to link.


This is a C++ app. Debug-related custom settings:


DEBUG_INFORMATION_FORMAT = dwarf-with-dsym

ZERO_LINK = NO

DEAD_CODE_STRIPPING = YES

GCC_GENERATE_DEBUGGING_SYMBOLS = YES

GCC_DEBUGGING_SYMBOLS = full

GCC_ENABLE_SYMBOL_SEPARATION = NO

GCC_OPTIMIZATION_LEVEL = s


MACOSX_DEPLOYMENT_TARGET_ppc = 10.2

SDKROOT_ppc = /Developer/SDKs/MacOSX10.2.8.sdk


I turned off DEAD_CODE_STRIPPING and still get the same error. Looked in both Target and Project.


How mysterious.

A copy of the full build transcript for that target might be more illuminating.  Absent that, however (sorry, I'm a little punchy at the end of the day today, and my grammar is becoming byzantine), I have a few guesses as to what's happening:

1) You're building for one or more architectures with GCC-3.3 or earlier.  (DWARF is only supported when using GCC-4.0.  If you need to build with an earlier compiler, you should probably use Stabs across the board - i.e., for all architectures - as your debug format.  I'm not sure if there's a better way to alleviate this scenario.)  Since you're building for 10.2, my guess is that this might be it.

2) You're linking your binary in such a way that none of its components contain any DWARF data.  For instance, your binary links together a few different static libraries and/or object files - and nothing else - and all of the sources have already been stripped before they're used by your target.

3) You're building a truly trivial app which contains no symbols, so the compiler wasn't able to generate any DWARF information.  (This seems unlikely, though. :-)

-- 
Michael Rawdon

email@hidden
Xcode Developer

Apple Inc., Cupertino CA




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Making .dSYM fails (From: David Dunham <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.