https://bugs.winehq.org/show_bug.cgi?id=52328
Bug ID: 52328 Summary: Cygwin compilation fails: undefined reference to `__chkstk_ms' in advapi32/tests/{security,service}.c Product: Wine Version: 7.0-rc4 Hardware: x86-64 OS: Windows Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: saulius2@gmail.com
(This is continuation from the bug 52292)
Now make fails here:
--- snip --- tools/winegcc/winegcc.exe -o dlls/advapi32/tests/advapi32_test.exe --wine-objdir . -Wl,--disable-stdcall-fixup \ -fasynchronous-unwind-tables -mno-cygwin dlls/advapi32/tests/cred.o dlls/advapi32/tests/crypt.o \ dlls/advapi32/tests/crypt_lmhash.o dlls/advapi32/tests/crypt_md4.o dlls/advapi32/tests/crypt_md5.o \ dlls/advapi32/tests/crypt_sha.o dlls/advapi32/tests/eventlog.o dlls/advapi32/tests/lsa.o \ dlls/advapi32/tests/perf.o dlls/advapi32/tests/registry.o dlls/advapi32/tests/security.o \ dlls/advapi32/tests/service.o dlls/advapi32/tests/testlist.o dlls/advapi32/tests/rsrc.res \ dlls/ole32/libole32.a dlls/advapi32/libadvapi32.a dlls/winecrt0/libwinecrt0.a \ dlls/msvcrt/libmsvcrt.a dlls/kernel32/libkernel32.a dlls/ntdll/libntdll.a
/usr/lib/gcc/i686-pc-cygwin/7.4.0/../../../../i686-pc-cygwin/bin/ld: dlls/advapi32/tests/security.o: in function `test_security_descriptor': /home/saukrs/src/wine/dlls/advapi32/tests/security.c:2746: undefined reference to `__chkstk_ms' /usr/lib/gcc/i686-pc-cygwin/7.4.0/../../../../i686-pc-cygwin/bin/ld: dlls/advapi32/tests/security.o: in function `test_ConvertSecurityDescriptorToString': /home/saukrs/src/wine/dlls/advapi32/tests/security.c:4351: undefined reference to `__chkstk_ms' /usr/lib/gcc/i686-pc-cygwin/7.4.0/../../../../i686-pc-cygwin/bin/ld: dlls/advapi32/tests/service.o: in function `test_open_svc': /home/saukrs/src/wine/dlls/advapi32/tests/service.c:123: undefined reference to `__chkstk_ms' /usr/lib/gcc/i686-pc-cygwin/7.4.0/../../../../i686-pc-cygwin/bin/ld: dlls/advapi32/tests/service.o: in function `test_get_displayname': /home/saukrs/src/wine/dlls/advapi32/tests/service.c:439: undefined reference to `__chkstk_ms' /usr/lib/gcc/i686-pc-cygwin/7.4.0/../../../../i686-pc-cygwin/bin/ld: dlls/advapi32/tests/service.o: in function `test_get_servicekeyname': /home/saukrs/src/wine/dlls/advapi32/tests/service.c:724: undefined reference to `__chkstk_ms' collect2: error: ld returned 1 exit status winegcc: /usr/bin/gcc.exe failed make: *** [Makefile:3496: dlls/advapi32/tests/advapi32_test.exe] Error 2 --- snip ---