This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients alecsandru.patrascu, gregory.p.smith
Date 2016-04-17.06:21:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460874085.6.0.334729464026.issue26787@psf.upfronthosting.co.za>
In-reply-to
Content
When configured using './configure --with-lto' (added in issue25702) and doing a 'make profile-opt' build, test_distutils fails:

======================================================================
FAIL: test_sysconfig_compiler_vars (distutils.tests.test_sysconfig.SysconfigTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/greg/sandbox/python/cpython/3.5/Lib/distutils/tests/test_sysconfig.py", line 156, in test_sysconfig_compiler_vars
    sysconfig.get_config_var('LDSHARED'))
AssertionError: 'gcc -pthread -shared -flto -fuse-linker-plugin -ffat-lto-obje[20 chars]none' != 'gcc -pthread -shared'
- gcc -pthread -shared -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none
+ gcc -pthread -shared


======================================================================
FAIL: test_sysconfig_module (distutils.tests.test_sysconfig.SysconfigTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/greg/sandbox/python/cpython/3.5/Lib/distutils/tests/test_sysconfig.py", line 133, in test_sysconfig_module
    sysconfig.get_config_var('LDFLAGS'))
AssertionError: '-flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none' != ''
- -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none
+
History
Date User Action Args
2016-04-17 06:21:25gregory.p.smithsetrecipients: + gregory.p.smith, alecsandru.patrascu
2016-04-17 06:21:25gregory.p.smithsetmessageid: <1460874085.6.0.334729464026.issue26787@psf.upfronthosting.co.za>
2016-04-17 06:21:25gregory.p.smithlinkissue26787 messages
2016-04-17 06:21:24gregory.p.smithcreate