• 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
Re: recompile without -mlong-branch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recompile without -mlong-branch?


  • Subject: Re: recompile without -mlong-branch?
  • From: Jay Reynolds Freeman <email@hidden>
  • Date: Wed, 02 Sep 2009 12:10:21 -0700

I have filed a bug report on this one.  My code passes all its tests,
notwithstanding the warning, so I hope the matter is inconsequential.

I think the error message refers to the flags with which the cited
library, "/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o", was
compiled.

--  Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)


On Sep 2, 2009, at 11:57 AM, Tom Harrington wrote:

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

_______________________________________________
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


References: 
 >Re: recompile without -mlong-branch? (From: Tom Harrington <email@hidden>)

  • Prev by Date: Re: PyObjc Cocoa Applications in Xcode 3.2?
  • Next by Date: Re: Problem with NSFileManager
  • Previous by thread: Re: recompile without -mlong-branch?
  • Next by thread: Re: recompile without -mlong-branch?
  • Index(es):
    • Date
    • Thread