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=ec1b9e864a6bafc5f5f8f9930968b7e166b30978

commit ec1b9e864a6bafc5f5f8f9930968b7e166b30978
Author: Adrian Bunk <[email protected]>
AuthorDate: Thu Dec 18 23:20:46 2025 +0100

    Dpkg::Vendor::Debian: Mask PIE on m68k, sh4 and x32
    
    On x32 gcc does not have PIE enabled by default, which means that
    the port gets a mixed set of PIE enabled packages, depending on
    whether they have hardening=+all or not.
    
    On m64k and sh4 as these do not support PIE at all.
    
    Closes: #1100187
    Signed-off-by: Guillem Jover <[email protected]>
---
 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 4cd6b8943..4e722cafa 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -373,9 +373,9 @@ sub set_build_features {
 
     # Mask features that are not available on certain architectures.
     if (none { $os eq $_ } qw(linux hurd) or
-        any { $cpu eq $_ } qw(alpha hppa ia64)) {
+        any { $cpu eq $_ } qw(alpha hppa ia64 m68k sh4 x32)) {
         # Disabled on non-(linux/hurd).
-        # Disabled on alpha, hppa, ia64.
+        # Disabled on alpha, hppa, ia64, m68k, sh4, x32.
         $use_feature{hardening}{pie} = 0;
     }
     if (any { $cpu eq $_ } qw(ia64 alpha hppa nios2) or $arch eq 'arm') {

-- 
Dpkg.Org's dpkg

Reply via email to