Message274278
| Author |
brett.cannon |
| Recipients |
Sjlver, brett.cannon, koobs, ned.deily, ronaldoussoren, vstinner |
| Date |
2016年09月02日.22:34:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1472855686.17.0.775908025369.issue21122@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|