Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 230fe4ab40b4
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 1537dca7fc31
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on May 3, 2018

  1. 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
    nlewo committed May 3, 2018
    Configuration menu
    Copy the full SHA
    ada2fc0 View commit details
    Browse the repository at this point in the history
  2. gcc49: remove darwin support

    nlewo committed May 3, 2018
    Configuration menu
    Copy the full SHA
    5b6129f View commit details
    Browse the repository at this point in the history

Commits on May 4, 2018

  1. Merge pull request #39914 from nlewo/pr-retpoline

    gcc49: backport retpoline support
    Mic92 committed May 4, 2018
    Configuration menu
    Copy the full SHA
    1537dca View commit details
    Browse the repository at this point in the history