Re: recompile without -mlong-branch?
Re: recompile without -mlong-branch?
- Subject: Re: recompile without -mlong-branch?
- From: Tom Harrington <email@hidden>
- Date: Wed, 2 Sep 2009 12:57:08 -0600
On Tue, Sep 1, 2009 at 10:21 AM, Jim Wintermyre<email@hidden> wrote:
>> I installed Snow Leopard and Xcode 3.2 a few days ago, and had good luck
>> for a while. This evening, however, I tried a build in an Xcode project
>> which compiled and ran fine in Leopard / Xcode 3.1.3, and I got the
>> following link-time error:
>>
>> ld: warning: object file compiled with -mlong-branch which is no longer
>> needed. To remove this warning, recompile without -mlong-
>> branch: /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o
>
> Same here. Using gcc 4.0, 10.4u SDK.
Same for me. It's a universal binary, and the message only appears
when linking the PPC version. Browsing the compile flags, there's no
sign that -mlong-branch was actually used.
I thought it might have something to do with my custom CFLAGS (that it
was implicitly enabled by something I had added) but removing them had
no effect.
This message only appears when compiling a release build, so I suspect
it's a side-effect of optimization settings or some other difference
between that build and a debug build. I'll keep investigating...
--
Tom Harrington
email@hidden
AIM: atomicbird1
_______________________________________________
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