Source: binutils
Version: 2.44-2
Severity: normal

Dear Maintainer,

The PLT section on hppa needs to be executable and writable.  It
holds PLT stubs that are dynamically initialized by the dynamic
linker when lazy binding is in effect.

The new --enable-warn-rwx-segments configure option causes ld to
emit the following warning on most links:

/usr/bin/ld: warning: exec has a LOAD segment with RWX permissions

This breaks various package builds:
https://buildd.debian.org/status/fetch.php?pkg=cmake&arch=hppa&ver=3.31.6-1&stamp=1740586340&raw=0
https://buildd.debian.org/status/fetch.php?pkg=notmuch&arch=hppa&ver=0.38.3-4&stamp=1740592069&raw=0
https://buildd.debian.org/status/fetch.php?pkg=kwave&arch=hppa&ver=24.12.2-1&stamp=1740513715&raw=0

For now, we need to disable warning on RWX segments on hppa.  I think
the same needs to be done on sparc64.  I don't think PLT can be changed
to avoid this warning.

cmake bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098956

Regards,
Dave Anglin

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

Kernel: Linux 6.12.16-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

Reply via email to