• 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: ld: warning: using ld_classic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld: warning: using ld_classic


  • Subject: Re: ld: warning: using ld_classic
  • From: Jean Suisse <email@hidden>
  • Date: Mon, 27 Aug 2012 09:52:45 +0200

I found the answer to my question in the source code file pointed by Jeff :
-classic_linker is the one.
(see http://www.scribd.com/doc/81835005/release-notes-xcode44dp)

Cheers,
Jean

On 27 août 2012, at 09:48, Jean Suisse wrote:

Hi Jeff, Hi Avi

Thank you very much for your replies.
I added the flags to use the new linker, and now the warning is gone.

If you upgrade to Xcode 4.4 then ld was taught the tricks that ld_classic had to use for i386 kexts and then you won't see that message. If you don't upgrade, the message is harmless.

http://www.scribd.com/doc/81835005/release-notes-xcode44dp

Avi

Well, actually, I can't upgrade to XCode 4.4, due to a framework issue. 
(see: http://prod.lists.apple.com/archives/xcode-users/2012/Aug/msg00137.html)

But now I think about it, after some trials I was eventually stuck on a linker error… could it be so simple ?
Do you know the reverse flag name ? I mean, how, to use the previous "old" linker on Xcode 4.4 ?
(This issue is also the one tying me down to 10.7 btw)

Best regards,
Jean


On 27 août 2012, at 03:27, Jeff Johnson wrote:

Hi Jean.

You can make Xcode use the new linker with OTHER_LDFLAGS = "-Wl,-new_linker".

Here's the linker source code that prints the "using ld_classic" warning:

http://www.opensource.apple.com/source/ld64/ld64-133.3/src/ld/Options.cpp

-Jeff


On Aug 26, 2012, at 2:36 PM, Jean Suisse wrote:

Dear All,

When compiling my kext, I get the following warning :

ld: warning: using ld_classic

I know what ld_classic is. I guess there should be a replacement, but I don't know how to make Xcode use it.
Anyway, my kext is working just fine, should I ignore this warning or further attempt to fix it ?

Best regards,
Jean



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ld: warning: using ld_classic
      • From: Jean Suisse <email@hidden>
References: 
 >ld: warning: using ld_classic (From: Jean Suisse <email@hidden>)
 >Re: ld: warning: using ld_classic (From: Jeff Johnson <email@hidden>)
 >Re: ld: warning: using ld_classic (From: Jean Suisse <email@hidden>)

  • Prev by Date: Re: ld: warning: using ld_classic
  • Next by Date: Re: ld: warning: using ld_classic
  • Previous by thread: Re: ld: warning: using ld_classic
  • Next by thread: Re: ld: warning: using ld_classic
  • Index(es):
    • Date
    • Thread