Ronald Oussoren added the comment:

Have you tried the -export_dynamic option for ld(1):


-export_dynamic
                 Preserves all global symbols in main executables during LTO.  
Without this option, Link Time Optimization is allowed to inline and remove 
global functions. This
                 option is used when a main executable may load a plug-in which 
requires certain symbols from the main executable.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21122>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to