https://bugs.winehq.org/show_bug.cgi?id=52338
Bug ID: 52338 Summary: Cygwin compilation fails: undefined reference to `_imp____acrt_iob_func' in winecrt0/debug.c Product: Wine Version: 7.0-rc4 Hardware: x86-64 OS: Windows Status: UNCONFIRMED Severity: blocker Priority: P2 Component: build-env Assignee: wine-bugs@winehq.org Reporter: saulius2@gmail.com
(This is continuation from the bug 52328)
--- snip --- tools/winegcc/winegcc.exe -o dlls/dxgi/dxgi.dll --wine-objdir . -Wl,--disable-stdcall-fixup \ -fasynchronous-unwind-tables -shared dlls/dxgi/dxgi.spec -mcygwin dlls/dxgi/adapter.o \ dlls/dxgi/device.o dlls/dxgi/dxgi_main.o dlls/dxgi/factory.o dlls/dxgi/output.o \ dlls/dxgi/surface.o dlls/dxgi/swapchain.o dlls/dxgi/utils.o dlls/dxgi/version.res \ dlls/gdi32/libgdi32.a libs/dxguid/libdxguid.a libs/uuid/libuuid.a dlls/wined3d/libwined3d.a \ dlls/user32/libuser32.a dlls/win32u/libwin32u.a dlls/winecrt0/libwinecrt0.a \ dlls/kernel32/libkernel32.a dlls/ntdll/libntdll.a /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/winecrt0/libwinecrt0.a(debug.o): in function `fallback__wine_dbg_output': /home/saukrs/src/wine/dlls/winecrt0/debug.c:178: undefined reference to `_imp____acrt_iob_func' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/winecrt0/libwinecrt0.a(debug.o): in function `fallback__wine_dbg_header': /home/saukrs/src/wine/dlls/winecrt0/debug.c:203: undefined reference to `_imp____acrt_iob_func' collect2: error: ld returned 1 exit status winegcc: /usr/bin/gcc.exe failed make: *** [Makefile:57380: dlls/dxgi/dxgi.dll] Error 2 --- snip ---