Re: [Mingw-w64-public] [PATCH] Handle __CTOR_LIST__ for clang

2017-08-17 Thread Martin Storsjö
On Mon, 14 Aug 2017, Martell Malone wrote: Can you briefly summarize what change this does and why it's necessary, since the plain mingw patch as such seems to work already both with binutils ld and with lld? Is it in order to guarantee that the symbols in the mingw patch are sorted correctly s

Re: [Mingw-w64-public] [Project News|New Builds]

2017-08-17 Thread Liu Hao
On 2017/8/17 23:03, Adrien Nader wrote: Hi, On Tue, Aug 15, 2017, niXman wrote: niXman 2017-08-15 10:23: Adrien Nader 2017-08-15 10:16: Have you checked your emails, including the spam folder? Yes. ping? An issue in the host system configuration has been confirmed and identified. A fix ha

Re: [Mingw-w64-public] [Project News|New Builds]

2017-08-17 Thread Adrien Nader
Hi, On Tue, Aug 15, 2017, niXman wrote: > niXman 2017-08-15 10:23: > >>Adrien Nader 2017-08-15 10:16: > >>Have you checked your emails, including the spam folder? > >Yes. > > ping? An issue in the host system configuration has been confirmed and identified. A fix has been devised but not deploye

[Mingw-w64-public] [PATCH 14/27] crt: Unify dxgi.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{libarm32 => lib-common}/dxgi.def | 6 +-- mingw-w64-crt/lib64/dxgi.def| 51 - 2 files changed, 1 insertion(+), 56 deletions(-) rename mingw-w64-crt/{libarm32 => lib-common}/dxgi.def (92%) delete mode 1

[Mingw-w64-public] [PATCH 18/27] crt: Unify netapi32.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{lib64 => lib-common}/netapi32.def | 7 +- mingw-w64-crt/libarm32/netapi32.def | 310 --- 2 files changed, 2 insertions(+), 315 deletions(-) rename mingw-w64-crt/{lib64 => lib-common}/netapi32.def (98%) delete mo

[Mingw-w64-public] [PATCH 24/27] crt: Unify winmm.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Keeping all function definitions from both previous versions. Signed-off-by: Martin Storsjö --- mingw-w64-crt/{lib64 => lib-common}/winmm.def | 21 ++- mingw-w64-crt/libarm32/winmm.def | 200 -- 2 files changed, 14 insertions(+), 207 deletions(-) rename min

[Mingw-w64-public] [PATCH 27/27] crt: Merge lib32's msvcrt.def.in into lib-common

2017-08-17 Thread Martin Storsjö
Where in doubt, where there were non-obvious differences between the lib32 and lib64 versions, I've kept the definitions separate instead of trying to unify them too much. (This goes mostly for the *findfirst/*findnext functions.) Some math functions with a -f suffixed float version are available

[Mingw-w64-public] [PATCH 26/27] crt: Unify msvcrt.def.in for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Some math functions were marked DATA (to avoid linking to them, when libmingwex provides a replacement) in lib64. Keep that annotation only while targeting x86 platforms, for the math functions that we don't provide for arm (where we intend to link to msvcrt for them). Signed-off-by: Martin Storsj

[Mingw-w64-public] [PATCH 19/27] crt: Unify ole32.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Base the new one on the libarm32 one, which has got more/newer functions. Include functions that seem to be specific to 64 bit mode (*_UserFree64, *_UserMarshal64, *_UserSize64, *_UserUnmarshal64) only when building for win64. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am

[Mingw-w64-public] [PATCH 25/27] crt: Unify ws2_32.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Keep 64 bit specific functions (like WSCDeinstallProvider32) only when building for 64 bit mode. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 15 +- .../ws2_32.def => lib-common/ws2_32.def.in}| 23 ++- mingw-w64-crt/lib64/ws2_32.def

[Mingw-w64-public] [PATCH 23/27] crt: Unify user32.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 5 +- .../{lib64/user32.def => lib-common/user32.def.in} | 26 +- mingw-w64-crt/libarm32/user32.def | 969 - 3 files changed, 16 insertions(+), 984 deletions(-) rename m

[Mingw-w64-public] [PATCH 15/27] crt: Unify dxva2.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{lib64 => lib-common}/dxva2.def | 6 +--- mingw-w64-crt/libarm32/dxva2.def | 44 --- 2 files changed, 1 insertion(+), 49 deletions(-) rename mingw-w64-crt/{lib64 => lib-common}/dxva2.def (91%) delete mode 1006

[Mingw-w64-public] [PATCH 17/27] crt: Unify mfplat.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{libarm32 => lib-common}/mfplat.def | 18 ++- mingw-w64-crt/lib64/mfplat.def| 133 -- 2 files changed, 13 insertions(+), 138 deletions(-) rename mingw-w64-crt/{libarm32 => lib-common}/mfplat.def (95%) delet

[Mingw-w64-public] [PATCH 20/27] crt: Unify rpcrt4.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{lib64 => lib-common}/rpcrt4.def | 36 +- mingw-w64-crt/libarm32/rpcrt4.def | 534 - 2 files changed, 31 insertions(+), 539 deletions(-) rename mingw-w64-crt/{lib64 => lib-common}/rpcrt4.def (93%) delete mode

[Mingw-w64-public] [PATCH 10/27] crt: Unify cryptnet.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- .../{libarm32 => lib-common}/cryptnet.def | 7 ++ mingw-w64-crt/lib64/cryptnet.def | 27 -- 2 files changed, 2 insertions(+), 32 deletions(-) rename mingw-w64-crt/{libarm32 => lib-common}/cryptnet.def (84%) de

[Mingw-w64-public] [PATCH 01/27] crt: Include the def file in libwindowscodecs.a

