1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/tools/misc/binutils
Joe Hermaszewski b3640e024f binutils: patch to fix https://sourceware.org/bugzilla/show_bug.cgi?id=16177
This bug was preventing one compiling Haskell programs from `pkgsMusl` for
armv7.

`nix-build --argstr crossSystem "armv7l-linux" -A pkgsMusl.haskellPackages.hello`
succeeds with this patch.

The patch is Nick Clifton's one, rebased by @ericson2314 here
https://sourceware.org/bugzilla/show_bug.cgi?id=16177#c6

Although there was some talk about the efficacy of the binutils patch
(https://sourceware.org/bugzilla/show_bug.cgi?id=16177#c9) the resulting
binary seems to run without issue on the target platform. Jessica's
patch there caused ld to fail linking some programs. Nick's proposed
patch has worked well in my testing so far (a Haskell project of some
small complexity cross compiled with musl to armv7).
2020-11-28 20:19:05 +08:00
..
patches binutils: Add patches for 2.34 2020-11-09 22:32:12 -05:00
default.nix binutils: patch to fix https://sourceware.org/bugzilla/show_bug.cgi?id=16177 2020-11-28 20:19:05 +08:00
R_ARM_COPY.patch binutils: patch to fix https://sourceware.org/bugzilla/show_bug.cgi?id=16177 2020-11-28 20:19:05 +08:00
support-ios.patch