Re: -fast creates linker error
Re: -fast creates linker error
- Subject: Re: -fast creates linker error
- From: Ben Weiss <email@hidden>
- Date: Wed, 15 Jun 2005 15:23:10 -0700
On Jun 15, 2005, at 1:16 PM, Ben Weiss wrote:
In my project, globally enabling the -fast compiler flag creates the following linker error:
/usr/bin/ld: /Users/benweiss/Documents/Projects/Reef/Projects/SSFilter/build/SSFilter.proj.build/Release/SSFilter.build/Objects-normal/ppc/DialogUtilitiesMac.o has local relocation entries in non-writable section (__TEXT,__text)
Without -fast, it compiles fine. Anyone know what this error means, or how to work around it?
Responding to my own post, I found that declaring "-read_only_relocs suppress" in the linker flags allows the program to link with -fast. Is this a safe thing to do?
However, now my program (a Photoshop filter) refuses to run, saying there is not enough RAM. (I'm on a dual G5 with 3.5G RAM.) The culprit appears to be -mcpu=970; when I switch this to -mcpu=7450, it works fine. (-mpowerpc64 is not set in either case.) Anyone else run into this, or have a workaround?
Ben |
_______________________________________________
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