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: d3cfda14fb63
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 6d531f354155
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 7, 2018

  1. make-derivation: enable pie hardening with musl

    Fixes #49071
    
    On ld.gold, we produce broken executables when linking with the Musl
    libc. This appears to be a known bug when using ld.gold and Musl. This
    thread describes the workaround as enabling PIE when using ld.gold and
    Musl:
    
    https://www.openwall.com/lists/musl/2015/05/01/5
    
    By default we don’t enable PIE to avoid breaking things. But in the
    Musl case we are breaking things by not enabling PIE. So this adds a
    special case for defaultHardeningFlags which keeps the pie hardening
    for everything. Any packages that break with PIE can add the pie flag
    to disableHardeningFlags array (a no-op for now on anything but Musl).
    matthewbauer authored and globin committed Nov 7, 2018
    Copy the full SHA
    6d531f3 View commit details
    Browse the repository at this point in the history