nixpkgs-suyu/pkgs/development/tools/misc/binutils
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
..
always-search-rpath.patch binutils: Always search DT_RPATH 2017-12-29 17:32:28 -05:00
build-components-separately.patch bfd, opcodes: Init separate derivations for binutils libraries 2017-11-13 00:47:37 -05:00
default.nix Enable new dtags in a way that works with binutils 2.30. 2018-07-24 11:09:36 +03:00
deterministic.patch
disambiguate-arm-targets.patch binutils: disambiguate ARM targets 2017-11-19 03:36:53 +00:00
dtneeded.patch
gold-symbol-visibility.patch binutils: Revert apparently-broken multiple-definition support in gold. 2018-03-20 17:22:10 -04:00
no-plugins.patch
pt-pax-flags.patch
relax-R_AARCH64_ABS32-R_AARCH64_ABS16-absolute.patch binutils: apply patch on aarch64 to fix https://sourceware.org/bugzilla/show_bug.cgi?id=22764 2018-04-28 19:46:05 +01:00
support-ios.patch Add missing ios triples to bfd 2018-06-01 17:01:39 +01:00