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=<keep|thunk|thunk-inline|thunk-extern> with attribute support, -mindirect-branch-register, and -mfunction-return=<thunk|thunk-inline|thunk-extern> with attribute support. Thanks to H.J. Lu. -- Matthias Klose <d...@ubuntu.com> 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