Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Continuing Linux Porting issues



Lassi A. Tuura wrote:

This appears to be doing lazy linking of symbols in the library, but at some point it just gives up and hangs in the mutex, I'm not sure why. I do know that initializing the classes in libapplication will require initializing many classes in the other libraries as well.


This sounds very much like a problem we identified. For us a work-around was to always build dylibs with -single_module.

It sounds like a lot of the problems Greg is having would be solved by using a modern (1.5.x) GNU libtool. Most of these things are automatically handled, including using -single_module and -bind_at_launch and such (at least, in most cases).

Might want to give that a shot, and it makes portability a lot easier.

--
Benjamin Reed, a.k.a. RangerRick
email@hidden / http://ranger.befunk.com/
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


References: 
 >Continuing Linux Porting issues (From: email@hidden)
 >Re: Continuing Linux Porting issues (From: "Lassi A. Tuura" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.