nixpkgs/pkgs/stdenv
Samuel Dionne-Riel 76552e95cc
stdenv: Fix regression on ARM+static when enabling hardening (#115363)
4e9dc46dea re-enabled hardening for Musl,
which is good.

Though static builds for ARM fail in various ways

 - cross armv7l static does not build
 - cross aarch64 static produces segfaulting dynamically linked binaries
 - native aarch64 static also produces segfaulting dynamically linked binaries

It seems that for native x86_64-linux, static builds are fine though.

This works around the issue by removing PIE from the hardening flags,
keeping all other hardening flags. This is an improvement (I think) from
before 4e9dc46d.

Fixes #114953
2021-03-23 18:45:48 -04:00
..
cross llvmPackages: select version by targetPlatform 2021-01-11 11:10:53 +01:00
custom
cygwin
darwin darwin/make-bootstrap-tools: avoid brotli dependency 2021-03-18 12:30:16 -07:00
freebsd stdenv: Improve/fix FreeBSD support 2021-02-07 15:24:16 +00:00
generic stdenv: Fix regression on ARM+static when enabling hardening (#115363) 2021-03-23 18:45:48 -04:00
linux Merge pull request #111345 from r-burns/ppc64-big-endian 2021-01-30 16:26:06 -05:00
native stdenv/native: provide patchelf on linux 2020-08-25 17:54:27 -05:00
nix
adapters.nix treewide: stdenv.lib -> lib 2021-01-27 13:08:40 +07:00
booter.nix
common-path.nix
default.nix stdenv: add powerpc64-linux 2021-01-30 12:34:30 -08:00