FS#74718 - [mingw-w64-binutils] Building Wine fails with multiple makejobs
Attached to Project:
Community Packages
Opened by Stelios Tsampas (loathingkernel) - Thursday, 12 May 2022, 10:53 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Sunday, 05 June 2022, 15:15 GMT
Opened by Stelios Tsampas (loathingkernel) - Thursday, 12 May 2022, 10:53 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Sunday, 05 June 2022, 15:15 GMT
|
Details
Description:
Compiling wine with multiple makejobs fails due to a dlltool issue. The information and well as the patch are available below. https://sourceware.org/bugzilla/show_bug.cgi?id=28885 |
This task depends upon
Closed by Chih-Hsuan Yen (yan12125)
Sunday, 05 June 2022, 15:15 GMT
Reason for closing: Fixed
Additional comments about closing: mingw-w64-binutils 2.38-3
Sunday, 05 June 2022, 15:15 GMT
Reason for closing: Fixed
Additional comments about closing: mingw-w64-binutils 2.38-3
Edit:
The bug also occurs in the latest stable release of mingw-w64-gcc (11.2.0-1). One workaround for this is to downgrade mingw-w64-binutils as suggested below:
https://github.com/Frogging-Family/wine-tkg-git/issues/764
(+1 vote to get attention)
@@ -11,9 +11,11 @@
depends=('zlib')
options=('!libtool' '!emptydirs')
validpgpkeys=('3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F') # Nick Clifton (Chief Binutils Maintainer) <nickc@redhat.com>
-source=("https://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz"{,.sig})
+source=("https://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz"{,.sig}
+ "PR28885.patch")
sha512sums=('5160ff5c2a0ad41b880384216e21ada5328b51378e760c04269eb3b3626400d12abeeea72c14e18b52b969a0be94c8e5285c0b568bd5c82b7e69f68e0dfdc743'
- 'SKIP')
+ 'SKIP'
+ '175fbc02c15a1f3829bd970f10e5dd0b678fa3b7a95e6ae0b7e98f32992ac550d93038d3d94537425c89d8f0c2cfb5bc7d2ee0c6757db9f39618718576d124cc')
_targets="i686-w64-mingw32 x86_64-w64-mingw32"
@@ -21,6 +23,7 @@
cd "$srcdir"/binutils-${pkgver}
#do not install libiberty
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
+ patch -Np1 < ../PR28885.patch
}
build() {
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=99852365513266afdd793289813e8e565186c9e6
upd. sorry, I have no idea how text formatting works here.
Felix: could you consider backport the aforementioned patch?