[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1113975: marked as done (gcc-11: FTBFS on hppa - glibc 2.41 breaks module support)



Your message dated Fri, 05 Sep 2025 21:08:57 +0000
with message-id <E1uudg1-00H442-0v@fasolo.debian.org>
and subject line Bug#1113975: fixed in gcc-11 11.5.0-4
has caused the Debian Bug report #1113975,
regarding gcc-11: FTBFS on hppa - glibc 2.41 breaks module support
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.)


-- 
1113975: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113975
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-11
Version: 11.5.0-3
Severity: normal
Tags: patch

Dear Maintainer,

gcc-11 11.5.0-3 fails to build with installed gcc-11.  See:
https://buildd.debian.org/status/fetch.php?pkg=gcc-11&arch=hppa&ver=11.5.0-3&stamp=1756753356&raw=0

The problem is gcc-11 was not upgraded to generate GNU_STACK notes
before the release branch was closed.  As a result, modules require
an executable stack in gcc-11 and earlier.

glibc 2.41 no longer allows modules or shared libraries requiring
an executable stack to be loaded with dlopen.  This broke gcc-11
11.5.0-2.

We need to patch gcc-11 to enable the generation of GNU_STACK notes.

I manually built and uploaded 11.5.0-3 using glibc 2.40 and the
attached patch to generate GNU_STACK notes.

The attached patch will need be added to debian/patches if gcc-11
ever needs rebuilding on hppa.

Regards,
Dave Anglin

-- System Information:
Debian Release: forky/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.12.43-dirty (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information
Index: gcc-11-11.5.0/src/gcc/config/pa/pa-linux.h
===================================================================
--- gcc-11-11.5.0.orig/src/gcc/config/pa/pa-linux.h
+++ gcc-11-11.5.0/src/gcc/config/pa/pa-linux.h
@@ -148,8 +148,7 @@ along with GCC; see the file COPYING3.
 #define HAVE_sync_compare_and_swapsi 1
 #define HAVE_sync_compare_and_swapdi 1
 
-/* It's not possible to enable GNU_stack notes since the kernel needs
-   an executable stack for signal returns and syscall restarts.  */
+/* Enable execute stack.  */
 
 #undef NEED_INDICATE_EXEC_STACK
-#define NEED_INDICATE_EXEC_STACK 0
+#define NEED_INDICATE_EXEC_STACK 1

--- End Message ---
--- Begin Message ---
Source: gcc-11
Source-Version: 11.5.0-4
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
gcc-11, 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 1113975@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-11 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: Thu, 04 Sep 2025 22:25:01 +0200
Source: gcc-11
Architecture: source
Version: 11.5.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1113975
Changes:
 gcc-11 (11.5.0-4) unstable; urgency=medium
 .
   * Fix module support with glibc 2.41 on hppa. Closes: #1113975.
   * Build libgphobos on sparc64.
   * Bump standards version.
Checksums-Sha1:
 41e8e7c4e26df0b3b93599631f797346c0ae4a82 22118 gcc-11_11.5.0-4.dsc
 641770c0732a8186c8eb8b9589135cccca2235b5 551852 gcc-11_11.5.0-4.debian.tar.xz
 14f86bc5b796f2d6d2139da8a4b023490729757c 10195 gcc-11_11.5.0-4_source.buildinfo
Checksums-Sha256:
 68d05e9f9c06221dd9a333de1d084cac4579e112f4e64fe64a71afea367df4c4 22118 gcc-11_11.5.0-4.dsc
 f40dcfada3d8e9c323824cffaed4c4473d389c6aee43f3388c8ad5d0d03ffa20 551852 gcc-11_11.5.0-4.debian.tar.xz
 01c542d98724f58158fd54d2265a1705c5f69337250a26837c1316aa42013473 10195 gcc-11_11.5.0-4_source.buildinfo
Files:
 b90230147270a39af2bd4a79c6ef796a 22118 devel optional gcc-11_11.5.0-4.dsc
 740bfabb919e9ff98e3ad474e4524085 551852 devel optional gcc-11_11.5.0-4.debian.tar.xz
 58bf3992abd4faae0297e3670a4a434d 10195 devel optional gcc-11_11.5.0-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmi7ThgQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9et5EAC1nu/GwnuqAlMqtMyXbLvgB/lE7jSFm201
qr66O/zZCz7LFEGeHX5PI6l0zmwi2a3FvJiomnlWF2UL5R2F3erWT9oi90XY4TlZ
cTAjQDaYkyJi3rqXWh7CDSqUpt0jVg09R60RFZCFP/BIIXggcL1cRzsfVKwb9cPx
qwmUxrLwDtbUJejIxRFp67paKKIsS6lzwknFsGT5+Q4ctHXauunKF8NObOR9JQe2
hOJO89jxyD6BexF0+bvwGM1vniW+fvjeOUgs/Q8OKRYvi1at50farBV0S7MiP8nD
9YDjWlPboczcEFRXkBYVGy3FlxvCgUw3NhpxdmD/3x0uWyjK+nDmnWvlPreQ0mny
umefBdLKWiPmBsAxOEM3CAsqqu7qlJ8L215dum1ymwG9Y4OO/yrmOyFMB5rrUbZK
bPEI8UIEJ8PwviudtViRdCOryOdHnEFV00QCl6nmQh+f5eUCO4H/DAdsFjg4uHWe
0PXe48gCHmDYOCDnYAK8+UCVJSpf9eM0XUYWdFD9pHYETQWHwwA6L8JS3F5d7qnA
85zTAFkYnqEJkWsnIhQ6qaWbQfi0a4DWxz10+JZWpm/Bembmvsf27ze6zGjzrH9G
gEKfXp+Jpf5st1seTDRoL6B5MK+pba0MnhmN+rENKgmcHzoYv/mnd6rA1n8GMTDC
J1WxBhnR1g==
=SPZN
-----END PGP SIGNATURE-----

Attachment: pgp8iq33R8W2d.pgp
Description: PGP signature


--- End Message ---

Reply to: