[Touch-packages] [Bug 1749261] Re: Add amd64/i386 retpoline support

2018-03-21 Thread Martin W.
I've seen that the fix is currently only released for bionic. 
What is the release date for trusty (gcc-4.8.5 Ubuntu 4.8.5-2ubuntu1~14.04.1) ?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1749261

Title:
  Add amd64/i386 retpoline support

Status in gcc-4.8 package in Ubuntu:
  Fix Released
Status in gcc-4.8 source package in Trusty:
  Fix Released

Bug description:
  To mitigate Spectre Variant 2, gcc needs to have retpoline support
  (-mindirect-branch and -mfunction-return arguments on amd64 and i386).

  Packages with this will go into the proposed pockets but need to be
  published in the -security pockets for their respective releases.

  Patches for gcc-4.8 were pulled from H.J. Lu's backport branch to 4.9,
  available at https://github.com/hjl-tools/gcc/tree/hjl/indirect/gcc-
  4_9-branch/master . Upstream GCC does not seem to be applying patches
  to anything older than the gcc-6-branch. H.J. Lu is the author of the
  upstream retpoline commits as well.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1749261] Re: Add amd64/i386 retpoline support

2018-03-19 Thread Launchpad Bug Tracker
This bug was fixed in the package gcc-4.8 - 4.8.5-4ubuntu8

---
gcc-4.8 (4.8.5-4ubuntu8) bionic; urgency=medium

  [ Matthias Klose ]
  * Stop build gcj in current distro releases. Addresses: #892536.
  * Split off the documentation part from the retpoline patches.
  * Fix build dependency on realpath.

  [ Steve Beattie ]
  * Add retpoline support for x86 via adding -mindirect-branch=,
-mindirect-branch-register, and -mfunction-return= support
(LP: #1749261)
- 0001-i386-Move-struct-ix86_frame-to-machine_function.diff,
  0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.diff,
  0003-i386-Use-const-reference-of-struct-ix86_frame-to-avo.diff,
  0004-x86-Add-mindirect-branch.diff,
  0005-x86-Add-mfunction-return.diff,
  0006-x86-Add-mindirect-branch-register.diff,
  0007-x86-Add-V-register-operand-modifier.diff,
  0008-x86-Disallow-mindirect-branch-mfunction-return-with-.diff,
  0009-Use-INVALID_REGNUM-in-indirect-thunk-processing.diff:
  implement -mindirect-branch=
  with attribute support, -mindirect-branch-register, and
  -mfunction-return= with
  attribute support. Thanks to H.J. Lu.

 -- Matthias Klose   Mon, 19 Mar 2018 16:12:10 +0800

** Changed in: gcc-4.8 (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1749261

Title:
  Add amd64/i386 retpoline support

Status in gcc-4.8 package in Ubuntu:
  Fix Released
Status in gcc-4.8 source package in Trusty:
  Fix Released

Bug description:
  To mitigate Spectre Variant 2, gcc needs to have retpoline support
  (-mindirect-branch and -mfunction-return arguments on amd64 and i386).

  Packages with this will go into the proposed pockets but need to be
  published in the -security pockets for their respective releases.

  Patches for gcc-4.8 were pulled from H.J. Lu's backport branch to 4.9,
  available at https://github.com/hjl-tools/gcc/tree/hjl/indirect/gcc-
  4_9-branch/master . Upstream GCC does not seem to be applying patches
  to anything older than the gcc-6-branch. H.J. Lu is the author of the
  upstream retpoline commits as well.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1749261] Re: Add amd64/i386 retpoline support

2018-03-06 Thread zhanghongce
On 14.04.5 with gcc-4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4
Still waiting for the update ...

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1749261

Title:
  Add amd64/i386 retpoline support

Status in gcc-4.8 package in Ubuntu:
  Confirmed
Status in gcc-4.8 source package in Trusty:
  Fix Released

Bug description:
  To mitigate Spectre Variant 2, gcc needs to have retpoline support
  (-mindirect-branch and -mfunction-return arguments on amd64 and i386).

  Packages with this will go into the proposed pockets but need to be
  published in the -security pockets for their respective releases.

  Patches for gcc-4.8 were pulled from H.J. Lu's backport branch to 4.9,
  available at https://github.com/hjl-tools/gcc/tree/hjl/indirect/gcc-
  4_9-branch/master . Upstream GCC does not seem to be applying patches
  to anything older than the gcc-6-branch. H.J. Lu is the author of the
  upstream retpoline commits as well.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1749261] Re: Add amd64/i386 retpoline support

2018-03-02 Thread Alexander Stohr
having here gcc-4.8 (Ubuntu 4.8.5-2ubuntu1-~14.04.01) 4.8.5
and it does not honor either of the above listed switches but returns an error.

sounds a bit like a regression to me, a vanished feature.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1749261

Title:
  Add amd64/i386 retpoline support

Status in gcc-4.8 package in Ubuntu:
  Confirmed
Status in gcc-4.8 source package in Trusty:
  Fix Released

Bug description:
  To mitigate Spectre Variant 2, gcc needs to have retpoline support
  (-mindirect-branch and -mfunction-return arguments on amd64 and i386).

  Packages with this will go into the proposed pockets but need to be
  published in the -security pockets for their respective releases.

  Patches for gcc-4.8 were pulled from H.J. Lu's backport branch to 4.9,
  available at https://github.com/hjl-tools/gcc/tree/hjl/indirect/gcc-
  4_9-branch/master . Upstream GCC does not seem to be applying patches
  to anything older than the gcc-6-branch. H.J. Lu is the author of the
  upstream retpoline commits as well.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1749261] Re: Add amd64/i386 retpoline support

