Your message dated Tue, 09 Apr 2024 22:35:39 +0000 with message-id <E1ruK43-0025kA-7K@fasolo.debian.org> and subject line Bug#1063937: fixed in glibc 2.37-16 has caused the Debian Bug report #1063937, regarding glibc: Please add workaround to fix posix_spawn() on sparc64 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 owner@bugs.debian.org immediately.) -- 1063937: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063937 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: glibc: Please add workaround to fix posix_spawn() on sparc64
- From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
- Date: Thu, 15 Feb 2024 08:24:20 +0100
- Message-id: <170798186070.2905455.6565576657055952029.reportbug@nofan.physik.fu-berlin.de>
Source: glibc Version: 2.37-15 Severity: important Tags: patch User: debian-sparc@lists.debian.org Usertags: sparc64 X-Debbugs-Cc: debian-sparc@lists.debian.org,kernel@mkarcher.dialup.fu-berlin.de,sam@gentoo.org Hello, there is currently a nasty bug on sparc64 that breaks posix_spawn() [1] and potentially any package that uses gcc since libiberty switched to using posix_spawn() with gcc-14. The attached patch comes from Michael Karcher (CC'ed) and unbreaks posix_spawn() so that gcc works again without posix_spawn() failing with "Bad Address". Since this patch is just a workaround and we're not even sure whether the bug is in the kernel or glibc, it's not been pushed upstream yet. Adrian > [1] https://lore.kernel.org/sparclinux/fe5cc47167430007560501aabb28ba154985b661.camel@physik.fu-berlin.de -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913--- glibc-2.37.orig/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S +++ glibc-2.37/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S @@ -28,6 +28,9 @@ .text ENTRY (__clone) save %sp,-96,%sp + save %sp,-96,%sp + flushw + restore cfi_def_cfa_register(%fp) cfi_window_save cfi_register(%o7, %i7) --- glibc-2.37.orig/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S +++ glibc-2.37/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S @@ -32,6 +32,9 @@ ENTRY (__clone) save %sp, -192, %sp + save %sp, -192, %sp + flushw + restore cfi_def_cfa_register(%fp) cfi_window_save cfi_register(%o7, %i7)
--- End Message ---
--- Begin Message ---
- To: 1063937-close@bugs.debian.org
- Subject: Bug#1063937: fixed in glibc 2.37-16
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Tue, 09 Apr 2024 22:35:39 +0000
- Message-id: <E1ruK43-0025kA-7K@fasolo.debian.org>
- Reply-to: Aurelien Jarno <aurel32@debian.org>
Source: glibc Source-Version: 2.37-16 Done: Aurelien Jarno <aurel32@debian.org> We believe that the bug you reported is fixed in the latest version of glibc, 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 1063937@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc 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 ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 10 Apr 2024 00:15:44 +0200 Source: glibc Architecture: source Version: 2.37-16 Distribution: unstable Urgency: medium Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org> Changed-By: Aurelien Jarno <aurel32@debian.org> Closes: 1063624 1063937 1067909 1068188 1068251 Changes: glibc (2.37-16) unstable; urgency=medium . [ Samuel Thibault ] * debian/patches/hurd-i386/submitted-AF_ROUTE.diff: Also comment out PF_ROUTE/AF_ROUTE. * debian/patches/hurd-i386/git-proc_getchildren_rusage.diff: Implement RUSAGE_CHILDREN, should fix the grep testsuite. . [ Aurelien Jarno ] * debian/rules.d/build.mk: present glibc with a compiler that does not default to -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64, as upstream doesn't support this configuration. This has the consequence of hiding real issues found by the testsuite, but there is a consensus that this is the way to go for now. Thanks to Helmut Grohne for the hint and starting the discussion. Closes: #1068251. * debian/debhelper.in/glibc-doc.{links,manpages}, debian/local/manpages/pthread_*: drop the man pages for libpthread functions, as they are now included in manpages-dev. Closes: #1068188. * debian/control.in/main: update glibc-doc description following the removal of the pthread manpages. * debian/control.in/main: downgrade the Recommends from libc-dev-bin to libc-devtools to a Suggests. Closes: #1067909. * debian/patches/git-updates.diff: update from upstream stable branch. * debian/patches/sparc/submitted-sparc-clone.diff: pull patch from the upstream BTS to workaround issues with the clone syscall on sparc. Closes: #1063937. . [ Johannes Schauer Marin Rodrigues] * debian/debhelper.in/libc.preinst: skip kernel check in chrootless mode. Closes: #1063624. . [ Steve Langasek ] * Drop transitional dependency from libc6-dev to libnsl-dev. . [ Gioele Barabucci ] * debian/debhelper.in/locales.config: Extract default environment LANG using only sed. Checksums-Sha1: eaea3d56f7a38679550c9aed687e94b4ee06e26d 9043 glibc_2.37-16.dsc b049cfcbfdf698174f8edd5f57d6a0d197d2db8b 412544 glibc_2.37-16.debian.tar.xz c52c4a023fe835c6a0de5a61e88f8e43a8ef46e9 10134 glibc_2.37-16_source.buildinfo Checksums-Sha256: d51319d515d3c5e41a7a02c6f38fabb0f80e4d171f7171a85cafb9b9f3c78d3b 9043 glibc_2.37-16.dsc 9ba0e7da8897e4e6f35b666685d45dc52ef9e991a6ed9561e47a749bd6421577 412544 glibc_2.37-16.debian.tar.xz 3b6db197b8f3c64c2b6967f6b619a7ba87c0608b9eb6e2fc36622152ccb0a7cf 10134 glibc_2.37-16_source.buildinfo Files: 48ee58919315243ff3360c8bc1e8e16c 9043 libs required glibc_2.37-16.dsc 7a6a64b3f2993c269dd94d1926f674a9 412544 libs required glibc_2.37-16.debian.tar.xz 5b147d415a0154c41630f2447b7ceac8 10134 libs required glibc_2.37-16_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmYVvuAACgkQE4jA+Jno M2vB6A/+PLMCij5yZepiubXkghOsfPRsg7XOWqGJ6qswaFSKdK9RmKl3xO+C3INI ylEH5GINvdCG/9QxWWTnybAzOltbRTrmBA7Fi9bsuB9VDaw18j4pUH7zW2f3fNgN OifWBWTgneM/bazbXz1w2PoiXLGsOc+8Ai1DrwohOVgLGAlr9tBiZ8w4jHJZDXYb EJhWloDQx4GtsH5eANS0ISoL4++VB0AQPNhH3vzWsFb064r126eZyXKLPbijmt4x xxJRTIiPGMlPe+LDYprWoyWL17qwtmESZBWIIV/yuCuk1s0WBj8rfztX0nK3FSOW e5IzjujID8evUyzPHWPumhSUp1Xo1OE40kx2dRKVxXLppweG9sUgj77xi05R/Ruq QJYNQKdqQrwVS72XVEvhuF1/eKpk7lKzgYC0JkkWzejXEHomZlkHyQkqOtMWYDId q15B6MfwW39Q7D7T+yCbsxwAsOBgIlDwnGgGcOXxB2lVy8dEFiIjO0fhGOnUZx3c 7A8+YF/x7GNARHzJEYrChLkzQY9xuPeQuaMGedae1f84MFOU9cV0scQgi2w3bheb epRFcZQrzRG8YG1u5ozjbD5hLBacYUfDJLxOC0Yc/nEHTMJ4/DLramJ63tujGy6e HC4E2mvhN99MFz8NSlw9E3VgNc3s/O6b4xyeXUGCaKMjF3ceviQ= =uzJ0 -----END PGP SIGNATURE-----Attachment: pgpkN3RegUv62.pgp
Description: PGP signature
--- End Message ---