https://bugs.winehq.org/show_bug.cgi?id=52370
Bug ID: 52370 Summary: Cygwin compilation fails: undefined reference to `type_info_vector_dtor@8', `__thiscall_'* and lot of others Product: Wine Version: 7.0-rc5 Hardware: x86-64 OS: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env Assignee: wine-bugs@winehq.org Reporter: saulius2@gmail.com
(This is continuation from the bug 52338)
After faking dxgi.dll, opengl32.dll, wined3d.dll (by truncating the files), now make fails here:
--- snip --- $ make tools/winegcc/winegcc.exe -o dlls/crtdll/crtdll.dll --wine-objdir . -Wl,--disable-stdcall-fixup \ -fasynchronous-unwind-tables -shared dlls/crtdll/crtdll.spec -mno-cygwin dlls/crtdll/console.o \ dlls/crtdll/cpp.o dlls/crtdll/ctype.o dlls/crtdll/data.o dlls/crtdll/dir.o dlls/crtdll/environ.o \ dlls/crtdll/errno.o dlls/crtdll/except.o dlls/crtdll/except_arm.o dlls/crtdll/except_arm64.o \ dlls/crtdll/except_i386.o dlls/crtdll/except_x86_64.o dlls/crtdll/exit.o dlls/crtdll/file.o \ dlls/crtdll/heap.o dlls/crtdll/locale.o dlls/crtdll/lock.o dlls/crtdll/main.o dlls/crtdll/math.o \ dlls/crtdll/mbcs.o dlls/crtdll/misc.o dlls/crtdll/process.o dlls/crtdll/scanf.o \ dlls/crtdll/string.o dlls/crtdll/thread.o dlls/crtdll/time.o dlls/crtdll/undname.o \ dlls/crtdll/wcs.o dlls/advapi32/libadvapi32.delay.a dlls/user32/libuser32.delay.a \ dlls/ntdll/libntdll.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/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:17: undefined reference to `type_info_vector_dtor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:39: undefined reference to `exception_copy_ctor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:53: undefined reference to `exception_dtor@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:67: undefined reference to `exception_vector_dtor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:81: undefined reference to `exception_what@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:104: undefined reference to `exception_ctor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:118: undefined reference to `exception_ctor_noalloc@12' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:132: undefined reference to `exception_default_ctor@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:146: undefined reference to `exception_opequals@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:160: undefined reference to `exception_scalar_dtor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:174: undefined reference to `bad_typeid_copy_ctor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:188: undefined reference to `bad_typeid_ctor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:202: undefined reference to `bad_typeid_default_ctor@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:216: undefined reference to `bad_typeid_dtor@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:230: undefined reference to `bad_typeid_opequals@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:244: undefined reference to `bad_typeid_vector_dtor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:258: undefined reference to `bad_typeid_scalar_dtor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:272: undefined reference to `__non_rtti_object_copy_ctor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:286: undefined reference to `__non_rtti_object_ctor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:300: undefined reference to `__non_rtti_object_dtor@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:314: undefined reference to `__non_rtti_object_opequals@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:328: undefined reference to `__non_rtti_object_vector_dtor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:342: undefined reference to `__non_rtti_object_scalar_dtor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:356: undefined reference to `bad_cast_ctor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:370: undefined reference to `bad_cast_copy_ctor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:384: undefined reference to `bad_cast_ctor_charptr@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:398: undefined reference to `bad_cast_default_ctor@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:412: undefined reference to `bad_cast_dtor@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:426: undefined reference to `bad_cast_opequals@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:440: undefined reference to `bad_cast_vector_dtor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:454: undefined reference to `bad_cast_scalar_dtor@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:468: undefined reference to `type_info_opequals_equals@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:482: undefined reference to `type_info_opnot_equals@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:496: undefined reference to `type_info_before@8' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:510: undefined reference to `type_info_dtor@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:524: undefined reference to `type_info_name@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:/home/saukrs/src/wine/include/wine/debug.h:538: undefined reference to `type_info_raw_name@4' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.data+0x4): undefined reference to `__thiscall_type_info_vector_dtor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.data+0xc): undefined reference to `__thiscall_exception_vector_dtor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.data+0x10): undefined reference to `__thiscall_exception_what' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.data+0x18): undefined reference to `__thiscall_bad_typeid_vector_dtor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.data+0x1c): undefined reference to `__thiscall_exception_what' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.data+0x24): undefined reference to `__thiscall_bad_cast_vector_dtor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.data+0x28): undefined reference to `__thiscall_exception_what' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.data+0x30): undefined reference to `__thiscall___non_rtti_object_vector_dtor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.data+0x34): undefined reference to `__thiscall_exception_what' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.rdata+0x574): undefined reference to `__thiscall___non_rtti_object_dtor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.rdata+0x5a8): undefined reference to `__thiscall___non_rtti_object_copy_ctor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.rdata+0x5b0): undefined reference to `__thiscall_bad_cast_dtor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.rdata+0x5e4): undefined reference to `__thiscall_bad_cast_copy_ctor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.rdata+0x5ec): undefined reference to `__thiscall_bad_typeid_dtor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.rdata+0x620): undefined reference to `__thiscall_bad_typeid_copy_ctor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.rdata+0x628): undefined reference to `__thiscall_exception_dtor' /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: dlls/crtdll/cpp.o:cpp.c:(.rdata+0x7d8): undefined reference to `__thiscall_exception_copy_ctor' collect2: error: ld returned 1 exit status winegcc: /usr/bin/gcc.exe failed make: *** [Makefile:16118: dlls/crtdll/crtdll.dll] Error 2 --- snip ---
https://bugs.winehq.org/show_bug.cgi?id=52370
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker Priority|P2 |P4
--- Comment #1 from Saulius K. saulius2@gmail.com --- Similar errors are seen with other dlls:
dlls/concrt140/concrt140.dll dlls/crtdll/crtdll.dll dlls/msvcirt/msvcirt.dll dlls/msvcp100/msvcp100.dll dlls/msvcp110/msvcp110.dll dlls/msvcp120/msvcp120.dll dlls/msvcp140/msvcp140.dll dlls/msvcp140_1/msvcp140_1.dll dlls/msvcp60/msvcp60.dll dlls/msvcp70/msvcp70.dll dlls/msvcp71/msvcp71.dll dlls/msvcp80/msvcp80.dll dlls/msvcp90/msvcp90.dll dlls/msvcr100/msvcr100.dll dlls/msvcr110/msvcr110.dll dlls/msvcr120/msvcr120.dll dlls/msvcr70/msvcr70.dll dlls/msvcr71/msvcr71.dll dlls/msvcr80/msvcr80.dll dlls/msvcr90/msvcr90.dll dlls/msvcrt/msvcrt.dll dlls/msvcrtd/msvcrtd.dll dlls/riched20/riched20.dll dlls/ucrtbase/ucrtbase.dll dlls/vssapi/vssapi.dll dlls/windowscodecs/windowscodecs.dll