• 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
'stray relocation PAIR' errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'stray relocation PAIR' errors


  • Subject: 'stray relocation PAIR' errors
  • From: Bill Northcott <email@hidden>
  • Date: Mon, 3 Jan 2005 17:17:13 +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.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: 'stray relocation PAIR' errors
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: PBXCp error in deployment build to /Library/Frameworks
  • Next by Date: Re: 'stray relocation PAIR' errors
  • Previous by thread: Re: Xcode-users Digest, Vol 2, Issue 2
  • Next by thread: Re: 'stray relocation PAIR' errors
  • Index(es):
    • Date
    • Thread