[AD] [ alleg-Bugs-3157005 ] Dynamic linker can't find _al_managled_main with XCode4

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #3157005, was opened at 2011-01-13 03:59
Message generated for change (Tracker Item Submitted) made by resistor
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3157005&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Mac OSX
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Owen Anderson (resistor)
Assigned to: Peter Hull (peterhull90)
Summary: Dynamic linker can't find _al_managled_main with XCode4

Initial Comment:
The XCode4 Developer Preview has -fvisibility=hidden on by default, which makes the dynamic linker unable to resolve it at runtime.  This option is good for both launch time and optimization, so it's desirable to have it on.  Given that, please consider adding "__attribute__ ((visibility("default")))" to the OS X declaration of _al_mangled_main.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3157005&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/