Mailing Lists: Apple Mailing Lists

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

Xcode 2.3: inconsistent local symbol count



Hallo,

after having updated Xcode from 2.2 to 2.3 (and e.g. having reworked the build settings thoroughly) I get a linker error, which didn't occur before. But: It only happens with the new debugging information format dwarf, which I wanted to use. With stabs everything is ok.

There is nothing about it in the (updated) Xcode documentation. I have searched through the mailing list archive, but without any result. Google delivered some responses about darwin, which don't help me.

Under MacOS X 10.4.6 (with Xcode 2.3, gcc 4.0, and dwarf) I have a project with an application Kronecker using a framework Matrix from another project (if that matters). Building the framework succeeds, but on building the application I get the following error:

(copied from the build transcript in the build results)
...
Ld /Volumes/D/Development/Projects/Kronecker/build/Debug/ Kronecker.app/Contents/MacOS/Kronecker normal ppc
mkdir /Volumes/D/Development/Projects/Kronecker/build/Debug/ Kronecker.app/Contents/MacOS
cd /Volumes/D/Development/Projects/Kronecker
/usr/bin/gcc-4.0 -o /Volumes/D/Development/Projects/Kronecker/ build/Debug/Kronecker.app/Contents/MacOS/Kronecker -L/Volumes/D/ Development/Projects/Kronecker/build/Debug -F/Volumes/D/Development/ Projects/Kronecker/build/Debug -F/Volumes/D/Development/Projects/ Matrix/build/debug -F/Volumes/D/Development/Projects/Kronecker/../ Matrix/build/Debug -filelist /Volumes/D/Development/Projects/ Kronecker/build/Kronecker.build/Debug/Kronecker.build/Objects-normal/ ppc/Kronecker.LinkFileList -framework Cocoa -framework Matrix -arch ppc -Wl,-Y,1455 -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/ MacOSX10.4u.sdk
/usr/bin/ld: internal error: output_local_symbols() inconsistent local symbol count
collect2: ld returned 1 exit status


With Xcode 2.2 and stabs - and with Xcode 2.3 and stabs - building and running the application succeeded.

I would appreciate it very much, if someone could tell me, how to use the dwarf debugging information format without getting the error.

Thanks
Klaus
_______________________________________________
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


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.