Bug#1006725: Missing libgcc_s_dw2-1.dll in programs using zlib1.dll

2022-03-05 Thread Stephen Kitt
Control: reassign -1 libz-mingw-w64
Control: affects -1 wine

Hi Miguel,

On Thu, 3 Mar 2022 16:14:30 +0100, "Miguel A. Vallejo" 
wrote:
> Since Wine 6.0.2~repack-3 arrived Debian Unstable some Win32 programs
> have stopped working because of a missing libgcc_s_dw2-1.dll file. For
> example:

This isn’t a bug in Wine, but in libz-mingw-w64 which provides zlib1.dll;
previously the DLL didn’t have any dependency on GCC libraries, but the
current version does.

I’m reassigning accordingly.

Regards,

Stephen


pgpKrs4PcHO00.pgp
Description: OpenPGP digital signature


Bug#1006725: Missing libgcc_s_dw2-1.dll in programs using zlib1.dll

2022-03-03 Thread Miguel A. Vallejo
Package: wine
Version: 6.0.2~repack-3

Since Wine 6.0.2~repack-3 arrived Debian Unstable some Win32 programs
have stopped working because of a missing libgcc_s_dw2-1.dll file. For
example:

~$ wine SpaceEngine.exe
014c:err:module:import_dll Library libgcc_s_dw2-1.dll (which is needed
by L"Z:\\home\\eoz\\Programs\\SpaceEngine\\system\\zlib1.dll") not
found
014c:err:module:import_dll Loading library zlib1.dll (which is needed
by L"Z:\\home\\eoz\\Programs\\SpaceEngine\\system\\libtiff3.dll")
failed (error c07b).
014c:err:module:import_dll Library libtiff3.dll (which is needed by
L"Z:\\home\\eoz\\Programs\\SpaceEngine\\system\\SpaceEngine.exe") not
found
014c:err:module:LdrInitializeThunk Importing dlls for
L"Z:\\home\\eoz\\Programs\\SpaceEngine\\system\\SpaceEngine.exe"
failed, status c135

I've checked the file at ~/.wine/drive_c/windows/system32/zlib1.dll
and it depends on libgcc_s_dw2-1.dll, and this file depends on
libwinpthread-1.dll and... so multiple DLL files are missing.

I think some Wine DLLs have been compiled without MinGW's -static-libgcc flag.

Thanks in advance.