[Bug 1279128] Re: change dpkg-buildflags to default to -O3, not -O2, on ppc64el

Launchpad Bug Tracker 1279128 at bugs.launchpad.net
Wed Feb 12 03:23:47 UTC 2014


This bug was fixed in the package dpkg - 1.17.5ubuntu4

---------------
dpkg (1.17.5ubuntu4) trusty; urgency=medium

  * Update the ppc64 buildflags vendor overrides for ppc64el instead, and
    make the implementation respect DEB_BUILD_OPTIONS=noopt (LP: #1279128)
 -- Adam Conrad <adconrad at ubuntu.com>   Tue, 11 Feb 2014 18:49:27 -0700

** Changed in: dpkg (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1279128

Title:
  change dpkg-buildflags to default to -O3, not -O2, on ppc64el

Status in “dpkg” package in Ubuntu:
  Fix Released

Bug description:
  Per Debian policy, dpkg currently defaults to -O2 for optimization
  flags on all architectures.  According to people more familiar with
  the architecture than I, -O3 is a better default for ppc64el; because
  while -O2 includes only those optimizations that *always* improve
  performance, whereas -O3 includes optimizations that will sometimes
  *decrease* performance, the architecture-specific trade-offs on POWER
  mean that -O3 is better for the vast majority of real software, and
  far outweighs any downsides.

  So for ppc64/ppc64el, dpkg should default to -O3 in dpkg-buildflags,
  not -O2.

  It may be the case that we should make this same change for other
  architectures as well, but not before proving that there's a benefit.
  The change should also be forwarded to Debian, but that will mean
  discussing first whether and with what evidence to change Debian
  policy.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1279128/+subscriptions



More information about the foundations-bugs mailing list