Your message dated Mon, 06 Oct 2014 01:48:44 +0000
with message-id <[email protected]>
and subject line Bug#763672: fixed in dpkg 1.17.15
has caused the Debian Bug report #763672,
regarding dpkg-buildflags: enable pie and stack-protector on mips/mipsel
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 [email protected]
immediately.)


-- 
763672: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763672
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.16.15
Severity: wishlist
Tags: patch

The patch belows says all. That said I am not sure it's a good idea to
change that just before the freeze, I am mostly filling the bug now so
that I don't forget


>From 22d3992c534def0651a1d6423916b0371d927fce Mon Sep 17 00:00:00 2001
From: Aurelien Jarno <[email protected]>
Date: Wed, 1 Oct 2014 16:58:18 +0200
Subject: [PATCH] dpkg-buildflags: enable pie and stack-protector on mips/mipsel

    dpkg-buildflags: enable pie and stack-protector on mips/mipsel
    
    pie is disabled on mips and mipsel, according to the comments due to
    bug#526961. This bug has been fixed more than 4 years ago it's time
    to reenable pie support.
    
    Similarly strack-protector support has been added on mips and mipsel
    in gcc 4.6 so we can now enable it.
    
    Signed-off-by: Aurelien Jarno <[email protected]>

diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index 775f3ac..1bd5707 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -124,14 +124,14 @@ sub add_hardening_flags {
 
     # Mask features that are not available on certain architectures.
     if ($os !~ /^(?:linux|knetbsd|hurd)$/ or
-       $cpu =~ /^(?:hppa|mips|mipsel|avr32)$/) {
+       $cpu =~ /^(?:hppa|avr32)$/) {
        # Disabled on non-linux/knetbsd/hurd (see #430455 and #586215).
-       # Disabled on hppa, mips/mipsel (#532821), avr32
+       # Disabled on hppa, avr32
        #  (#574716).
        $use_feature{pie} = 0;
     }
-    if ($cpu =~ /^(?:ia64|alpha|mips|mipsel|hppa)$/ or $arch eq 'arm') {
-       # Stack protector disabled on ia64, alpha, mips, mipsel, hppa.
+    if ($cpu =~ /^(?:ia64|alpha|hppa)$/ or $arch eq 'arm') {
+       # Stack protector disabled on ia64, alpha, hppa.
        #   "warning: -fstack-protector not supported for this target"
        # Stack protector disabled on arm (ok on armel).
        #   compiler supports it incorrectly (leads to SEGV)


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: mips (mips64)

Kernel: Linux 3.16-2-5kc-malta
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.17.15

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <[email protected]> (supplier of updated dpkg 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 06 Oct 2014 03:21:58 +0200
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source all
Version: 1.17.15
Distribution: unstable
Urgency: low
Maintainer: Dpkg Developers <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Description:
 dpkg       - Debian package management system
 dpkg-dev   - Debian package development tools
 dselect    - Debian package management front-end
 libdpkg-dev - Debian package management static library
 libdpkg-perl - Dpkg perl modules
Closes: 763672
Changes:
 dpkg (1.17.15) unstable; urgency=low
 .
   * Do not blacklist pie and stackprotector build flags on mips/mipsel.
     Thanks to Aurelien Jarno <[email protected]>. Closes: #763672
   * Fix build failures due to mismatched umask in libdpkg tar test case.
     Set it to a known value of 0022.
Checksums-Sha1:
 63105574c7b6da6de47de5caa63e3f603b65d5cf 2057 dpkg_1.17.15.dsc
 6b970aa47742487f9e4fd57e0697243d883da10f 4297184 dpkg_1.17.15.tar.xz
 7a649e728e662b0aec449eabb0c8a93600b951ee 1486438 dpkg-dev_1.17.15_all.deb
 f8adce6b564ad61ad676898222b867824ac8e3f0 1014542 libdpkg-perl_1.17.15_all.deb
Checksums-Sha256:
 df0c45b2e76defd95d03c2e52fa68e2156eb246f63bb1c155f7b80992c46e749 2057 
dpkg_1.17.15.dsc
 aa564dd60b5d9ac5ee15ffe8c7786daeb798de2eea9b9bf2228317938771eebb 4297184 
dpkg_1.17.15.tar.xz
 ff9435bacd6df9b7d28d3908b159fe51a70ab6ca0e6cf22d66b32ddd5b5594bf 1486438 
dpkg-dev_1.17.15_all.deb
 33a89dfd9bae64fa3b231e2f6d16c0c819dc57d0979aff6c8638805d38255c7b 1014542 
libdpkg-perl_1.17.15_all.deb
Files:
 b6905e027698bf8488b1ad830b65508b 2057 admin required dpkg_1.17.15.dsc
 fa8cdfd51f9c603dcd11470add8692be 4297184 admin required dpkg_1.17.15.tar.xz
 7ab4c40943b165519ce413e68e69c05b 1486438 utils optional 
dpkg-dev_1.17.15_all.deb
 fa8c11afc0fea8c08c4f987c913f89aa 1014542 perl optional 
libdpkg-perl_1.17.15_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJUMfHwAAoJELlyvz6krlejrIAP/RHTIuLk8rGSJG/z7ssxyF36
5mzEFjEjVK9jOW+sNBdZlL55rS/LcocaBHWhpod1hjZnedJ9bs3czub+u9/OsXhs
9WqZVlu3YpqNXYrh0qXS/G2pP14bF7yc/2chgqEnwkBNY+PFnmHJ1gB+4kIAaYm9
zXgbFexCa9E5LV3j9o+OzxaEkEYnpBqY3knaZnXLHvVJFf0AVh6WGJ0Y5h5lBNVM
2hdWSaN9qdAzbYWsjscni7UIGXOH87/hkuW4r/Mj7vx+RUU7W5oaCOgjjFhDv5Eg
difW7bxgG/Jn7OYcu2dBuVZ3mXTrYNjykeki86AKC3xRgytA3Ir+9I/faicJe4/V
yqusalcX6ejdWhBvCJaPjMKbbgaJFwkagdYAX7ZG+OYqq3fCJOr/9HlYdBmLdoaE
qobiWA4S0Od5mE4PfeH6Cz44yWtAWUeeBhHBr1uiKh+gCF3P/aG8ue47k+q853Be
i7eJR2J+95ovi3EnseQfJwjSC5USdYQN8NI97qJirI7rIZw4u0kxlbs/wkvpZCQI
Yw6nkA5zLxnw4MzkNghDFQUOyiOzbFsS1VXP3+XreEF/ClHPbGVndR09tLUpg7Nn
Xfw9YRdNSz1pfg3zrYa09ZS78pLALAPwBa7a97nY8SXVQhHilTeM2WZw5qOK32U/
HhiX80/K233SSbYbS+om
=XsAj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to