From 71ec85b2958798246fc2b5d84c40badf5f75668e Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 22 Jul 2021 00:08:52 +0200 Subject: gnu: Python: Disable indeterministic optimizations. * gnu/packages/python.scm (python-2.7)[arguments]: Remove "--with-lto" and "--enable-optimizations" from #:configure-flags. --- gnu/packages/python.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cee8613b34..f4d574e2b2 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -187,9 +187,12 @@ (define-public python-2.7 "--with-system-ffi" ;build ctypes "--with-ensurepip=install" ;install pip and setuptools "--with-computed-gotos" ;main interpreter loop optimization - "--with-lto" ;increase size by 20MB, but 15% speedup "--enable-unicode=ucs4" - "--enable-optimizations" + + ;; FIXME: These flags makes Python significantly faster, but + ;; leads to non-reproducible binaries. + ;; "--with-lto" ;increase size by 20MB, but 15% speedup + ;; "--enable-optimizations" ;; Prevent the installed _sysconfigdata.py from retaining a reference ;; to coreutils. -- cgit v1.2.3