2017-08-17 Thread Martin Storsjö
Previously, we didn't actually ever include the def file in this library. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 3 +++ mingw-w64-crt/lib32/Makefile.am| 1 - mingw-w64-crt/libarm32/Makefile.am | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git

[Mingw-w64-public] [PATCH 05/27] crt: Unify advpack.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{libarm32 => lib-common}/advpack.def | 10 +++--- mingw-w64-crt/lib64/advpack.def| 40 -- 2 files changed, 5 insertions(+), 45 deletions(-) rename mingw-w64-crt/{libarm32 => lib-common}/advpack.def (93%) del

[Mingw-w64-public] [PATCH 03/27] crt: Share a def file where lib64 has got a superset of the functions in libarm32

2017-08-17 Thread Martin Storsjö
Include the C++ function definitions only on x86_64, since they were only present in the lib64 def file. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 6 ++-- .../clbcatq.def => lib-common/clbcatq.def.in} | 34 ++--- mingw-w64-crt/li

[Mingw-w64-public] [PATCH 16/27] crt: Unify kernel32.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Keep functions from both versions that were missing on the other ones. Include *Ums* functions only for x86_64, based on annotations in kernel32.spec in wine. Keep manually commented out functions as they were. Include __chkstk on arm though. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Mak

[Mingw-w64-public] [PATCH 00/27] More sharing and unification of def files

2017-08-17 Thread Martin Storsjö
Hi, This is a patchset that unifies a decent amount of def files for commonly used DLLs; these (and the previously unified ones) should hopefully be enough for compiling many basic libraries/apps. All these def files are files that contained differences that had to be sorted out manually. A heade

[Mingw-w64-public] [PATCH 22/27] crt: Unify shell32.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Keeping all function definitions from both previous versions, since there's no clear indication that they would be architecture specific. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 4 +- mingw-w64-crt/{lib64 => lib-common}/shell32.def | 51 +- mingw-w6

[Mingw-w64-public] [PATCH 21/27] crt: Unify schannel.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{lib64 => lib-common}/schannel.def | 9 ++--- mingw-w64-crt/libarm32/schannel.def | 42 2 files changed, 3 insertions(+), 48 deletions(-) rename mingw-w64-crt/{lib64 => lib-common}/schannel.def (89%) delete m

[Mingw-w64-public] [PATCH 07/27] crt: Unify comctl32.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Keep functions from both. Signed-off-by: Martin Storsjö --- mingw-w64-crt/{lib64 => lib-common}/comctl32.def | 17 ++- mingw-w64-crt/libarm32/comctl32.def | 185 --- 2 files changed, 11 insertions(+), 191 deletions(-) rename mingw-w64-crt/{lib64 => lib-common}/

[Mingw-w64-public] [PATCH 09/27] crt: Unify cryptext.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- .../{libarm32 => lib-common}/cryptext.def | 7 ++-- mingw-w64-crt/lib64/cryptext.def | 40 -- 2 files changed, 2 insertions(+), 45 deletions(-) rename mingw-w64-crt/{libarm32 => lib-common}/cryptext.def (83%) dele

[Mingw-w64-public] [PATCH 11/27] crt: Unify cryptui.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{libarm32 => lib-common}/cryptui.def | 19 ++-- mingw-w64-crt/lib64/cryptui.def| 56 -- 2 files changed, 14 insertions(+), 61 deletions(-) rename mingw-w64-crt/{libarm32 => lib-common}/cryptui.def (81%)

[Mingw-w64-public] [PATCH 04/27] crt: Unify advapi32.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
All functions seem to be architecture independent except one. Keep MD5Update marked as DATA, as it was in lib64 before. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 4 +- .../advapi32.def => lib-common/advapi32.def.in}| 19 +- mingw-w64-crt/lib64

[Mingw-w64-public] [PATCH 08/27] crt: Unify crypt32.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{libarm32 => lib-common}/crypt32.def | 23 +- mingw-w64-crt/lib64/crypt32.def| 273 - 2 files changed, 6 insertions(+), 290 deletions(-) rename mingw-w64-crt/{libarm32 => lib-common}/crypt32.def (96%) delet

[Mingw-w64-public] [PATCH 12/27] crt: Unify dmutil.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{libarm32 => lib-common}/dmutil.def | 6 +--- mingw-w64-crt/lib64/dmutil.def| 37 --- 2 files changed, 1 insertion(+), 42 deletions(-) rename mingw-w64-crt/{libarm32 => lib-common}/dmutil.def (83%) delete m

[Mingw-w64-public] [PATCH 06/27] crt: Unify bcrypt.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Keep functions from both previous versions. Signed-off-by: Martin Storsjö --- mingw-w64-crt/{lib64 => lib-common}/bcrypt.def | 8 ++-- mingw-w64-crt/libarm32/bcrypt.def | 64 -- 2 files changed, 3 insertions(+), 69 deletions(-) rename mingw-w64-crt/{lib64 =

[Mingw-w64-public] [PATCH 13/27] crt: Unify duser.def for lib64 and libarm32

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/{libarm32 => lib-common}/duser.def | 12 ++- mingw-w64-crt/lib64/duser.def| 120 --- 2 files changed, 7 insertions(+), 125 deletions(-) rename mingw-w64-crt/{libarm32 => lib-common}/duser.def (95%) delete m

[Mingw-w64-public] [PATCH 02/27] crt: Add a framework for sharing def files with arch specific differences

2017-08-17 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 10 + mingw-w64-crt/def-include/func.def.in | 42 +++ 2 files changed, 52 insertions(+) create mode 100644 mingw-w64-crt/def-include/func.def.in diff --git a/mingw-w64-crt/Makefile.