2018-03-02 Thread Alexander Stohr
referenced by bug #1750937

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1749261

Title:
  Add amd64/i386 retpoline support

Status in gcc-4.8 package in Ubuntu:
  Confirmed
Status in gcc-4.8 source package in Trusty:
  Fix Released

Bug description:
  To mitigate Spectre Variant 2, gcc needs to have retpoline support
  (-mindirect-branch and -mfunction-return arguments on amd64 and i386).

  Packages with this will go into the proposed pockets but need to be
  published in the -security pockets for their respective releases.

  Patches for gcc-4.8 were pulled from H.J. Lu's backport branch to 4.9,
  available at https://github.com/hjl-tools/gcc/tree/hjl/indirect/gcc-
  4_9-branch/master . Upstream GCC does not seem to be applying patches
  to anything older than the gcc-6-branch. H.J. Lu is the author of the
  upstream retpoline commits as well.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1749261] Re: Add amd64/i386 retpoline support

2018-03-02 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gcc-4.8 (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1749261

Title:
  Add amd64/i386 retpoline support

Status in gcc-4.8 package in Ubuntu:
  Confirmed
Status in gcc-4.8 source package in Trusty:
  Fix Released

Bug description:
  To mitigate Spectre Variant 2, gcc needs to have retpoline support
  (-mindirect-branch and -mfunction-return arguments on amd64 and i386).

  Packages with this will go into the proposed pockets but need to be
  published in the -security pockets for their respective releases.

  Patches for gcc-4.8 were pulled from H.J. Lu's backport branch to 4.9,
  available at https://github.com/hjl-tools/gcc/tree/hjl/indirect/gcc-
  4_9-branch/master . Upstream GCC does not seem to be applying patches
  to anything older than the gcc-6-branch. H.J. Lu is the author of the
  upstream retpoline commits as well.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1749261] Re: Add amd64/i386 retpoline support

2018-02-21 Thread Launchpad Bug Tracker
This bug was fixed in the package gcc-4.8 - 4.8.4-2ubuntu1~14.04.4

---
gcc-4.8 (4.8.4-2ubuntu1~14.04.4) trusty-security; urgency=medium

  * Add retpoline support for x86 via adding -mindirect-branch=,
-mindirect-branch-register, and -mfunction-return= support
(LP: #1749261)
- 0001-i386-Move-struct-ix86_frame-to-machine_function.diff,
  0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.diff,
  0003-i386-Use-const-reference-of-struct-ix86_frame-to-avo.diff,
  0004-x86-Add-mindirect-branch.diff,
  0005-x86-Add-mfunction-return.diff,
  0006-x86-Add-mindirect-branch-register.diff,
  0007-x86-Add-V-register-operand-modifier.diff,
  0008-x86-Disallow-mindirect-branch-mfunction-return-with-.diff,
  0009-Use-INVALID_REGNUM-in-indirect-thunk-processing.diff:
  implement -mindirect-branch=
  with attribute support, -mindirect-branch-register, and
  -mfunction-return= with
  attribute support. Thanks to H.J. Lu.

 -- Steve Beattie   Tue, 13 Feb 2018 10:19:48 -0800

** Changed in: gcc-4.8 (Ubuntu Trusty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1749261

Title:
  Add amd64/i386 retpoline support

Status in gcc-4.8 package in Ubuntu:
  New
Status in gcc-4.8 source package in Trusty:
  Fix Released

Bug description:
  To mitigate Spectre Variant 2, gcc needs to have retpoline support
  (-mindirect-branch and -mfunction-return arguments on amd64 and i386).

  Packages with this will go into the proposed pockets but need to be
  published in the -security pockets for their respective releases.

  Patches for gcc-4.8 were pulled from H.J. Lu's backport branch to 4.9,
  available at https://github.com/hjl-tools/gcc/tree/hjl/indirect/gcc-
  4_9-branch/master . Upstream GCC does not seem to be applying patches
  to anything older than the gcc-6-branch. H.J. Lu is the author of the
  upstream retpoline commits as well.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1749261] Re: Add amd64/i386 retpoline support

2018-02-21 Thread Steve Beattie
** Summary changed:

- Add amd64/i386 support
+ Add amd64/i386 retpoline support

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1749261

Title:
  Add amd64/i386 retpoline support

Status in gcc-4.8 package in Ubuntu:
  New
Status in gcc-4.8 source package in Trusty:
  Fix Committed

Bug description:
  To mitigate Spectre Variant 2, gcc needs to have retpoline support
  (-mindirect-branch and -mfunction-return arguments on amd64 and i386).

  Packages with this will go into the proposed pockets but need to be
  published in the -security pockets for their respective releases.

  Patches for gcc-4.8 were pulled from H.J. Lu's backport branch to 4.9,
  available at https://github.com/hjl-tools/gcc/tree/hjl/indirect/gcc-
  4_9-branch/master . Upstream GCC does not seem to be applying patches
  to anything older than the gcc-6-branch. H.J. Lu is the author of the
  upstream retpoline commits as well.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp