https://bugs.winehq.org/show_bug.cgi?id=47124
--- Comment #3 from Shmerl shtetldik@gmail.com --- This passed further:
./patchinstall.sh DESTDIR="$wine_src" eventfd_synchronization server-Desktop_Refcount
But it's still failing later like this:
../../tools/winegcc/winegcc -o ntdll.dll.so -B../../tools/winebuild -m64 -fPIC -fasynchronous-unwind-tables \ -shared /home/user/build/wine-git/source/dlls/ntdll/ntdll.spec -nodefaultlibs \ -Wl,--image-base,0x7bc00000 actctx.o atom.o cdrom.o critsection.o debugbuffer.o debugtools.o \ directory.o env.o error.o esync.o exception.o file.o handletable.o heap.o large_int.o loader.o \ loadorder.o misc.o nt.o om.o path.o printf.o process.o reg.o relay.o resource.o rtl.o rtlbitmap.o \ rtlstr.o sec.o serial.o server.o signal_arm.o signal_arm64.o signal_i386.o signal_powerpc.o \ signal_x86_64.o string.o sync.o tape.o thread.o threadpool.o time.o version.o virtual.o wcstring.o \ version.res ../../dlls/winecrt0/libwinecrt0.a ../../libs/port/libwine_port.a -lrt -lpthread \
/usr/bin/ld: thread.o: in function `RtlCreateUserThread': thread.c:(.text+0x1688): undefined reference to `__syscall_NtCreateThread' /usr/bin/ld: thread.c:(.text+0x181c): undefined reference to `__syscall_NtCreateThreadEx' collect2: error: ld returned 1 exit status winegcc: gcc failed make[1]: *** [Makefile:1626: ntdll.dll.so] Error 2