• 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: Xcode 2.3: inconsistent local symbol count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.3: inconsistent local symbol count


  • Subject: Re: Xcode 2.3: inconsistent local symbol count
  • From: Klaus Backert <email@hidden>
  • Date: Tue, 30 May 2006 22:42:15 +0200

Hi,

unfortunately, I have not been able to get my application linked using the DWARF debugging information format. In order to proceed with my projects, I will continue using STABS.

According to the information I found on the web, e.g. at the site darwinsource.opendarwin.org, the problem *may* be caused by a bug handling global symbols as local ones. It looks like being rather complicated. Since STABS will work for some time in the future, as far as I know, I will not invest much time in trying to use DWARF.

Nevertheless, thank you, Darryl.

Klaus

Am 27.05.2006 um 02:28 schrieb Darryl Trujillo:

On Fri, May 26, 2006 12:51 am, Klaus Backert said:

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:

/usr/bin/ld: internal error: output_local_symbols() inconsistent
local symbol count
collect2: ld returned 1 exit status


I've gotten this error before; my guess is it's DWARF-related only due to
the different/new symbol coalescing implementation. In my case the cause
was a symbol defined both in an app and a static lib: the static lib used
to be dynamic and didn't export this symbol, but when it was converted to
static I started getting the error. Unfortunately I can't remember how I
tracked down the symbol (though I vaguely remember poring over 'nm'
dumps), but after fixing the problem I did spend an hour or so trying to
duplicate the it in a simple project, with no success. The symbol in
question was a struct defined at file scope with static init data.


Hope this helps - dmt
_______________________________________________
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


References: 
 >Xcode 2.3: inconsistent local symbol count (From: Klaus Backert <email@hidden>)
 >Re: Xcode 2.3: inconsistent local symbol count (From: "Darryl Trujillo" <email@hidden>)

  • Prev by Date: XCode 2.3 break Intel's icc...
  • Next by Date: Re: Xcode 2.3 GDB crash when loading plugin
  • Previous by thread: Re: Xcode 2.3: inconsistent local symbol count
  • Next by thread: Applescripts and Widgets....how to?
  • Index(es):
    • Date
    • Thread