[Bug 1449120] Re: [Ubuntu 15.10] gcc: Ensure -m[no-]crypto affects the correct subset of POWER8 instructions

Steve Langasek steve.langasek at canonical.com
Tue May 26 23:48:23 UTC 2015


It looks like this bug will be fixed as a matter of course when gcc 5.1
is included in the distro and becomes the default in Ubuntu 15.10.
Assigning to Matthias for confirmation.

For 14.04, this appears to be addressed by the SRU of gcc-4.8 currently
in trusty-proposed, which will bring us up to revision 222448.

** Package changed: ubuntu => gcc-defaults (Ubuntu)

** Changed in: gcc-defaults (Ubuntu)
       Status: New => In Progress

** Changed in: gcc-defaults (Ubuntu)
     Assignee: (unassigned) => Matthias Klose (doko)

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

Title:
  [Ubuntu 15.10] gcc: Ensure -m[no-]crypto affects the correct subset of
  POWER8 instructions

Status in gcc-defaults package in Ubuntu:
  In Progress

Bug description:
  gcc 4.8 introduces support for POWER8, which among other things adds
  support for cryptography instructions (section 5.11 of the 2.07 POWER
  ISA).  Availability of cryptography instructions is specified with
  -m[no-]crypto.  However, this switch incorrectly affects availability
  of ALL instructions in section 5.11, when in fact it should only
  control code generation of instructions flagged as
  "Category:Vector.AES" or "Category:Vector.SHA2".  I have patches
  upstream to fix this, implemented with the following revisions:

  GCC trunk (6.0):  222362, 222381
  GCC 5.1:  222397
  GCC 4.9:  222424
  GCC 4.8:  222429

  I would like to see the backported patch applied to the gcc shipped
  with the Ubuntu 15.10 release.  We should also discuss applying it to
  the next available service pack for the 14.04 LTS release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1449120/+subscriptions



More information about the foundations-bugs mailing list