nixpkgs/pkgs/development
Antoine Eiche ada2fc088c gcc49: backport retpoline support
To mitigate Spectre Variant 2, GCC needs to have retpoline
support (-mindirect-branch and -mfunction-return arguments on amd64
and i386).

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

Several Linux distributions already backported these patches to GCC 4
branches and some old kernels (3.13 for instance) have been recompiled
with these GCC patches. These kernels only allow to load kernel
modules that are compiled with the retpoline support.

References:
- Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1749261
- Ubuntu package: https://launchpad.net/ubuntu/+source/gcc-4.8/4.8.4-2ubuntu1~14.04.4

Fixes #38394
2018-05-03 11:35:49 +02:00
..
arduino
beam-modules
bower-modules/generic
compilers gcc49: backport retpoline support 2018-05-03 11:35:49 +02:00
coq-modules Merge pull request #39469 from vbgl/coq-contribs-containers-8.8 2018-05-01 10:21:58 -05:00
dotnet-modules/patches
em-modules/generic
go-modules
guile-modules tree-wide: platforms = platforms.gnu; -> platforms = gnu ++ linux 2018-04-30 18:08:48 -05:00
haskell-modules haskell-brick: update override for ghc 8.4.x 2018-05-01 09:30:23 +02:00
idris-modules
interpreters duktape: 2.2.0 -> 2.2.1 2018-05-01 18:09:58 +02:00
java-modules
libraries libtorrent-rasterbar: 1.1.6 -> 1.1.7 2018-05-03 02:17:13 +02:00
lisp-modules
lua-modules
misc
mobile abootimg: init at 0.6 2018-04-23 14:09:41 +02:00
node-packages
ocaml-modules
perl-modules Merge branch 'master' into minc_ecosystem 2018-04-21 20:18:27 +01:00
pharo
pure-modules
python-modules rocket-errbot: fix hash 2018-05-02 22:06:08 +02:00
r-modules R: update CRAN and BIOC package sets 2018-04-24 09:19:38 +02:00
ruby-modules gem-config.grpc: disable format hardening 2018-04-26 00:15:24 +02:00
tools gllvm: 2018-04-28 -> 1.2.0 2018-05-02 19:32:12 -05:00
web insomnia: 5.16.0 -> 5.16.1 2018-05-03 00:58:46 +02:00