Re: Xcode 2.3: inconsistent local symbol count
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