diff options
author | Koenig, Joerg <Joerg.Koenig@techsat.com> | 2021-09-23 13:31:20 (GMT) |
---|---|---|
committer | Koenig, Joerg <Joerg.Koenig@techsat.com> | 2021-09-23 13:31:20 (GMT) |
commit | f0a2d41da085d5027d135ecab27144b88994bcd8 (patch) | |
tree | 855c8cf87198afbc76155ae5535585835ce4609d | |
parent | f3742770581e2051feedcd1f9c83d6a13afcb916 (diff) | |
download | gcc-compiler-suite-f0a2d41da085d5027d135ecab27144b88994bcd8.zip gcc-compiler-suite-f0a2d41da085d5027d135ecab27144b88994bcd8.tar.gz gcc-compiler-suite-f0a2d41da085d5027d135ecab27144b88994bcd8.tar.bz2 |
Added Patch 0020 to compile binutils for mingwrefs/changes/69/16869/1
Change-Id: I90455414d1ebb651f3def8782c4e7cc62bac0d20
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch | 12 |
2 files changed, 14 insertions, 1 deletions
@@ -167,7 +167,8 @@ prepare: patch -p1 < $(PATCHES_DIR)/0010-Fix-using-large-PCH.gcc10.patch tar -zxf $(SOURCE_DIR)/gdb-$(VERSION_GDB).tar.gz -C $(UNPACK_DIR)/ cd $(UNPACK_DIR)/gdb-$(VERSION_GDB) && \ - patch -p1 < $(PATCHES_DIR)/0004-Windows-Use-not-in-progpath-and-leave-case-as-is.patch + patch -p1 < $(PATCHES_DIR)/0004-Windows-Use-not-in-progpath-and-leave-case-as-is.patch && \ + patch -p1 < $(PATCHES_DIR)/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch tar -jxf $(SOURCE_DIR)/binutils-$(VERSION_BINUTILS).tar.bz2 -C $(UNPACK_DIR)/ cd $(UNPACK_DIR)/binutils-$(VERSION_BINUTILS) && \ patch -p1 < $(PATCHES_DIR)/0004-Windows-Use-not-in-progpath-and-leave-case-as-is.patch diff --git a/PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch b/PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch new file mode 100644 index 0000000..cddf978 --- /dev/null +++ b/PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch @@ -0,0 +1,12 @@ +diff -ruNb binutils-2.37.orig/libiberty/rust-demangle.c binutils-2.37/libiberty/rust-demangle.c +--- binutils-2.37.orig/libiberty/rust-demangle.c 2021-07-15 16:19:46.000000000 +0200 ++++ binutils-2.37/libiberty/rust-demangle.c 2021-09-23 15:28:07.421338968 +0200 +@@ -78,7 +78,7 @@ + uint recursion; + /* Maximum number of times demangle_path may be called recursively. */ + #define RUST_MAX_RECURSION_COUNT 1024 +-#define RUST_NO_RECURSION_LIMIT ((uint) -1) ++#define RUST_NO_RECURSION_LIMIT ((unsigned int) -1) + + uint64_t bound_lifetime_depth; + }; |