1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
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
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
nix
adapters.nix
booter.nix
common-path.nix
default.nix