• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GenerateDSYMFile Invalid DWARF error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GenerateDSYMFile Invalid DWARF error


  • Subject: Re: GenerateDSYMFile Invalid DWARF error
  • From: James Walker <email@hidden>
  • Date: Tue, 22 Jun 2010 17:41:11 -0700

On 6/22/2010 4:52 PM, Jason Molenda wrote:
Which compiler did you both use?

The easiest way to check is to inspect the .o file dsymutil is getting an error on with the "dwarfdump" command line tool.  In the first few lines you'll see a line like

    AT_producer( "GNU C 4.2.1 (Apple Inc. build nnnn)" )

I think this is an unknown problem.


patrick machielse said he was using GCC 4.0, and so am I. (dwarfdump says "GNU Objective-C++ 4.0.1 (Apple Inc. build 5494)".)

Now I'm trying to remember WHY I'm using GCC 4.0. I think it's because compiling PPC code with GCC 4.2 produces code with the ppc7400 architecture. I guess I should check whether that's still true with this version of Xcode.

FWIW, here's the part of the dwarf dump that it seems to be complaining about:

0x000009a5: TAG_enumeration_type [24] *
AT_name( "float_round_style" )
AT_byte_size( 0x04 )
AT_decl_file( "/Xcode3.2.3/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/limits" )
AT_decl_line( 156 )
AT_byte_size( 0x04 )
AT_decl_file( "/Xcode3.2.3/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/limits" )
AT_decl_line( 156 )
AT_sibling( {0x000009ff} )




J

On Jun 22, 2010, at 4:40 PM, James Walker wrote:

On 6/18/2010 5:17 AM, patrick machielse wrote:
I'm running into a problem with GenerateDSYMFile, it detects some error with DWARF debugging symbols:

error: Invalid DWARF in /TagLib.build/Objects-normal/i386/apetag.o: DIE 0x00000663 has multiple  AT_byte_size attributes.

** BUILD FAILED **
The following build commands failed:
TagLib:
	GenerateDSYMFile "/Users/patrickmachielse/../TagLib.framework.dSYM" etc.

This project links agains the 10.4 SDK (hence uses GCC 4.0) and contians C++. I've freshly installed the latest XCode 3.2.3 + iPhone 4 GM, but the previous beta version also generated this error.

What's happening here, and is there something I can do, other than file a bug report and disable dSYM generation?


I'm now getting a similar error with the release version of Xcode 3.2.3.

GenerateDSYMFile ../../../SDK/Libraries/Mac/Framework_Universal/Debug/Quesa.framework.dSYM ../../../SDK/Libraries/Mac/Framework_Universal/Debug/Quesa.framework/Versions/A/Quesa
cd /Volumes/Devel/Storyboard/quesa-svn/quesa/Development/Projects/Mac
/Xcode3.2.3/usr/bin/dsymutil /Volumes/Devel/Storyboard/quesa-svn/quesa/Development/Projects/Mac/../../../SDK/Libraries/Mac/Framework_Universal/Debug/Quesa.framework/Versions/A/Quesa -o /Volumes/Devel/Storyboard/quesa-svn/quesa/Development/Projects/Mac/../../../SDK/Libraries/Mac/Framework_Universal/Debug/Quesa.framework.dSYM

error: Invalid DWARF in /Volumes/Devel/Storyboard/quesa-svn/quesa/Development/Projects/Mac/build/Quesa.build/Debug/Framework.build/Objects-normal/ppc/E3Math.o: DIE 0x000009a5 has multiple  AT_byte_size attributes.

--
  James W. Walker, Innoventive Software LLC
  <http://www.frameforge3d.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




--
  James W. Walker, Innoventive Software LLC
  <http://www.frameforge3d.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: GenerateDSYMFile Invalid DWARF error
      • From: Jason Molenda <email@hidden>
References: 
 >GenerateDSYMFile Invalid DWARF error (From: patrick machielse <email@hidden>)
 >Re: GenerateDSYMFile Invalid DWARF error (From: James Walker <email@hidden>)
 >Re: GenerateDSYMFile Invalid DWARF error (From: Jason Molenda <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: GenerateDSYMFile Invalid DWARF error
  • Previous by thread: Re: GenerateDSYMFile Invalid DWARF error
  • Next by thread: Re: GenerateDSYMFile Invalid DWARF error
  • Index(es):
    • Date
    • Thread