• 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: "Darryl Trujillo" <email@hidden>
  • Date: Fri, 26 May 2006 17:28:52 -0700 (PDT)
  • Importance: Normal

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

  • Follow-Ups:
    • Re: Xcode 2.3: inconsistent local symbol count
      • From: Klaus Backert <email@hidden>
References: 
 >Xcode 2.3: inconsistent local symbol count (From: Klaus Backert <email@hidden>)

  • Prev by Date: Re: gdb problem
  • Next by Date: Re: Try-catch broken in gcc4.0? (Solved)
  • Previous by thread: Xcode 2.3: inconsistent local symbol count
  • Next by thread: Re: Xcode 2.3: inconsistent local symbol count
  • Index(es):
    • Date
    • Thread