Brett Cannon added the comment:

Here is a patch to turn on `-Wl,-export_dynamic` when building with LTO. 
Unfortunately I have a bunch of tests that fail when running with LTO+PGO of 
the form of:

[ 95/398] test_bytes
Traceback (most recent call last):
  File "/Users/brettcannon/Repositories/python/cpython/3.5/Lib/runpy.py", line 
193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/brettcannon/Repositories/python/cpython/3.5/Lib/runpy.py", line 
85, in _run_code
    exec(code, run_globals)
  File 
"/Users/brettcannon/Repositories/python/cpython/3.5/Lib/test/__main__.py", line 
3, in <module>
    regrtest.main_in_temp_cwd()
  File 
"/Users/brettcannon/Repositories/python/cpython/3.5/Lib/test/regrtest.py", line 
1593, in main_in_temp_cwd
    main()
  File 
"/Users/brettcannon/Repositories/python/cpython/3.5/Lib/test/regrtest.py", line 
756, in main
    raise Exception("Child error on {}: {}".format(test, result[1]))
Exception: Child error on test_bytes: Exit code -6

----------
keywords: +patch
resolution: fixed -> 
status: closed -> open
Added file: http://bugs.python.org/file44352/issue21122.diff

_______________________________________
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