https://bugs.winehq.org/show_bug.cgi?id=44699
--- Comment #7 from Austin English austinenglish@gmail.com --- The Dockerfile doesn't work here (granted, it's 6 years old; I suspect that some git references weren't pinned, but didn't look much further).
i686-w64-mingw32-clang -DHAVE_CONFIG_H -I. -I.. -m32 -masm=att -D__LIBMSVCRT__ -I../include "-I/include" -pipe -std=gnu99 -D_CRTBLD -D_WIN32_WINNT=0x0f00 -D__MSVCRT_VERSION__=0x700 -D__USE_MINGW_ANSI_STDIO=0 -Wall -Wextra -Wformat -Wstrict-aliasing -Wshadow -Wpacked -Winline -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -g -O2 -MT misc/lib32_libcrtdll_extra_a-imaxabs.o -MD -MP -MF misc/.deps/lib32_libcrtdll_extra_a-imaxabs.Tpo -c -o misc/lib32_libcrtdll_extra_a-imaxabs.o `test -f 'misc/imaxabs.c' || echo '../'`misc/imaxabs.c ../misc/imaxabs.c:24:27: error: definition 'llabs' cannot also be an alias long long __attribute__ ((alias ("imaxabs"))) __cdecl llabs (long long); ^ ../misc/imaxabs.c:27:25: error: definition '_abs64' cannot also be an alias __int64 __attribute__ ((alias ("imaxabs"))) __cdecl _abs64 (__int64); ^ 2 errors generated. make[1]: *** [Makefile:28425: misc/lib32_libcrtdll_extra_a-imaxabs.o] Error 1 make[1]: Leaving directory '/build/mingw-w64/mingw-w64-crt/build-i686' make: *** [Makefile:13979: all] Error 2 The command '/bin/sh -c ./build-mingw-w64.sh $TOOLCHAIN_PREFIX $TOOLCHAIN_ARCHS' returned a non-zero code: 2
$ docker --version Docker version 20.10.25+dfsg1, build b82b9f3