Your message dated Wed, 21 Aug 2019 16:51:17 +0000
with message-id <[email protected]>
and subject line Bug#934771: fixed in python3.7 3.7.4-3
has caused the Debian Bug report #934771,
regarding python3.7: Python3 is built with -flto, which breaks debugging of
extension modules
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
934771: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934771
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3.7
Version: 3.7.4-2
Severity: normal
Hi. Currently the build flags the 'sysconfig' module reports for
building extension modules contain '-flto'. Presumably this speeds
something up somewhere, but it breaks debugging: when built this way gdb
isn't able to step through the C code of the extension module. This is a
known and documented side-effect of link-time optimization (see the gcc
manpage, for instance). Can we not do -flto for extension modules? To be
clear, this bug report is about building extension modules, not the
python interpreter itself.
There're a number of sysconfig variables that mention flto:
dima@scrawny:~$ python3 -msysconfig | grep flto
CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -Wformat -Werror=format-security -g -flto
-fuse-linker-plugin -ffat-lto-objects"
PY_BUILTIN_MODULE_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g
-fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat
-Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects
-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter
-Wno-missing-field-initializers -Wno-cast-function-type
-Werror=implicit-function-declaration -IObjects -IInclude -IPython -I.
-I../Include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE_BUILTIN"
PY_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall
-g -fstack-protector-strong -Wformat -Werror=format-security -g -flto
-fuse-linker-plugin -ffat-lto-objects"
PY_CORE_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2
-Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto
-fuse-linker-plugin -ffat-lto-objects -std=c99 -Wextra -Wno-unused-result
-Wno-unused-parameter -Wno-missing-field-initializers -Wno-cast-function-type
-Werror=implicit-function-declaration -IObjects -IInclude -IPython -I.
-I../Include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE"
I want to say CFLAGS is the one used for extension modules, but I'm not
100% sure. Is there currently a mechanism for using different flags for
extension modules as opposed to the interpreter guts? If not, I guess
I'm asking for those.
Thanks
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf
Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C),
LANGUAGE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3.7 depends on:
ii libpython3.7-stdlib 3.7.4-2
ii mime-support 3.62
ii python3.7-minimal 3.7.4-2
python3.7 recommends no packages.
Versions of packages python3.7 suggests:
ii binutils 2.32.51.20190707-1
ii python3.7-doc 3.7.4-2
pn python3.7-venv <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python3.7
Source-Version: 3.7.4-3
We believe that the bug you reported is fixed in the latest version of
python3.7, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated python3.7 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 21 Aug 2019 18:01:23 +0200
Source: python3.7
Architecture: source
Version: 3.7.4-3
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Closes: 928513 934771 934812
Changes:
python3.7 (3.7.4-3) unstable; urgency=medium
.
* Enable pgo/lto builds on arm64. Closes: #934812.
* Don't propagate lto flags to the _sysconfigdata module. Closes: #934771.
* d/patches/issue35998.diff: Disable TLS1.3 in the client on all platforms
rather than just reducing the payload size (Michael Hudson-Doyle).
* Annote build dependencies used for tests. Closes: #928513.
Checksums-Sha1:
d6d7949a38a08dc188e5aafdf381afacbe1def77 3419 python3.7_3.7.4-3.dsc
b0b48f4f2dc9032f3e2058ebafb57c148cd92199 210748 python3.7_3.7.4-3.debian.tar.xz
d7d18e07f2aa3568f7f6a7de287430a0db105ce1 10071
python3.7_3.7.4-3_source.buildinfo
Checksums-Sha256:
fbcb30b7b3b6f305e7f54aa576aabfa6071ec480cafa97e664757b5988416ed8 3419
python3.7_3.7.4-3.dsc
d9a2ddcd4769619bb031d3b0a9da899b217769083c59c440c50ff615ec2d3e78 210748
python3.7_3.7.4-3.debian.tar.xz
97361b95ecf9322d1b33a415da1d5621bea1b1fbbb2f6ef9fb6a727f8e77da28 10071
python3.7_3.7.4-3_source.buildinfo
Files:
ede9871ea25fa5e41602615a84b2c2b5 3419 python optional python3.7_3.7.4-3.dsc
597b46f0233aa2772106f0baca362655 210748 python optional
python3.7_3.7.4-3.debian.tar.xz
3d106f27a4b22f3bda4bea6d50b31103 10071 python optional
python3.7_3.7.4-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl1dauQQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9WWcD/0XIjkhzmeXgtmF/by+vDgrnSCJTbfR5dom
oDj0tVQJ03nD11OY1+Qr9mzmjMvbX9QbBRdVPSnmGp/w0/tpZhZU9Z2ucE7jx3Q/
17Jn0WFghY1m6n8ViJZuo9DFafn4m0f4JRR9NzbuTUlPpdtEuQm0VPHa6xfLpdW9
9JeGeasz00u+ZTlglw+8yWyCh4JhsrPYeI1z48t6IBreOCV4+d0RBTTT8j2+BglT
7fdhMj1VQkiy7P8P59Ax2zwEluL3Iqka5YG3UGMnr9e6+yY3SXxJhm1rl0DDm8O+
W5VUbw6Ku6ltTsT/i7IPeInKb3HVuoq/RGQKZWNmKFlwOkAMFh80eyXnhgqpHXLe
NVhIOWXuJuQt43XKVHz7u8vaW+kMFH0r7w5WOcHXB01UaPDvVPZa0JkBXQ28AC1N
+bzLcas5bSM+sLYP6osUOE2c6TikZ20I9ftICukjptqV3i7TsvetPSC7jpfc6io4
eCd148WNPx6+d3kVen6jEgEfbujUhgXTjIKnrSoJ9TnWMOrw3sVOTBpQutk4yTEF
1PvX23LzjaTBz0g73eMj9++J6XURQQ/sgPnhox1vrv/osjzqDSm2nXMR0oGkOld8
f+5Q551lMr8V9DFUr2ld8DIvpaFCKnsq4iH6Mny2Dd3EaEKRYc6LSIJIFH4gKcfz
9w0d2HMMkw==
=nlNi
-----END PGP SIGNATURE-----
--- End Message ---