[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
Wed Aug 12 00:02:23 UTC 2015


gcc 5.2.1 is now the default in wily, so I believe this issue is
resolved for 15.10.

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

-- 
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:
  Fix Released

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