gcc 4 plus virtual functions plus strip equals problems
gcc 4 plus virtual functions plus strip equals problems
- Subject: gcc 4 plus virtual functions plus strip equals problems
- From: Bob Clark <email@hidden>
- Date: Wed, 11 Jan 2006 15:01:49 -0800
This is a really weird one.
My build system uses Xcode 2.2 projects to construct a bundle then, as a
shell script post-processing step, does a "strip -u -s Foo.exp myBundle".
This works great with gcc3, but when I use gcc4 the strip command starts
erroring out like this:
strip: symbols referenced by relocation entries that can't be stripped in:
myBundle (for architecture ppc)
__MangledBar
__MangledBat
strip: symbols reference by relocation entries that can't be stripped in:
MyBundle (for architecture i386)
__MangledBar
__MangledBat
What adds to the oddness is that it seems that the symbols that are causing
the problems either are pure virtual functions (or classes) or are derived
from pure virtual functions (or classes). I honestly don't know what to
make of this -- it feels like a red herring to be honest.
I've tried tinkering with the "Symbols Hidden by Default" checkbox
(GCC_SYMBOLS_PRIVATE_EXTERN) to no avail -- that was the closest suggestion
I found when researching this problem.
Does anyone know of a magic incantation to solve my problem? Or failing
that, some web site that explains a little more about what's happening here?
Thanks.
--Bob
_______________________________________________
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