[M3devel] 64-bit integer literals (v5.8.6, NT386)
Daniel Alejandro Benavides D.
dabenavidesd at yahoo.es
Sat Oct 17 23:20:58 CEST 2015
Hello all:I could compile the bootstrap compiler, just adding to
Root:\cm3\bin\config\NT386.commonLine 212
SYSTEM_LIBS{"LIBC"} += [LibIn("vcruntime")]
SYSTEM_LIBS{"LIBC"} += [LibIn("ucrt")]
The only trouble is it gets stuck with the last shipping in cm3/
+++ c:\cm3\bin\cm3.exe -ship -DROOT=C:/Users/User/Downloads/cm3-master +++
--- shipping from NT386 ---
. => c:/cm3/pkg/cm3/NT386
.M3EXPORTS
. => c:/cm3/bin
cm3.pdb
. => c:/cm3/pkg/cm3/NT386
.M3WEB
../NT386 => c:/cm3/pkg/cm3/NT386
cm3unix.c Version.i3
../src => c:/cm3/pkg/cm3/src
Arg.i3 Arg.m3 M3Backend.i3 M3Backend.m3
UtilsWin32.m3 Builder.m3 Builder.i3 Dirs.i3
Dirs.m3 M3Build.m3 M3Build.i3 M3Loc.m3
M3Loc.i3 M3Options.m3 M3Options.i3 M3Unit.i3
M3Unit.m3 Makefile.i3 Makefile.m3 Msg.i3
Msg.m3 Utils.m3 Utils.i3 WebFile.i3
WebFile.m3 Main.m3
../src/llvmdummy => c:/cm3/pkg/cm3/src/llvmdummy
LLGen.m3 LLGen.i3
. => c:/cm3/bin
cm3.exe "C:\Users\User\Downloads\cm3-master\m3-sys\cm3\NT386\.M3SHIP",
line 38: quake runtime error: unable to copy "cm3.exe" to "c:\cm3\bin\cm3.exe":
ErrorCode=32: El proceso no tiene acceso al archivo porque estß siendo utilizad
o por otro proceso.
--procedure-- -line- -file---
install_file -- <builtin>
38 C:\Users\User\Downloads\cm3-master\m3-sys\cm3\NT386\.M3SH
IP
Fatal Error: package build failed
*** execution of [<function _BuildGlobalFunction at 0x02370470>, <function _Shi
pFunction at 0x023704B0>] failed ***
Nevertheless, the easiness of the config file and your input are all we need to compile it.
Thanks for the good work Jay and all
El Sábado 17 de octubre de 2015 11:08, Daniel Alejandro Benavides D. <dabenavidesd at yahoo.es> escribió:
Hello all:I tried myself upgrade.cmd and .py
+++ c:\cm3\bin\cm3.exe -build -DROOT=C:/Users/User/Downloads/cm3-master +++
--- building in NT386 ---
ignoring ..\src\m3overrides
new source -> compiling EnvUtils.i3
new source -> compiling EnvUtils.m3
new source -> compiling FingerprintFmt.i3
new source -> compiling TextUtils.i3
new source -> compiling FingerprintFmt.m3
new source -> compiling FSUtils.i3
new source -> compiling PathRepr.i3
new source -> compiling SMsg.i3
new source -> compiling FSUtils.m3
new source -> compiling MsgIF.i3
new source -> compiling ProcessEnv.i3
new source -> compiling System.i3
new source -> compiling SMsg.m3
new source -> compiling MsgIF.m3
new source -> compiling MsgX.i3
new source -> compiling MsgX.m3
new source -> compiling ProcessEnv.m3
new source -> compiling OSSpecials.i3
new source -> compiling TextReadingUtils.i3
new source -> compiling System.m3
new source -> compiling PathReprCommon.m3
new source -> compiling TextReadingUtils.m3
new source -> compiling FastLex.i3
new source -> compiling FastLex.m3
new source -> compiling Confirmation.i3
new source -> compiling Confirmation.m3
new source -> compiling DirStack.i3
new source -> compiling DirStack.m3
new source -> compiling ConnectRdWr.i3
new source -> compiling ConnectRdWr.m3
new source -> compiling TextTextSeqTbl.i3
new source -> compiling TextTextSeqTbl.m3
new source -> compiling OSSpecialsWin32.m3
new source -> compiling PathReprWin32.m3
new source -> compiling SystemWin32.m3
new source -> compiling FSysWin32.m3
new source -> compiling TextUtils.m3
new source -> compiling SystemC.c
new source -> compiling FSUnixC.c
new exporters -> recompiling FSUtils.i3
new exporters -> recompiling System.i3
new exporters -> recompiling PathRepr.i3
new exporters -> recompiling OSSpecials.i3
-> archiving sysutils.lib
"c:\cm3\bin/config\NT386.common", line 696: quake runtime error: dynamic link li
brary creation failed, see C:\Users\User\Downloads\cm3-master\m3-libs\sysutils\N
T386\sysutils.lst for more information
--procedure-- -line- -file---
error -- <builtin>
make_lib 696 c:\cm3\bin/config\NT386.common
Library -- <builtin>
include_dir 105 C:\Users\User\Downloads\cm3-master\m3-libs\sysutils\src\m
3makefile
5 C:\Users\User\Downloads\cm3-master\m3-libs\sysutils\NT386
\m3make.args
Fatal Error: procedure "make_lib" defined in "c:\cm3\bin\cm3.cfg" failed.
*** execution of [<function _BuildGlobalFunction at 0x022653B0>, <function _Shi
pFunction at 0x022653F0>] failed ***
C:\Users\User\Downloads\cm3-master\scripts\python>
but got in an error in both cases:
c:\cm3\pkg\m3core\NT386\m3core.lib
winspool.lib
comctl32.lib
wsock32.lib
comdlg32.lib
netapi32.lib
gdi32.lib
user32.lib
advapi32.lib
kernel32.lib
msvcrt.lib
c:\cm3\bin\..\lib\hand.obj
Creating library sysutils.lib and object sysutils.exp
LINK : warning LNK4199: /DELAYLOAD:advapi32.dll ignored; no imports found from advapi32.dll
LINK : warning LNK4199: /DELAYLOAD:gdi32.dll ignored; no imports found from gdi32.dll
LINK : warning LNK4199: /DELAYLOAD:netapi32.dll ignored; no imports found from netapi32.dll
LINK : warning LNK4199: /DELAYLOAD:user32.dll ignored; no imports found from user32.dll
LINK : warning LNK4199: /DELAYLOAD:comctl32.dll ignored; no imports found from comctl32.dll
SystemC.obj : error LNK2019: unresolved external symbol __imp___errno referenced in function _System__GetErrno
TextUtils.mo : error LNK2001: unresolved external symbol __setjmp
msvcrt.lib(_setjmp.obj) : error LNK2001: unresolved external symbol __setjmp
Confirmation.mo : error LNK2001: unresolved external symbol __setjmp
DirStack.mo : error LNK2001: unresolved external symbol __setjmp
ConnectRdWr.mo : error LNK2001: unresolved external symbol __setjmp
FSysWin32.mo : error LNK2001: unresolved external symbol __setjmp
System.mo : error LNK2001: unresolved external symbol __setjmp
PathReprCommon.mo : error LNK2001: unresolved external symbol __setjmp
TextReadingUtils.mo : error LNK2001: unresolved external symbol __setjmp
FastLex.mo : error LNK2001: unresolved external symbol __setjmp
EnvUtils.mo : error LNK2001: unresolved external symbol __setjmp
FSUtils.mo : error LNK2001: unresolved external symbol __setjmp
SMsg.mo : error LNK2001: unresolved external symbol __setjmp
MsgIF.mo : error LNK2001: unresolved external symbol __setjmp
FSUnixC.obj : error LNK2019: unresolved external symbol __imp___access referenced in function _FSUtils__access
msvcrt.lib(_setjmp.obj) : error LNK2001: unresolved external symbol ___intrinsic_setjmp
msvcrt.lib(dll_dllmain.obj) : error LNK2019: unresolved external symbol __initterm referenced in function "int __cdecl dllmain_crt_process_attach(struct HINSTANCE__ * const,void * const)" (?dllmain_crt_process_attach@@YAHQAUHINSTANCE__@@QAX at Z)
msvcrt.lib(dll_dllmain.obj) : error LNK2019: unresolved external symbol __initterm_e referenced in function "int __cdecl dllmain_crt_process_attach(struct HINSTANCE__ * const,void * const)" (?dllmain_crt_process_attach@@YAHQAUHINSTANCE__@@QAX at Z)
msvcrt.lib(dll_dllmain.obj) : error LNK2019: unresolved external symbol ___telemetry_main_invoke_trigger referenced in function "int __cdecl dllmain_dispatch(struct HINSTANCE__ * const,unsigned long,void * const)" (?dllmain_dispatch@@YAHQAUHINSTANCE__@@KQAX at Z)
msvcrt.lib(dll_dllmain.obj) : error LNK2019: unresolved external symbol ___telemetry_main_return_trigger referenced in function "int __cdecl dllmain_dispatch(struct HINSTANCE__ * const,unsigned long,void * const)" (?dllmain_dispatch@@YAHQAUHINSTANCE__@@KQAX at Z)
msvcrt.lib(utility.obj) : error LNK2019: unresolved external symbol __seh_filter_dll referenced in function ___scrt_dllmain_exception_filter
msvcrt.lib(utility.obj) : error LNK2019: unresolved external symbol __initialize_narrow_environment referenced in function ___scrt_dllmain_after_initialize_c
msvcrt.lib(utility.obj) : error LNK2019: unresolved external symbol __initialize_onexit_table referenced in function ___scrt_initialize_onexit_tables
msvcrt.lib(utility.obj) : error LNK2019: unresolved external symbol __register_onexit_function referenced in function __onexit
msvcrt.lib(utility.obj) : error LNK2019: unresolved external symbol __execute_onexit_table referenced in function ___scrt_dllmain_uninitialize_c
msvcrt.lib(utility.obj) : error LNK2019: unresolved external symbol __crt_atexit referenced in function __onexit
msvcrt.lib(utility.obj) : error LNK2019: unresolved external symbol __crt_at_quick_exit referenced in function _at_quick_exit
msvcrt.lib(utility.obj) : error LNK2019: unresolved external symbol __cexit referenced in function ___scrt_dllmain_uninitialize_c
msvcrt.lib(tncleanup.obj) : error LNK2019: unresolved external symbol ___std_type_info_destroy_list referenced in function "void __cdecl __scrt_uninitialize_type_info(void)" (?__scrt_uninitialize_type_info@@YAXXZ)
msvcrt.lib(utility_desktop.obj) : error LNK2019: unresolved external symbol _terminate referenced in function ___scrt_unhandled_exception_filter at 4
msvcrt.lib(utility_desktop.obj) : error LNK2019: unresolved external symbol _memset referenced in function ___scrt_fastfail
msvcrt.lib(_chandler4gs_.obj) : error LNK2019: unresolved external symbol __except_handler4_common referenced in function __except_handler4
sysutils.dll : fatal error LNK1120: 20 unresolved externals
If anybody knows how to solve this linker problems I would be delighted to report advances
El Sábado 17 de octubre de 2015 10:00, JC Chu <jcchu at acm.org> escribió:
I will look into it some other time.
— JC Chu
_______________________________________________
M3devel mailing list
M3devel at elegosoft.com
https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel
_______________________________________________
M3devel mailing list
M3devel at elegosoft.com
https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20151017/8f5aeb6c/attachment-0002.html>
More information about the M3devel
mailing list