raddebugger icon indicating copy to clipboard operation
raddebugger copied to clipboard

Bunch of radlink errors and crash

Open GloriousPtr opened this issue 4 months ago • 1 comments

I get similar errors while linking quite a few libraries

Error(023): incomplete write occurred, 2.99 KiB written, expected 7.11 KiB, file D:\perforce\<redacted>\<redacted>.lib

command used:

/DLL /NOLOGO /MACHINE:X64 /ignore:4099 /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:msvcrtd.lib /OPT:REF /OPT:ICF /DEBUG:FULL  
"<path_to_obj_0>.cpp.obj" 
"<path_to_obj_1>.cpp.obj" 
"<path_to_obj_2>.cpp.obj" 
/LIBPATH:"<lib_path_0>" 
/LIBPATH:"<lib_path_1>" 
/LIBPATH:"<lib_path_2>" 
/LIBPATH:"<lib_path_3>" 
/LIBPATH:"<lib_path_4>" 
<lib_file>.lib 
/OUT:"<path_output>.dll"

A warning that I got with one of the error was:

Warning(067): not enough space in COFF section header to store entire name ".qtversion"
Error(023): incomplete write occurred, 5.01 KiB written, expected 13.06 KiB, file <path>\QtWinMigrate.lib

GloriousPtr avatar Aug 15 '25 11:08 GloriousPtr

I build on top of master and tried again. Now getting a crash and different errors:

--- Fatal Exception --- A fatal exception (code 0xc0000005) occurred. The process is terminating. Create a new issue with this report at https://github.com/EpicGamesExt/raddebugger/issues. Call stack:

1. [0x7ff76d690b20] str8_list_push +32, base_strings.c line 983
2. [0x7ff76d65222c] lnk_serialize_pe_resource_tree +20108, lnk.c line 586
3. [0x7ff76d63f69f] lnk_make_res_obj +1055, lnk.c line 806
4. [0x7ff76d6189a6] lnk_build_link_context +14294, lnk.c line 2042
5. [0x7ff76d64ba16] lnk_run +198, lnk.c line 4752
6. [0x7ff76d6577ad] main_thread_base_entry_point +477, base_entry_point.c line 94
7. [0x7ff76d6962c7] w32_entry_point_caller +2839, os_core_win32.c line 1848
8. [0x7ff76d696a29] wmain +9, os_core_win32.c line 1854
9. [0x7ff76d697140] __scrt_common_main_seh +268, exe_common.inl line 288
10. [0x7ffd563ce8d7] KERNEL32
11. [0x7ffd575fc34c] ntdll

Version: 0.9.21 [36c626e3]

Error(026): qt6core.dll: symbol "__imp_?eventFilter@QObject@@UEAA_NPEAV1@PEAVQEvent@@@Z" (No. 0x7) is multiply defined in qt6core.dll (No. 0x5b)
Error(026): qt6widgets.dll: symbol "__imp_?event@QWidget@@MEAA_NPEAVQEvent@@@Z" (No. 0xae) is multiply defined in qt6widgets.dll (No. 0xb7)
Error(026): msvcp140.dll: symbol "__imp_??_D?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAXXZ" (No. 0x4) is multiply defined in msvcp140.dll (No. 0x7)
Error(026): api-ms-win-crt-heap-l1-1-0.dll: symbol "__imp_free" (No. 0x4) is multiply defined in api-ms-win-crt-heap-l1-1-0.dll (No. 0xd)
Error(026): vcruntime140.dll: symbol "__imp_memmove" (No. 0x1c) is multiply defined in vcruntime140.dll (No. 0x22)
Error(007): <redacted_path>.cpp.obj: symbol 0A00000A (No. 0xb) points to an out of bounds section 0x0
Error(026): api-ms-win-crt-heap-l1-1-0.dll: symbol "__imp_malloc" (No. 0xd) is multiply defined in api-ms-win-crt-heap-l1-1-0.dll (No. 0x10)
Error(026): api-ms-win-crt-heap-l1-1-0.dll: symbol "__imp_free" (No. 0x7) is multiply defined in api-ms-win-crt-heap-l1-1-0.dll (No. 0xd)
Error(026): api-ms-win-crt-runtime-l1-1-0.dll: symbol "__imp_terminate" (No. 0x4) is multiply defined in api-ms-win-crt-runtime-l1-1-0.dll (No. 0x4c)
Error(026): msvcp140.dll: symbol "__imp_??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAA@XZ" (No. 0x2d) is multiply defined in msvcp140.dll (No. 0x57)
Error(026): api-ms-win-crt-heap-l1-1-0.dll: symbol "__imp_free" (No. 0x4) is multiply defined in api-ms-win-crt-heap-l1-1-0.dll (No. 0xa)

GloriousPtr avatar Aug 15 '25 13:08 GloriousPtr