https://bugs.winehq.org/show_bug.cgi?id=52607
Bug ID: 52607 Summary: build on Cygwin fails, error: undefined references to _alldiv, _allmul, _allrem, _aulldiv, _aullrem (etc.) in dlls/ntdll Product: Wine Version: 7.3 Hardware: x86-64 OS: Windows Status: UNCONFIRMED Severity: blocker Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: saulius2@gmail.com
(This is continuation from the bug 52606)
After faking msxml3.dll, make then fails in dlls/ntdll:
--- snip --- tools/winegcc/winegcc.exe -o dlls/ntdll/ntdll.dll --wine-objdir . -Wl,--disable-stdcall-fixup \ -fasynchronous-unwind-tables -shared dlls/ntdll/ntdll.spec -nodefaultlibs \ -Wl,--image-base,0x7bc00000 -mno-cygwin dlls/ntdll/actctx.o dlls/ntdll/atom.o dlls/ntdll/crypt.o \ dlls/ntdll/debugbuffer.o dlls/ntdll/env.o dlls/ntdll/error.o dlls/ntdll/exception.o \ dlls/ntdll/handletable.o dlls/ntdll/heap.o dlls/ntdll/large_int.o dlls/ntdll/loader.o \ dlls/ntdll/locale.o dlls/ntdll/math.o dlls/ntdll/misc.o dlls/ntdll/path.o dlls/ntdll/printf.o \ dlls/ntdll/process.o dlls/ntdll/reg.o dlls/ntdll/relay.o dlls/ntdll/resource.o dlls/ntdll/rtl.o \ dlls/ntdll/rtlbitmap.o dlls/ntdll/rtlstr.o dlls/ntdll/sec.o dlls/ntdll/signal_arm.o \ dlls/ntdll/signal_arm64.o dlls/ntdll/signal_i386.o dlls/ntdll/signal_x86_64.o dlls/ntdll/string.o \ dlls/ntdll/sync.o dlls/ntdll/thread.o dlls/ntdll/threadpool.o dlls/ntdll/time.o \ dlls/ntdll/version.o dlls/ntdll/wcstring.o dlls/ntdll/version.res dlls/winecrt0/libwinecrt0.a \
/usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: ntdll.dll-621e0b58.spec.o:fake:(.edata+0x1270): undefined reference to `_alldiv' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: ntdll.dll-621e0b58.spec.o:fake:(.edata+0x1278): undefined reference to `_allmul' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: ntdll.dll-621e0b58.spec.o:fake:(.edata+0x1280): undefined reference to `_allrem' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: ntdll.dll-621e0b58.spec.o:fake:(.edata+0x1290): undefined reference to `_aulldiv' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: ntdll.dll-621e0b58.spec.o:fake:(.edata+0x1298): undefined reference to `_aullrem' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/ntdll/large_int.o:/home/saukrs/src/wine/dlls/ntdll/large_int.c:23: undefined reference to `_allrem' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/ntdll/large_int.o:/home/saukrs/src/wine/dlls/ntdll/large_int.c:30: undefined reference to `_alldiv' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/ntdll/large_int.o:/home/saukrs/src/wine/dlls/ntdll/large_int.c:55: undefined reference to `_aullrem' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/ntdll/large_int.o:/home/saukrs/src/wine/dlls/ntdll/large_int.c:62: undefined reference to `_aulldiv' collect2: error: ld returned 1 exit status winegcc: /usr/bin/gcc.exe failed make: *** [Makefile:92389: dlls/ntdll/ntdll.dll] Error 2 --- snip ---