Files
nixpkgs/pkgs/development/tools/misc
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
..
2018-01-06 17:25:15 +01:00
2018-02-03 22:48:20 +01:00
2018-04-12 23:03:59 +02:00
2018-03-23 01:26:11 +01:00
2018-07-08 03:31:40 -07:00
2018-02-05 20:29:26 -08:00
2018-07-14 23:54:21 -05:00
2018-05-10 11:42:14 -04:00
2018-03-29 11:28:29 +02:00
2018-07-21 02:48:59 -05:00
2018-06-19 14:26:52 -07:00
2018-06-29 17:18:27 -07:00
2018-03-16 14:01:31 +01:00
2018-04-19 16:36:28 -05:00
2018-07-05 18:35:28 -07:00
2018-04-18 00:38:48 +02:00
2018-06-28 07:57:19 -05:00
2018-04-25 12:53:37 -05:00
2018-06-06 11:15:36 +02:00
2018-03-24 22:04:25 -07:00
2018-03-24 22:04:25 -07:00
2018-03-09 04:55:03 -08:00
2018-02-19 00:41:28 +01:00
2018-04-06 12:25:15 +02:00
2018-06-27 22:12:57 +02:00
2018-07-07 16:26:09 -07:00
2018-07-05 12:37:41 +02:00
2018-06-26 17:04:40 -05:00
2018-05-21 09:18:37 +00:00
2018-01-14 02:41:04 +08:00
2018-07-01 13:33:22 +02:00