This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=2e50c23e0beb265b26672524a59f37589269c0c8 commit 2e50c23e0beb265b26672524a59f37589269c0c8 Author: Guillem Jover <[email protected]> AuthorDate: Thu Nov 23 09:31:56 2023 +0100 Dpkg::Vendor::Debian: Mask PIE for alpha and ia64 These architectures have poor PIE support in the toolchain and are causing hard to diagnose problems in packages, where the only option is to disable PIE. Instead of having to conditionally do that per package, mask it globally. If this ever changes we can revisit this, or PIE can be enabled by default in the toolchain. Closes: #1040062 --- scripts/Dpkg/Vendor/Debian.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm index ddebd185f..f719528d8 100644 --- a/scripts/Dpkg/Vendor/Debian.pm +++ b/scripts/Dpkg/Vendor/Debian.pm @@ -326,9 +326,9 @@ sub set_build_features { # Mask features that are not available on certain architectures. if (none { $os eq $_ } qw(linux kfreebsd knetbsd hurd) or - $cpu eq 'hppa') { + any { $cpu eq $_ } qw(alpha hppa ia64)) { # Disabled on non-(linux/kfreebsd/knetbsd/hurd). - # Disabled on hppa. + # Disabled on alpha, hppa, ia64. $use_feature{hardening}{pie} = 0; } if (any { $cpu eq $_ } qw(ia64 alpha hppa nios2) or $arch eq 'arm') { -- Dpkg.Org's dpkg

