Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655966 - sys-devel/gcc-6: add -mindirect-branch/-mindirect-branch-register/-mfunction-return support
Summary: sys-devel/gcc-6: add -mindirect-branch/-mindirect-branch-register/-mfunction-...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-17 16:01 UTC by Marek Szuba (RETIRED)
Modified: 2019-01-27 21:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc6-retpoline-patches.tar.xz (gcc6-retpoline-patches.tar.xz,21.19 KB, application/x-xz)
2018-05-17 16:01 UTC, Marek Szuba (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba (RETIRED) archtester gentoo-dev 2018-05-17 16:01:08 UTC
Created attachment 531938 [details]
gcc6-retpoline-patches.tar.xz

Hongjiu Liu from Intel has backported support for this to gcc-6 so unless we expect to stabilise gcc-7 soon, it might be worth it to incorporate his patches. I have been using gcc-6 with those patches applied, along with both the kernel and large parts of userspace recompiled to use these features, since late February and have yet to run into any issues with them. Moreover, they have been added to Debian Stretch builds of gcc-6 so chances are they have quite thoroughly tested them as well.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-27 23:30:31 UTC
Do you know if they appeared in gcc-6.5.0? I'd prefer to avoid carrying invasive patches downstream if possible.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-01-27 21:02:17 UTC
Let's drop it in favour of gcc-7 (stable everywhere).