'stray relocation PAIR' errors
'stray relocation PAIR' errors
- Subject: 'stray relocation PAIR' errors
- From: Bill Northcott <email@hidden>
- Date: Mon, 3 Jan 2005 17:28:02 +1100
Apologies for cross posting this, but I not sure which is appropriate.
After several years of good service my Developer Tools installation on
MacOS X 10.3.7 has broken badly. Any attempt to link object files
results in errors like these:
for C code
ld: foo.o stray relocation PPC_RELOC_PAIR entry (608) in section
(__TEXT,__text)
for C++ code
ld: foo.o malformed object (stray relocation PAIR entry (19) in section
(__TEXT,__eh_frame))
I have replaced ar, as, ld and reinstalled the compiler. I have also
tried gcc 3.1, 3.3 and 4.0. I even tried repairing permissions. None
of these has made any difference.
The problem does not seem to be with ld as it will relink previously
compiled object files and I have tried both the version from Xcode 1.5
and the new one from November 2004 gcc update.
I seem to be able to compile and run trivial code like 'HelloWorld' but
not much more.
I would really appreciate any suggestions as I have completely run out
of ideas, and don't really understand the error.
Bill Northcott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden