• 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
Nasm, PIC and the Leopard/XCode 3.0 linker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nasm, PIC and the Leopard/XCode 3.0 linker


  • Subject: Nasm, PIC and the Leopard/XCode 3.0 linker
  • From: David Wolstencroft <email@hidden>
  • Date: Wed, 31 Oct 2007 20:34:47 -0700

All, 

I've recently encountered the following problem while linking into a dynamic library / bundle with object files created by nasm. I have not had this issue with Xcode 2.4 on Tiger, do I have this problem with Xcode 2.5 on Leopard.

ld: absolute addressing (perhaps -mdynamic-no-pic) used in _(function)_sse3 from libSomething.a(someobjectfile_sse3.o) not allowed in slidable image

I know the root of the issue is that PIC is not being generated, though I've been able to link and run as mentioned before fine using the linker flag "-fread-only-relocs suppress ". Is there currently another work around for the Xcode 3.0 linker?

Any assistance would be greatly appreciated.

- David
 _______________________________________________
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

  • Prev by Date: Re: Still no way to view CFString in custom data fomatter, huh?
  • Next by Date: Re: Still no way to view CFString in custom data fomatter, huh?
  • Previous by thread: Re: Still no way to view CFString in custom data fomatter, huh?
  • Next by thread: Xcode 2.5 linker undefined symbols for PowerPlant application
  • Index(es):
    • Date
    • Thread