[Reproducible-commits] [dpkg] 54/105: man: Document that i386 does not suffer performance loss due to PIE anymore

Niko Tyni ntyni at moszumanska.debian.org
Mon May 2 13:49:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.

commit 18335f84bf75a6be078bf2365c1f780b59524a0a
Author: Guillem Jover <guillem at debian.org>
Date:   Sat Apr 2 11:38:29 2016 +0200

    man: Document that i386 does not suffer performance loss due to PIE anymore
    
    Commit e49be6015dcdcc3ef62ab6bbf58de5053e7dd8ad did not update the
    dpkg-buildflags documentation to reflect the fact that at least i386
    does not suffer from performance loss due to PIE when using gcc >= 5.
    
    Reported-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog      | 2 ++
 man/dpkg-buildflags.1 | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 64659fc..f3989b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -128,6 +128,8 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
     - Add list of flags set by bug feature area to dpkg-buildflags(1).
     - Switch output encoding of man pages to UTF-8.
     - Move SEE ALSO section to the end of Dpkg::Changelog::Debian.
+    - Clarify that i386 does not suffer performance loss due to PIE anymore
+      since gcc >= 5 in dpkg-buildflags(1).
 
   [ Updated programs translations ]
   * Dutch (Frans Spiesschaert). Closes: #822797
diff --git a/man/dpkg-buildflags.1 b/man/dpkg-buildflags.1
index 1bfef85..577b056 100644
--- a/man/dpkg-buildflags.1
+++ b/man/dpkg-buildflags.1
@@ -363,7 +363,8 @@ This is not compatible with \fB\-fPIC\fP so care must be taken when
 building shared objects.
 
 Additionally, since PIE is implemented via a general register, some
-architectures (most notably i386) can see performance losses of up to
+register starved architectures (but not including i386 anymore since
+optimizations implemented in gcc >= 5) can see performance losses of up to
 15% in very text-segment-heavy application workloads; most workloads
 see less than 1%. Architectures with more general registers (e.g. amd64)
 do not see as high a worst-case penalty.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list