nixpkgs/pkgs
Matthew Stewart 18f517fbd6 Enable new dtags in a way that works with binutils 2.30.
In 3027bca, binutils was upgraded from 2.28.1 to 2.30. However, in 2.30,
the ldmain.c file within binutils, which the nixpkgs new-dtags.patch
file is meant to modify, was changed in such a way that the patch no
longer works. As a result, the new dtags are not actually enabled, and
binaries are built with RPATH set instead of RUNPATH, thereby preventing
LD_LIBRARY_PATH from overriding this built-in path. This change corrects
this. The patch file is no longer necessary because binutils's ldmain.c
now sets link_info.new_dtags based on the configuration flags.

This was probably not noticed immediately because, when the derivation
is built with nix-build, the fixupPhase runs patchelf --shrink-rpath.
patchelf converts any RPATH in the binary into RUNPATH (unless
--force-rpath is specified).  Of course, if the binary is built without
nix-build (such as in a nix-shell), this never occurs, and any RPATH in
the binary is left in place.
2018-07-24 11:09:36 +03:00
..
applications parity-ui: fix after merge 2018-07-22 11:51:50 +02:00
build-support Merge master into staging 2018-07-22 11:14:41 +02:00
common-updater
data Merge staging-next into master 2018-07-22 11:04:28 +02:00
desktops Merge master into staging 2018-07-22 11:14:41 +02:00
development Enable new dtags in a way that works with binutils 2.30. 2018-07-24 11:09:36 +03:00
games Merge staging-next into master 2018-07-22 11:04:28 +02:00
misc Merge master into staging-next 2018-07-21 19:43:53 +02:00
os-specific Merge master into staging 2018-07-22 11:14:41 +02:00
servers Merge master into staging 2018-07-22 11:14:41 +02:00
shells Merge pull request #43912 from r-ryantm/auto-update/powershell 2018-07-22 08:44:38 +02:00
stdenv Merge pull request #44025 from obsidiansystems/stdenv-deps-typo 2018-07-23 16:09:21 -04:00
test tests: add some cross tests 2018-07-21 17:00:05 -04:00
tools parallel: 20180622 -> 20180722 2018-07-23 20:36:35 +02:00
top-level Merge master into staging 2018-07-22 11:14:41 +02:00