mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
elfutils: apply patch allowing R_386_TLS_DESC in shared libraries with elflint
Submitted a patch upstream that already got merged to main, so grab it now. Tests fail without it on i686-linux. [1]: https://patchwork.sourceware.org/project/elfutils/patch/20260512211127.4157383-1-sergei@zimmerman.foo/
This commit is contained in:
parent
c87a95cbd3
commit
851fd9401f
1 changed files with 5 additions and 0 deletions
|
|
@ -57,6 +57,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
url = "https://git.alpinelinux.org/aports/plain/main/elfutils/musl-strndupa.patch?id=2e3d4976eeffb4704cf83e2cc3306293b7c7b2e9";
|
||||
sha256 = "sha256-7daehJj1t0wPtQzTv+/Rpuqqs5Ng/EYnZzrcf2o/Lb0=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-i386_tlsdesc_relocation.patch";
|
||||
url = "https://sourceware.org/git/?p=elfutils.git;a=patch;h=bfd519cc58e190544a6785d3f0a27fcfaf7d8da3";
|
||||
hash = "sha256-N7DL2FG1AWLc+hcnxGMbUl5TuieoAc9OD6gc0sbsiGI=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isMusl [ ./musl-error_h.patch ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue