[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
120/290: gnu: python-2.7: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
120/290: gnu: python-2.7: Fix build with gcc-14. |
Date: |
Mon, 31 Mar 2025 05:06:56 -0400 (EDT) |
andreas pushed a commit to branch core-packages-team
in repository guix.
commit 909f84d9399730c59fd74e2240d3d4dbe61e5a8e
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 31 20:35:14 2024 +0100
gnu: python-2.7: Fix build with gcc-14.
* gnu/packages/python.scm (python-2.7)[arguments]: Relax gcc-14's strictness
in #:configure-flags's CFLAGS.
Change-Id: If3aef0edfcbdf0055ec7ca8425e03ff5c2df67b4
---
gnu/packages/python.scm | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dcd8225130..bef720a8b9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -183,7 +183,14 @@
(list
#:test-target "test"
#:configure-flags
- #~(list "--enable-shared" ;allow embedding
+ #~(list ;; -fno-semantic-interposition reinstates some optimizations by
gcc
+ ;; leading to around 15% speedup. This is the default starting
from
+ ;; python 3.10.
+ ;; XXX FIXME: How to add
"-Wno-error=implicit-function-declaration"
+ ;; *only* for *this* python-2 package? It's not needed for any
+ ;; package inheriting from us.
+ "CFLAGS=-Wno-error=incompatible-pointer-types
-fno-semantic-interposition"
+ "--enable-shared" ;allow embedding
"--with-system-expat" ;for XML support
"--with-system-ffi" ;build ctypes
"--with-ensurepip=install" ;install pip and setuptools
@@ -207,10 +214,6 @@
"ac_cv_file__dev_ptmx=no"
"ac_cv_file__dev_ptc=no")
#~())
- ;; -fno-semantic-interposition reinstates some optimizations by
gcc
- ;; leading to around 15% speedup. This is the default starting
from
- ;; python 3.10.
- "CFLAGS=-fno-semantic-interposition"
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"
" -fno-semantic-interposition")
- 89/290: gnu: opensc: Update to 0.26.0; fixes build with gcc-14., (continued)
- 89/290: gnu: opensc: Update to 0.26.0; fixes build with gcc-14., guix-commits, 2025/03/31
- 90/290: gnu: syslinux: Drop python2 dependency., guix-commits, 2025/03/31
- 92/290: gnu: gmime: Update to 3.2.15; fixes build with gcc-14., guix-commits, 2025/03/31
- 101/290: gnu: libquicktime: Fix build with gcc-14., guix-commits, 2025/03/31
- 93/290: gnu: libmpeg3: Fix build with gcc-14., guix-commits, 2025/03/31
- 112/290: gnu: efivar: Fix build on i686-linux with gcc-14., guix-commits, 2025/03/31
- 113/290: gnu: startup-notification: Fix build with gcc-14., guix-commits, 2025/03/31
- 123/290: gnu: zile: Fix build with gcc-14., guix-commits, 2025/03/31
- 102/290: gnu: transcode: Fix build with gcc-14., guix-commits, 2025/03/31
- 125/290: gnu: pangox-compat: Fix build with gcc-14., guix-commits, 2025/03/31
- 120/290: gnu: python-2.7: Fix build with gcc-14.,
guix-commits <=
- 130/290: gnu: firebird: Update to 3.0.12; fixes build with gcc-14., guix-commits, 2025/03/31
- 136/290: gnu: libunwind: Fix build with gcc-14., guix-commits, 2025/03/31
- 132/290: gnu: boost-for-mysql: Fix build with gcc-14., guix-commits, 2025/03/31
- 133/290: gnu: zxing-cpp: Fix build with gcc-14., guix-commits, 2025/03/31
- 141/290: gnu: tbb: Fix build with gcc-14., guix-commits, 2025/03/31
- 140/290: gnu: chmlib: Fix build with gcc-14., guix-commits, 2025/03/31
- 146/290: gnu: colord-minimal: Fix build with gcc-14., guix-commits, 2025/03/31
- 144/290: gnu: freeipmi: Fix build with gcc-14., guix-commits, 2025/03/31
- 147/290: gnu: doc++: Fix build with gcc-14., guix-commits, 2025/03/31
- 145/290: gnu: rrdtool: Update to 1.9.0; fixes build with gcc-14., guix-commits, 2025/03/31