diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-04-18 21:54:12 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-04-18 23:26:53 -0400 |
commit | d35b84e61b8b7388978aea1a38dea24489d13d47 (patch) | |
tree | 33ad416476bbc20db5b3b4085add8bd509042cab /dev-util/mingw64-toolchain/files | |
parent | games-arcade/commandergenius: fix build w/ gcc 13 (diff) | |
download | gentoo-d35b84e61b8b7388978aea1a38dea24489d13d47.tar.gz gentoo-d35b84e61b8b7388978aea1a38dea24489d13d47.tar.bz2 gentoo-d35b84e61b8b7388978aea1a38dea24489d13d47.zip |
dev-util/mingw64-toolchain: add 10.0.0_p3 (unkeyworded w/ gcc13)
Also includes a binutils-2.40 backport needed for dxvk.
Will likely keyword in _p4 whenever 13 is released (non-snapshot).
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-util/mingw64-toolchain/files')
-rw-r--r-- | dev-util/mingw64-toolchain/files/binutils-2.40-import-lib.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-util/mingw64-toolchain/files/binutils-2.40-import-lib.patch b/dev-util/mingw64-toolchain/files/binutils-2.40-import-lib.patch new file mode 100644 index 000000000000..844fdf93020d --- /dev/null +++ b/dev-util/mingw64-toolchain/files/binutils-2.40-import-lib.patch @@ -0,0 +1,30 @@ +Fixes building app-emulation/dxvk: + + FAILED: src/d3d10/d3d10.dll + x86_64-w64-mingw32-g++ -m32 -mfpmath=sse -o src/d3d10/d3d10.dll <snip> + ld: internal error: aborting at ldlang.c:527 in compare_section + ld: please report this bug + +https://sourceware.org/PR30079 +https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=b7eab2a9d4f4e92692daf14b09fc95ca11b72e30 +From: Michael Matz <matz@suse.de> +Date: Thu, 9 Feb 2023 15:29:00 +0100 +Subject: [PATCH] Fix PR30079: abort on mingw + +the early-out in wild_sort is not enough, it might still be +that filenames are equal _and_ the wildcard list doesn't specify +a sort order either. Don't call compare_section then. + +Tested on all targets. +--- a/binutils/ld/ldlang.c ++++ b/binutils/ld/ldlang.c +@@ -649,7 +649,8 @@ wild_sort (lang_wild_statement_type *wild, + looking at the sections for this file. */ + + /* Find the correct node to append this section. */ +- if (compare_section (sec->spec.sorted, section, (*tree)->section) < 0) ++ if (sec && sec->spec.sorted != none && sec->spec.sorted != by_none ++ && compare_section (sec->spec.sorted, section, (*tree)->section) < 0) + tree = &((*tree)->left); + else + tree = &((*tree)->right); |