bitcoin/contrib/guix/patches
fanquake 457148a803
guix: fix GCC 10.3.0 + mingw-w64 setjmp/longjmp issues
This commit backports a patch to the GCC 10.3.0 we build for Windows
cross-compilation in Guix. The commit has been backported to the GCC
releases/gcc-10 branch, but hasn't yet made it into a release.

The patch corrects a regression from an earlier GCC commit, see:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=357c4350680bf29f0c7a115424e3da11c53b5582
and
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=074226d5aa86cd3de517014acfe34c7f69a2ccc7,
related to the way newer versions of mingw-w64 implement setjmp/longjmp.

Ultimately this was causing a crash for us when Windows users were
viewing the network traffic tab inside the GUI. After some period, long
enough that a buffer would need reallocating, a call into FreeTypes
gray_record_cell() would result in a call to ft_longjmp (longjmp), which
would then trigger a crash.

Fixes: https://github.com/bitcoin-core/gui/issues/582.

See also:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e8d1ca7d2c344a411779892616c423e157f4aea8.
https://bugreports.qt.io/browse/QTBUG-93476.
2022-04-13 13:10:03 +01:00
..
elfsteem-value-error-python-39.patch guix: use GCC 10 (over GCC 8) to build releases 2022-01-05 10:32:19 +08: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-no-build-time-cxx-header-run.patch guix: add additional documentation to patches 2021-07-06 20:50:47 +08:00
glibc-2.27-riscv64-Use-__has_include__-to-include-asm-syscalls.h.patch guix: add additional documentation to patches 2021-07-06 20:50:47 +08: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
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