Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#62524 - Consider building with -fno-jump-tables to reduce retpoline impact
Attached to Project:
Arch Linux
Opened by Kerin Millar (kerframil) - Wednesday, 01 May 2019, 22:52 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 02 May 2019, 20:01 GMT
Opened by Kerin Millar (kerframil) - Wednesday, 01 May 2019, 22:52 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 02 May 2019, 20:01 GMT
|
DetailsDescription:
Commit a9d57ef15cbe327fe54416dd194ee0ea66ae53a4 adds -fno-jump-tables as an option for gcc in the case that CONFIG_RETPOLINE is enabled. Doing so results in switch statements generally executing more quickly than they otherwise would. This behaviour is already a default in clang, and will become the default behaviour once gcc-8.4.0 lands. In the meantime, backporting this trivial patch would be beneficial. Additional info: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a9d57ef15cbe327fe54416dd194ee0ea66ae53a4 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952#c19 https://twitter.com/grsecurity/status/1112668594863853568 |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Thursday, 02 May 2019, 20:01 GMT
Reason for closing: Upstream
Additional comments about closing: Patch is included in upstream 5.0.11 and 4.19.38 kernels.
Thursday, 02 May 2019, 20:01 GMT
Reason for closing: Upstream
Additional comments about closing: Patch is included in upstream 5.0.11 and 4.19.38 kernels.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/queue-5.0/x86-retpolines-disable-switch-jump-tables-when-retpolines-are-enabled.patch?id=088b31d94dc530edbc78f28467046d5676079095
queued for 4.19.28
https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/queue-4.19/x86-retpolines-disable-switch-jump-tables-when-retpolines-are-enabled.patch?id=3c37b6bbc085c819f12a703a7b3e6b707e70dfb7