Re: [Mingw-w64-public] [PATCH 1/2] mingw-w64-crt: fix parallel build failures in dlltool calls

2022-09-22 Thread Sergei Trofimovich
On Thu, 22 Sep 2022 11:23:38 +0300 (EEST) Martin Storsjö wrote: > On Sun, 18 Sep 2022, Sergei Trofimovich wrote: > > > Before the change massively parallel builds failed when Makefile > > attempted to build both lib64/libd3dx9_38.a and lib32/libd3dx9_38.a: > > > >

[Mingw-w64-public] [PATCH 1/2] mingw-w64-crt: fix parallel build failures in dlltool calls

2022-09-21 Thread Sergei Trofimovich
Before the change massively parallel builds failed when Makefile attempted to build both lib64/libd3dx9_38.a and lib32/libd3dx9_38.a: x86_64-w64-mingw32-dlltool --as-flags=--64 -m i386:x86-64 ... \ --output-lib lib64/libd3dx9_38.a \ --temp-prefix $(basename lib64/libd3dx9_38.a .a)

[Mingw-w64-public] [PATCH 2/2] Makefile.am: add missing msvcr${V} dependency on msvcr${V}_extra

2022-09-21 Thread Sergei Trofimovich
Without the change build fails with missing dependency on _extra library similar to the following: cd lib32/ && x86_64-w64-mingw32-ar -M < /build/mingw-w64/mingw-w64-crt/lib32/msvcr71.mri x86_64-w64-mingw32-ar: libmsvcr71_extra.a: No such file or directory make[3]: *** [Makefile:78262

Re: [Mingw-w64-public] [PATCH] Fix dynamic tls section injection via '.CRT$XD*'

2012-10-09 Thread Sergei Trofimovich
provide ___crt_xd_start__ definitions... configure: error: link tests are not allowed after AC_NO_EXECUTABLES -- Sergei From 8b68b948dcc677020f9bc6c47b75b0ad1d40ef17 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 10 Oct 2012 00:12:29 +0300 Subject: [PATCH] crt: handle both

Re: [Mingw-w64-public] [PATCH] Fix dynamic tls section injection via '.CRT$XD*'

2012-10-09 Thread Sergei Trofimovich
provide ___crt_xd_start__ definitions... configure: error: link tests are not allowed after AC_NO_EXECUTABLES -- Sergei From 8b68b948dcc677020f9bc6c47b75b0ad1d40ef17 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 10 Oct 2012 00:12:29 +0300 Subject: [PATCH] crt: handle both

[Mingw-w64-public] [PATCH] Fix dynamic tls section injection via '.CRT$XD*'

2012-10-08 Thread Sergei Trofimovich
From: Sergei Trofimovich gcc is known to be too smart about __xd_a / _xd_z aliasing, thus the workarounds with uintptr exist. '_CRTALLOC(".CRT$XDA")' has no meaning for 'static' allocated variables thus code never worked as intended. The patch now relies on

[Mingw-w64-public] [PATCH] * scripttempl/pe.sc: add __crt_xd_start__ / __crt_xd_end__ and sort sections in-between

2012-10-08 Thread Sergei Trofimovich
From: Sergei Trofimovich Signed-off-by: Sergei Trofimovich --- ld/scripttempl/pe.sc | 4 ld/scripttempl/pep.sc | 4 2 files changed, 8 insertions(+) diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index bb05823..c2a3474 100644 --- a/ld/scripttempl/pe.sc +++ b/ld