bitcoin/contrib/guix/patches
fanquake 7a0b129c41
guix: patch NSIS to remove .reloc sections from install stubs
With the release of binutils/ld 2.36, ld swapped to much improved
default settings when producing windows binaries with mingw-w64. One of
these changes was to stop stripping the .reloc section from binaries,
which is required for working ASLR.

.reloc section stripping is something we've accounted for previously,
see #18702. The related upstream discussion is in this thread:
https://sourceware.org/bugzilla/show_bug.cgi?id=19011.

When we switched to using a newer Guix time-machine in #23778, we begun
using binutils 2.37 to produce releases. Since then, our windows
installer (produced with makensis) has not functioned correctly when run on
a Windows system with the "Force randomization for images (Mandatory ASLR)"
option enabled. Note that all of our other release binaries, which all
contain .reloc sections, function fine under the same option, so it
cannot be just the presence of a .reloc section that is the issue.

For now, restore makensis to it's pre-binutils-2.36 behaviour, which
fixes the produced installer. The underlying issue can be further
investigated in future.
2022-08-05 18:15:12 +01:00
..
gcc-10-remap-guix-store.patch guix: patch gcc 10 with pthreads to remap guix store paths 2022-07-06 17:24:20 -04:00
gcc-broken-longjmp.patch guix: fix GCC 10.3.0 + mingw-w64 setjmp/longjmp issues 2022-04-13 13:10:03 +01:00
glibc-2.24-elfm-loadaddr-dynamic-rewrite.patch guix: add additional documentation to patches 2021-07-06 20:50:47 +08:00
glibc-2.24-fcommon.patch guix: use -fcommon when building glibc 2.24 2022-05-12 08:21:16 +01:00
glibc-2.24-guix-prefix.patch guix: Remove guix store paths from glibc 2022-06-28 14:19:33 +01:00
glibc-2.24-no-build-time-cxx-header-run.patch guix: add additional documentation to patches 2021-07-06 20:50:47 +08:00
glibc-2.27-dont-redefine-nss-database.patch guix: fix glibc 2.27 multiple definition warnings with GCC 10 2022-05-12 08:21:16 +01:00
glibc-2.27-guix-prefix.patch guix: Remove guix store paths from glibc 2022-06-28 14:19:33 +01:00
glibc-2.27-riscv64-Use-__has_include-to-include-asm-syscalls.h.patch guix: adjust RISC-V __has_include() patch to work with GCC 10 2022-05-12 08:21:15 +01:00
glibc-ldd-x86_64.patch guix: Rebase toolchain on glibc 2.24 (2.27 for riscv64) 2021-07-01 16:17:03 -04:00
glibc-versioned-locpath.patch guix: Rebase toolchain on glibc 2.24 (2.27 for riscv64) 2021-07-01 16:17:03 -04:00
lief-fix-ppc64-nx-default.patch guix: patch LIEF to fix PPC64 NX default 2022-06-25 10:04:10 +01:00
nsis-disable-installer-reloc.patch guix: patch NSIS to remove .reloc sections from install stubs 2022-08-05 18:15:12 +01:00
nsis-gcc-10-memmove.patch guix: use uptream nsis-x86_64 2022-01-05 10:32:24 +08:00
oscrypto-hard-code-openssl.patch guix: Package codesigning tools 2021-05-13 15:41:56 -04:00
vmov-alignment.patch guix: fix vmov alignment issues with gcc 10.3.0 & mingw-w64 2022-04-01 13:24:22 +01:00