Re: Build error - strip failed (3.1.1)
Re: Build error - strip failed (3.1.1)
- Subject: Re: Build error - strip failed (3.1.1)
- From: Trygve Inda <email@hidden>
- Date: Thu, 18 Sep 2008 19:04:13 +0000
- Thread-topic: Build error - strip failed (3.1.1)
>> I just updated from Xcode 3 to 3.1.1 and now I get an error:
>>
>> "Symbols referenced by relocation entries can't be stripped in .... (for
>> architecture ppc)"
http://developer.apple.com/technotes/tn2004/tn2123.html says:
All Symbols (STRIP_STYLE = all) — Xcode will strip all symbols that are not
specifically marked as being needed at runtime. This is equivalent to
running strip tool with the "-u" and "-r" flags.
If set STRIP_STYLE to all, in the Xcode build log I see:
/Developer/usr/bin/strip: symbols referenced by relocation entries that
can't be stripped in: (myapp) (for architecture ppc)
__ZTI10ByteBuffer
__ZTI9BitBuffer
__ZTS10ByteBuffer
__ZTS9BitBuffer
__ZTVN10__cxxabiv117__class_type_infoE
__ZTVN10__cxxabiv120__si_class_type_infoE
___CFConstantStringClassReference
_AECoerceDesc
_AECoercePtr
(plus lots more)
But if I set my build rules to not strip, then Use Terminal to strip (no
flags), I get the same error.
BUT
strip -u -r works fine.
It looks like they should be equivalent (my output is a bundle).
So why is "strip" different from "strip -u -r" ??
Trygve
_______________________________________________
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