[Bug 52328] Cygwin compilation fails: undefined reference to `__chkstk_ms' in advapi32/tests/{security,service}.c
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Jan 3 11:37:11 CST 2022
https://bugs.winehq.org/show_bug.cgi?id=52328
--- Comment #3 from Saulius K. <saulius2 at gmail.com> ---
Umm, after I append `-lgcc` to cmd-line, the binary gets built:
--- 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 -lgcc
$ ls -l dlls/advapi32/tests/advapi32_test.exe
-rwxr-xr-x 1 saukrs None 1696330 Jan 3 19:27
dlls/advapi32/tests/advapi32_test.exe
--- snip ---
Setting component to "advapi32" as the best guess.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list